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: DOMAssignee: 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)
Reported 2024-04-15 07:38:28 PDT
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
Radar WebKit Bug Importer
Comment 1 2024-04-22 08:53:44 PDT
Note You need to log in before you can comment on or make changes to this bug.