Bug 157421
| Summary: | createDocument/createHTMLDocument should create a document with URL "about:blank", not "" | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Domenic Denicola <d> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Minor | CC: | cdumez |
| Priority: | P2 | ||
| Version: | Safari 9 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Domenic Denicola
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Chris Dumez
(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
*** This bug has been marked as a duplicate of bug 153363 ***
Domenic Denicola
Ah, thank you! Maybe I should get my employer to buy me a Mac, instead of constantly testing on my personal iPad...