RESOLVED DUPLICATE of bug 153363157421
createDocument/createHTMLDocument should create a document with URL "about:blank", not ""
https://bugs.webkit.org/show_bug.cgi?id=157421
Summary createDocument/createHTMLDocument should create a document with URL "about:bl...
Domenic Denicola
Reported 2016-05-06 07:34:34 PDT
http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=4163 (and a similar version for createDocument) should log "about:blank" in the Log: section. Instead, in Safari 9, it logs "". This was a recent spec change, sort of. See https://github.com/whatwg/html/issues/1174. Browsers do not have interop here, but "about:blank" is the best thing to converge on. Web platform tests at - http://w3c-test.org/dom/nodes/DOMImplementation-createDocument.html - http://w3c-test.org/dom/nodes/DOMImplementation-createHTMLDocument.html
Attachments
Chris Dumez
Comment 1 2016-05-07 19:07:43 PDT
(In reply to comment #0) > http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=4163 (and a > similar version for createDocument) should log "about:blank" in the Log: > section. Instead, in Safari 9, it logs "". > > This was a recent spec change, sort of. See > https://github.com/whatwg/html/issues/1174. Browsers do not have interop > here, but "about:blank" is the best thing to converge on. > > Web platform tests at > > - http://w3c-test.org/dom/nodes/DOMImplementation-createDocument.html > - http://w3c-test.org/dom/nodes/DOMImplementation-createHTMLDocument.html @Domenic: This has definitely been fixed since Safari 9. I suggest testing Safari Technology Preview as we've significantly improved our pass rate of w3c web-platform-tests.
Chris Dumez
Comment 2 2016-05-07 19:08:25 PDT
*** This bug has been marked as a duplicate of bug 153363 ***
Domenic Denicola
Comment 3 2016-05-07 19:10:00 PDT
Ah, thank you! Maybe I should get my employer to buy me a Mac, instead of constantly testing on my personal iPad...
Note You need to log in before you can comment on or make changes to this bug.