WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
172163
document.open() should not invoke public window.open()
https://bugs.webkit.org/show_bug.cgi?id=172163
Summary
document.open() should not invoke public window.open()
Anne van Kesteren
Reported
2017-05-16 00:21:54 PDT
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
Comment 1
2017-05-16 08:37:29 PDT
Looks like we're aligned with Chrome but Firefox matches the spec.
Chris Dumez
Comment 2
2017-05-16 08:37:55 PDT
(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
Comment 3
2017-05-16 08:46:06 PDT
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
Comment 4
2022-08-10 03:17:51 PDT
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!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug