Bug 172163
| Summary: | document.open() should not invoke public window.open() | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Anne van Kesteren <annevk> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED CONFIGURATION CHANGED | ||
| Severity: | Normal | CC: | ahmad.saleem792, ap, bfulgham, cdumez, rniwa |
| Priority: | P2 | ||
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Anne van Kesteren
Test: https://w3c-test.org/html/dom/dynamic-markup-insertion/opening-the-input-stream/document.open-02.html.
Corresponding HTML standard clarification: https://github.com/whatwg/html/pull/2672.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Chris Dumez
Looks like we're aligned with Chrome but Firefox matches the spec.
Chris Dumez
(In reply to Chris Dumez from comment #1)
> Looks like we're aligned with Chrome but Firefox matches the spec.
Chrome bug: https://bugs.chromium.org/p/chromium/issues/detail?id=722737
Anne van Kesteren
To be fair, I think the HTML Standard was ambiguous since it didn't always use internal algorithms where it should. I'm trying to clean that up and we noticed this in the process.
Ahmad Saleem
Safari Technical Preview 150 passes all WPT test cases related to document.open:
https://wpt.fyi/results/html/webappapis/dynamic-markup-insertion/opening-the-input-stream?label=master&label=experimental&aligned&view=subtest&q=document.open
I am going to mark this as "RESOLVED CONFIGURATION CHANGED". Please reopen, if I am not correct. Thanks!