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

Open
zcorpan opened this Issue Mar 17, 2015 · 0 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