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

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

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

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

zcorpan opened this issue Mar 17, 2015 · 0 comments

Comments

@zcorpan
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant