Bug 252754

Summary: Lazily loaded frames should still get a contentWindow/contentDocument as soon as they get inserted into the document
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebCore Misc.Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=252636
https://bugs.webkit.org/show_bug.cgi?id=258361

Chris Dumez
Reported 2023-02-22 09:03:30 PST
Lazily loaded frames should still get a contentWindow/contentDocument as soon as they get inserted into the document. Currently, we return null for these until the iframe moves to the viewport and gets loaded. This behavior is inconsistent with Chrome and recently caused breakage on https://www.kongregate.com (Bug 252636).
Attachments
Chris Dumez
Comment 1 2023-02-22 09:05:56 PST
EWS
Comment 2 2023-02-22 16:47:08 PST
Committed 260713@main (96e0c1e9f533): <https://commits.webkit.org/260713@main> Reviewed commits have been landed. Closing PR #10521 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2023-02-22 16:48:43 PST
Note You need to log in before you can comment on or make changes to this bug.