Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alternative: advance the image request queue when aborting #7642

Closed
wants to merge 1 commit into from

Conversation

ansis
Copy link
Contributor

@ansis ansis commented Nov 29, 2018

fix #7637

alternative to #7641

The fetch api triggers errors for aborted requests and that seems to not be causing problems so I think it should be safe to do that for xmlhttprequests.

Launch Checklist

  • briefly describe the changes in this PR
  • write tests for all new functionality
  • manually test the debug page

Copy link
Member

@mourner mourner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • The build fails because of both test failures and linting errors.
  • I'm not sure if we should throw an error on abort since technically it's not an error if it's expected. Maybe for consistency it's worth doing the other way around (suppressing errors on abort in fetch in advance image request queue when request aborted #7641).

@ansis ansis closed this Nov 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

raster tiles fail to load in safari
2 participants