4 if (window
.layoutTestController
)
5 layoutTestController
.dumpAsText();
7 // Blow away the <head> element above in a way that doesn't create a JavaScript wrapper.
8 document
.documentElement
.innerHTML
= "";
12 This element gets put into the head by the parser, but we deleted the head!
16 If you can see this text without crashing, the test passed.
18 if (document
.getElementsByTagName("title").length
)
19 document
.write(" Note: The title element did end up in the document.");
21 document
.write(" Note: The title element did not end up in the document.");