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.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.. | 116 Processing instruction creation using createProcessingInstruction on an HTML doc
: |
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 Processing instruction creation using createProcessingInstruction on an XHTML do
c: |
| 125 PASS processingInstruction.nodeName is 'xml-stylesheet' |
| 126 PASS processingInstruction.localName is null |
| 127 PASS processingInstruction.namespaceURI is null |
| 128 PASS processingInstruction.prefix is null |
| 129 PASS processingInstruction.nodeValue is 'type="text/xsl" href="missing.xsl"' |
| 130 PASS processingInstruction.target is 'xml-stylesheet' |
| 131 PASS processingInstruction.data is 'type="text/xsl" href="missing.xsl"' |
| 132 Text node creation using createTextNode on an HTML doc: |
124 PASS text.nodeName is '#text' | 133 PASS text.nodeName is '#text' |
125 PASS text.localName is null | 134 PASS text.localName is null |
126 PASS text.namespaceURI is null | 135 PASS text.namespaceURI is null |
127 PASS text.prefix is null | 136 PASS text.prefix is null |
128 PASS text.nodeValue is 'foo' | 137 PASS text.nodeValue is 'foo' |
129 PASS text.data is 'foo' | 138 PASS text.data is 'foo' |
130 PASS successfullyParsed is true | 139 PASS successfullyParsed is true |
131 | 140 |
132 TEST COMPLETE | 141 TEST COMPLETE |
133 | 142 |
OLD | NEW |