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

Defer aborting requests when settings src to a cached URL #264

Open
zcorpan opened this Issue Mar 17, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@zcorpan

zcorpan commented Mar 17, 2015

See #261 (comment)

A design goal of the "update the image data" algorithm is that it should not matter in which order a script does something (modulo Web compat). However, when setting src to a cached URL, the spec says to abort the current and pending requests. If the script then goes on to add a srcset attribute or insert the image to a picture, maybe the aborted pending request becomes the selected candidate. So it would be nice if we could avoid aborting it sync.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment