OLD | NEW |
1 Tests cloneNode for Document. | 1 Tests cloneNode for Document. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS doc.cloneNode(false).__proto__ is XMLDocument.prototype | 6 PASS doc.cloneNode(false).__proto__ is XMLDocument.prototype |
7 PASS className(doc.cloneNode(false)) is "XMLDocument" | 7 PASS className(doc.cloneNode(false)) is "XMLDocument" |
8 PASS doc.cloneNode(true).documentElement.localName is "root" | 8 PASS doc.cloneNode(true).documentElement.localName is "root" |
| 9 PASS doc.cloneNode(true).contentType is "application/xml" |
9 PASS document.cloneNode(true).compatMode is "CSS1Compat" | 10 PASS document.cloneNode(true).compatMode is "CSS1Compat" |
10 PASS document.cloneNode(false).URL is document.URL | 11 PASS document.cloneNode(false).URL is document.URL |
11 PASS document.cloneNode(false).baseURI is document.baseURI | 12 PASS document.cloneNode(false).baseURI is document.baseURI |
12 PASS document.cloneNode(false).characterSet is document.characterSet | 13 PASS document.cloneNode(false).characterSet is document.characterSet |
| 14 PASS document.cloneNode(true).contentType is "text/html" |
13 PASS successfullyParsed is true | 15 PASS successfullyParsed is true |
14 | 16 |
15 TEST COMPLETE | 17 TEST COMPLETE |
16 | 18 |
OLD | NEW |