Bug 225043
| Summary: | img current request should be updated off a microtask | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Cameron McCormack (:heycam) <heycam> |
| Component: | Images | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Cameron McCormack (:heycam)
We currently do it immediately. Or at least, we expose through HTMLImageElement.currentSrc what the new current request's URL is immediately, but we should be doing this (and initiating the image load itself) off a microtask.
See https://html.spec.whatwg.org/#updating-the-image-data.
Submitted a WPT PR to test this: https://github.com/web-platform-tests/wpt/pull/28679
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/77443226>