[Webkit-unassigned] [Bug 243131] document.close, scripts in document.write, and later-defined onload event handlers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jul 23 08:53:13 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=243131

Sam Sneddon [:gsnedders] <gsnedders at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |beidson at apple.com
          Component|DOM                         |Page Loading
            Summary|document.write() with       |document.close, scripts in
                   |embedded <script> onload    |document.write, and
                   |event show script dialog    |later-defined onload event
                   |                            |handlers

--- Comment #2 from Sam Sneddon [:gsnedders] <gsnedders at apple.com> ---
(In reply to Ahmad Saleem from comment #0)
> As per Mozilla bug report - it should show 'Alert' window but I am not sure
> on the web-specs here but since Safari behavior is different (whether
> aligned with web-spec or not), I just wanted to raise this bug report.

Pretty sure Firefox and Chrome are right v. HTML today.

That said, I suspect this is more about when HTML says to spin the event loop and when document.close stops parsing than anything else.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220723/fe09b655/attachment-0001.htm>


More information about the webkit-unassigned mailing list