OLD | NEW |
(Empty) | |
| 1 Check that DOMImplementation.createDocument() returns an XMLDocument. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS window.XMLDocument.name is "XMLDocument" |
| 7 PASS XMLDocument.prototype.__proto__ is Document.prototype |
| 8 PASS document.implementation.createDocument("", "").__proto__ is XMLDocument.pro
totype |
| 9 PASS document.implementation.createDocument("", "html").__proto__ is XMLDocument
.prototype |
| 10 PASS document.implementation.createDocument("http://www.w3.org/1999/xhtml", "htm
l").__proto__ is XMLDocument.prototype |
| 11 PASS document.implementation.createDocument("http://www.w3.org/2000/xmlns/", "xm
lns:test").__proto__ is XMLDocument.prototype |
| 12 FAIL document.implementation.createDocument("http://www.w3.org/2000/svg", "svg")
.__proto__ should be [object Object]. Was [object Object]. |
| 13 PASS successfullyParsed is true |
| 14 |
| 15 TEST COMPLETE |
| 16 |
OLD | NEW |