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 |
11 PASS attr.prefix is null | 11 PASS attr.prefix is null |
12 PASS attr.nodeValue is '' | |
13 PASS attr.value is '' | 12 PASS attr.value is '' |
14 Attribute creation using createElement on an XHTML doc: | 13 Attribute creation using createElement on an XHTML doc: |
15 PASS attr.nodeName is 'foo' | 14 PASS attr.nodeName is 'foo' |
16 PASS attr.name is 'foo' | 15 PASS attr.name is 'foo' |
17 FAIL attr.localName should be null (of type object). Was foo (of type string). | 16 FAIL attr.localName should be null (of type object). Was foo (of type string). |
18 PASS attr.namespaceURI is null | 17 PASS attr.namespaceURI is null |
19 PASS attr.prefix is null | 18 PASS attr.prefix is null |
20 PASS attr.nodeValue is '' | |
21 PASS attr.value is '' | 19 PASS attr.value is '' |
22 PASS comment.nodeName is '#comment' | 20 PASS comment.nodeName is '#comment' |
23 PASS comment.localName is null | 21 PASS comment.localName is null |
24 PASS comment.namespaceURI is null | 22 PASS comment.namespaceURI is null |
25 PASS comment.nodeValue is 'foo' | 23 PASS comment.nodeValue is 'foo' |
26 PASS comment.data is 'foo' | 24 PASS comment.data is 'foo' |
27 PASS document.createCDATASection('foo') threw exception NotSupportedError: Faile
d to execute 'createCDATASection' on 'Document': This operation is not supported
for HTML documents.. | 25 PASS document.createCDATASection('foo') threw exception NotSupportedError: Faile
d to execute 'createCDATASection' on 'Document': This operation is not supported
for HTML documents.. |
28 PASS cdata.nodeName is '#cdata-section' | 26 PASS cdata.nodeName is '#cdata-section' |
29 PASS cdata.localName is null | 27 PASS cdata.localName is null |
30 PASS cdata.namespaceURI is null | 28 PASS cdata.namespaceURI is null |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 Text node creation using createTextNode on an HTML doc: | 107 Text node creation using createTextNode on an HTML doc: |
110 PASS text.nodeName is '#text' | 108 PASS text.nodeName is '#text' |
111 PASS text.localName is null | 109 PASS text.localName is null |
112 PASS text.namespaceURI is null | 110 PASS text.namespaceURI is null |
113 PASS text.nodeValue is 'foo' | 111 PASS text.nodeValue is 'foo' |
114 PASS text.data is 'foo' | 112 PASS text.data is 'foo' |
115 PASS successfullyParsed is true | 113 PASS successfullyParsed is true |
116 | 114 |
117 TEST COMPLETE | 115 TEST COMPLETE |
118 | 116 |
OLD | NEW |