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