OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <meta charset=utf-8> | 2 <meta charset=utf-8> |
3 <title>DOMImplementation.createDocument(namespace, qualifiedName, doctype)</titl
e> | 3 <title>DOMImplementation.createDocument(namespace, qualifiedName, doctype)</titl
e> |
4 <link rel=help href="https://dom.spec.whatwg.org/#dom-domimplementation-createdo
cument"> | 4 <link rel=help href="https://dom.spec.whatwg.org/#dom-domimplementation-createdo
cument"> |
5 <link rel=help href="https://dom.spec.whatwg.org/#dom-document-createelementns"> | 5 <link rel=help href="https://dom.spec.whatwg.org/#dom-document-createelementns"> |
6 <link rel=help href="https://dom.spec.whatwg.org/#dom-node-nodetype"> | 6 <link rel=help href="https://dom.spec.whatwg.org/#dom-node-nodetype"> |
7 <link rel=help href="https://dom.spec.whatwg.org/#dom-document-documentelement"> | 7 <link rel=help href="https://dom.spec.whatwg.org/#dom-document-documentelement"> |
8 <link rel=help href="https://dom.spec.whatwg.org/#dom-document-doctype"> | 8 <link rel=help href="https://dom.spec.whatwg.org/#dom-document-doctype"> |
9 <script src="../../../../resources/testharness.js"></script> | 9 <script src="../../../../resources/testharness.js"></script> |
10 <script src="../../../../resources/testharnessreport.js"></script> | 10 <script src="../../../../resources/testharnessreport.js"></script> |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 test(function() { | 146 test(function() { |
147 assert_throws(new TypeError(), function() { | 147 assert_throws(new TypeError(), function() { |
148 document.implementation.createDocument() | 148 document.implementation.createDocument() |
149 }, "createDocument() should throw") | 149 }, "createDocument() should throw") |
150 | 150 |
151 assert_throws(new TypeError(), function() { | 151 assert_throws(new TypeError(), function() { |
152 document.implementation.createDocument('') | 152 document.implementation.createDocument('') |
153 }, "createDocument('') should throw") | 153 }, "createDocument('') should throw") |
154 }, "createDocument with missing arguments"); | 154 }, "createDocument with missing arguments"); |
155 </script> | 155 </script> |
OLD | NEW |