| OLD | NEW |
| 1 Test creation of each type of Node and check intial values | 1 Test creation of each type of Node and check intial values |
| 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 Attribute creation using createElement on an HTML doc: | 6 Attribute creation using createElement on an HTML doc: |
| 7 PASS attr.nodeName is 'foo' | 7 PASS attr.nodeName is 'foo' |
| 8 PASS attr.name is 'foo' | 8 PASS attr.name is 'foo' |
| 9 FAIL attr.localName should be null (of type object). Was foo (of type string). | 9 FAIL attr.localName should be null (of type object). Was foo (of type string). |
| 10 PASS attr.namespaceURI is null | 10 PASS attr.namespaceURI is null |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 PASS attr.namespaceURI is 'http://www.example.com' | 34 PASS attr.namespaceURI is 'http://www.example.com' |
| 35 PASS attr.prefix is 'example' | 35 PASS attr.prefix is 'example' |
| 36 PASS attr.nodeValue is '' | 36 PASS attr.nodeValue is '' |
| 37 PASS attr.value is '' | 37 PASS attr.value is '' |
| 38 PASS comment.nodeName is '#comment' | 38 PASS comment.nodeName is '#comment' |
| 39 PASS comment.localName is null | 39 PASS comment.localName is null |
| 40 PASS comment.namespaceURI is null | 40 PASS comment.namespaceURI is null |
| 41 PASS comment.prefix is null | 41 PASS comment.prefix is null |
| 42 PASS comment.nodeValue is 'foo' | 42 PASS comment.nodeValue is 'foo' |
| 43 PASS comment.data is 'foo' | 43 PASS comment.data is 'foo' |
| 44 PASS document.createCDATASection('foo') threw exception Error: NotSupportedError
: DOM Exception 9. | 44 PASS document.createCDATASection('foo') threw exception NotSupportedError: The i
mplementation did not support the requested type of object or operation.. |
| 45 PASS cdata.nodeName is '#cdata-section' | 45 PASS cdata.nodeName is '#cdata-section' |
| 46 PASS cdata.localName is null | 46 PASS cdata.localName is null |
| 47 PASS cdata.namespaceURI is null | 47 PASS cdata.namespaceURI is null |
| 48 PASS cdata.prefix is null | 48 PASS cdata.prefix is null |
| 49 PASS cdata.nodeValue is 'foo' | 49 PASS cdata.nodeValue is 'foo' |
| 50 PASS cdata.data is 'foo' | 50 PASS cdata.data is 'foo' |
| 51 PASS fragment.nodeName is '#document-fragment' | 51 PASS fragment.nodeName is '#document-fragment' |
| 52 PASS fragment.localName is null | 52 PASS fragment.localName is null |
| 53 PASS fragment.namespaceURI is null | 53 PASS fragment.namespaceURI is null |
| 54 PASS fragment.prefix is null | 54 PASS fragment.prefix is null |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 PASS element.prefix is null | 106 PASS element.prefix is null |
| 107 PASS element.nodeValue is null | 107 PASS element.nodeValue is null |
| 108 PASS element.attributes.toString() is '[object NamedNodeMap]' | 108 PASS element.attributes.toString() is '[object NamedNodeMap]' |
| 109 Element creation using createElementNS on an XHTML doc: | 109 Element creation using createElementNS on an XHTML doc: |
| 110 PASS element.nodeName is 'html:pre' | 110 PASS element.nodeName is 'html:pre' |
| 111 PASS element.localName is 'pre' | 111 PASS element.localName is 'pre' |
| 112 PASS element.namespaceURI is 'http://www.w3.org/1999/xhtml' | 112 PASS element.namespaceURI is 'http://www.w3.org/1999/xhtml' |
| 113 PASS element.prefix is 'html' | 113 PASS element.prefix is 'html' |
| 114 PASS element.nodeValue is null | 114 PASS element.nodeValue is null |
| 115 PASS element.attributes.toString() is '[object NamedNodeMap]' | 115 PASS element.attributes.toString() is '[object NamedNodeMap]' |
| 116 PASS document.createProcessingInstruction('xml-stylesheet', 'type="text/xsl" hre
f="missing.xsl"') threw exception Error: NotSupportedError: DOM Exception 9. | 116 PASS document.createProcessingInstruction('xml-stylesheet', 'type="text/xsl" hre
f="missing.xsl"') threw exception NotSupportedError: The implementation did not
support the requested type of object or operation.. |
| 117 PASS processingInstruction.nodeName is 'xml-stylesheet' | 117 PASS processingInstruction.nodeName is 'xml-stylesheet' |
| 118 PASS processingInstruction.localName is null | 118 PASS processingInstruction.localName is null |
| 119 PASS processingInstruction.namespaceURI is null | 119 PASS processingInstruction.namespaceURI is null |
| 120 PASS processingInstruction.prefix is null | 120 PASS processingInstruction.prefix is null |
| 121 PASS processingInstruction.nodeValue is 'type="text/xsl" href="missing.xsl"' | 121 PASS processingInstruction.nodeValue is 'type="text/xsl" href="missing.xsl"' |
| 122 PASS processingInstruction.target is 'xml-stylesheet' | 122 PASS processingInstruction.target is 'xml-stylesheet' |
| 123 PASS processingInstruction.data is 'type="text/xsl" href="missing.xsl"' | 123 PASS processingInstruction.data is 'type="text/xsl" href="missing.xsl"' |
| 124 PASS text.nodeName is '#text' | 124 PASS text.nodeName is '#text' |
| 125 PASS text.localName is null | 125 PASS text.localName is null |
| 126 PASS text.namespaceURI is null | 126 PASS text.namespaceURI is null |
| 127 PASS text.prefix is null | 127 PASS text.prefix is null |
| 128 PASS text.nodeValue is 'foo' | 128 PASS text.nodeValue is 'foo' |
| 129 PASS text.data is 'foo' | 129 PASS text.data is 'foo' |
| 130 PASS successfullyParsed is true | 130 PASS successfullyParsed is true |
| 131 | 131 |
| 132 TEST COMPLETE | 132 TEST COMPLETE |
| 133 | 133 |
| OLD | NEW |