[Webkit-unassigned] [Bug 243131] New: document.write() with embedded <script> onload event show script dialog

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jul 23 03:22:28 PDT 2022


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

            Bug ID: 243131
           Summary: document.write() with embedded <script> onload event
                    show script dialog
           Product: WebKit
           Version: Safari 15
          Hardware: Mac (Apple Silicon)
                OS: macOS 12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: zlip.792 at gmail.com

Hi Team,

Another test case, which I found in Mozilla Bugzilla to see where for onload Safari behavior is different from other browsers:

*** STEPS TO REPRODUCE ***

1 - Load test URL - https://bug204497.bmoattachments.org/attachment.cgi?id=

>>>> ACTUAL RESULT:

Safari should onAlert dialog window with 777 in it and then after dismissing, it loads body with 'y' in it.

>>>> EXPECTED RESULT:

Firefox Nightly 104 and Chrome Canary 105 does not show 777 dialog window and just load body with 'y' in it.

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.

Thanks

-- 
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/d8892a60/attachment.htm>


More information about the webkit-unassigned mailing list