| Summary: | document.close, scripts in document.write, and later-defined onload event handlers | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | Page Loading | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | ap, beidson, bfulgham, cdumez, karlcow, rniwa, webkit-bug-importer |
| Priority: | P2 | Keywords: | BrowserCompat, InRadar |
| Version: | Safari 15 | ||
| Hardware: | Mac (Apple Silicon) | ||
| OS: | macOS 12 | ||
| URL: | https://bug204497.bmoattachments.org/attachment.cgi?id=267050 | ||
|
Description
Ahmad Saleem
2022-07-23 03:22:28 PDT
For some reason - test URL in Description / Comment 0 is broken, please use from URL field or below: Link - https://bug204497.bmoattachments.org/attachment.cgi?id=267050 (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. |