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 95 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.createEntityReference('gt') threw exception Error: NotSupportedErr
or: DOM Exception 9. | |
117 PASS entityReference.nodeName is 'gt' | |
118 PASS entityReference.localName is null | |
119 PASS entityReference.namespaceURI is null | |
120 PASS entityReference.prefix is null | |
121 PASS entityReference.nodeValue is null | |
122 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 Error: NotSupportedError: DOM Exception 9. |
123 PASS processingInstruction.nodeName is 'xml-stylesheet' | 117 PASS processingInstruction.nodeName is 'xml-stylesheet' |
124 PASS processingInstruction.localName is null | 118 PASS processingInstruction.localName is null |
125 PASS processingInstruction.namespaceURI is null | 119 PASS processingInstruction.namespaceURI is null |
126 PASS processingInstruction.prefix is null | 120 PASS processingInstruction.prefix is null |
127 PASS processingInstruction.nodeValue is 'type="text/xsl" href="missing.xsl"' | 121 PASS processingInstruction.nodeValue is 'type="text/xsl" href="missing.xsl"' |
128 PASS processingInstruction.target is 'xml-stylesheet' | 122 PASS processingInstruction.target is 'xml-stylesheet' |
129 PASS processingInstruction.data is 'type="text/xsl" href="missing.xsl"' | 123 PASS processingInstruction.data is 'type="text/xsl" href="missing.xsl"' |
130 PASS text.nodeName is '#text' | 124 PASS text.nodeName is '#text' |
131 PASS text.localName is null | 125 PASS text.localName is null |
132 PASS text.namespaceURI is null | 126 PASS text.namespaceURI is null |
133 PASS text.prefix is null | 127 PASS text.prefix is null |
134 PASS text.nodeValue is 'foo' | 128 PASS text.nodeValue is 'foo' |
135 PASS text.data is 'foo' | 129 PASS text.data is 'foo' |
136 PASS successfullyParsed is true | 130 PASS successfullyParsed is true |
137 | 131 |
138 TEST COMPLETE | 132 TEST COMPLETE |
139 | 133 |
OLD | NEW |