Bug 272677
| Summary: | Navigating a lazy-loading iframe before it has loaded should cancel the lazy load | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Pieters (:zcorpan) <zcorpan> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | achristensen, cdumez, karlcow, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=271700 | ||
Simon Pieters (:zcorpan)
Some websites expect that navigating a lazy-loading iframe (e.g. with location.replace) will cancel the lazy-load. Chromium cancels the lazy-load in such cases, but Gecko and WebKit did not. I've proposed a spec fix to match Chromium.
Demo: https://software.hixie.ch/utilities/js/live-dom-viewer/saved/12473
Spec issue: https://github.com/whatwg/html/issues/10213
Spec PR: https://github.com/whatwg/html/pull/10226
Tests: https://github.com/web-platform-tests/wpt/pull/45650
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/126863588>