1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Strict//EN">
4 <meta HTTP-EQUIV=
"Content-Type" CONTENT=
"text/html; charset=UTF-8">
7 window
.onload = function() {
9 window
.testRunner
.dumpAsText();
12 document
.lookupNamespaceURI
,
13 document
.isDefaultNamespace
,
14 function(node
) { this.body
= node
},
18 var node
= document
.createElement('b');
21 while (document
.firstChild
)
22 document
.removeChild(document
.firstChild
);
24 for (var i
= 0, il
= meths
.length
; i
< il
; ++i
) {
26 // Some expect nodes, some expect strings, but our nodes will get
27 // toString'd so we should be ok on both.
28 meths
[i
].call(document
, node
, node
, node
);
33 document
.write('PASS');
40 <p>Test for
<a href=
"http://bugs.webkit.org/show_bug.cgi?id=19470">bug
19470</a>:
41 Null pointer dereferences on a document with no documentElement.
</p>
42 <p>On success, should print PASS.
</p>