blob: 0887da47b43e7e2ae44c8ea2eeff280ff5a65011 [file] [log] [blame]
This tests optional title for createHTMLDocument
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.implementation.createHTMLDocument().querySelector("title") is null
PASS document.implementation.createHTMLDocument(null).querySelector("title").textContent is "null"
PASS document.implementation.createHTMLDocument(undefined).querySelector("title").textContent is "undefined"
PASS document.implementation.createHTMLDocument("").querySelector("title").textContent is ""
PASS document.implementation.createHTMLDocument("x").querySelector("title").textContent is "x"
PASS successfullyParsed is true
TEST COMPLETE