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 '' | 12 PASS attr.nodeValue is '' |
13 PASS attr.value is '' | 13 PASS attr.value is '' |
14 Attribute creation using createElementNS on an HTML doc: | |
15 PASS attr.nodeName is 'example:foo' | |
16 PASS attr.name is 'example:foo' | |
17 PASS attr.localName is 'foo' | |
18 PASS attr.namespaceURI is 'http://www.example.com' | |
19 PASS attr.prefix is 'example' | |
20 PASS attr.nodeValue is '' | |
21 PASS attr.value is '' | |
22 Attribute creation using createElement on an XHTML doc: | 14 Attribute creation using createElement on an XHTML doc: |
23 PASS attr.nodeName is 'foo' | 15 PASS attr.nodeName is 'foo' |
24 PASS attr.name is 'foo' | 16 PASS attr.name is 'foo' |
25 FAIL attr.localName should be null (of type object). Was foo (of type string). | 17 FAIL attr.localName should be null (of type object). Was foo (of type string). |
26 PASS attr.namespaceURI is null | 18 PASS attr.namespaceURI is null |
27 PASS attr.prefix is null | 19 PASS attr.prefix is null |
28 PASS attr.nodeValue is '' | 20 PASS attr.nodeValue is '' |
29 PASS attr.value is '' | 21 PASS attr.value is '' |
30 Attribute creation using createElementNS on an XHTML doc: | |
31 PASS attr.nodeName is 'example:foo' | |
32 PASS attr.name is 'example:foo' | |
33 PASS attr.localName is 'foo' | |
34 PASS attr.namespaceURI is 'http://www.example.com' | |
35 PASS attr.prefix is 'example' | |
36 PASS attr.nodeValue is '' | |
37 PASS attr.value is '' | |
38 PASS comment.nodeName is '#comment' | 22 PASS comment.nodeName is '#comment' |
39 PASS comment.localName is null | 23 PASS comment.localName is null |
40 PASS comment.namespaceURI is null | 24 PASS comment.namespaceURI is null |
41 PASS comment.nodeValue is 'foo' | 25 PASS comment.nodeValue is 'foo' |
42 PASS comment.data is 'foo' | 26 PASS comment.data is 'foo' |
43 PASS document.createCDATASection('foo') threw exception NotSupportedError: Faile
d to execute 'createCDATASection' on 'Document': This operation is not supported
for HTML documents.. | 27 PASS document.createCDATASection('foo') threw exception NotSupportedError: Faile
d to execute 'createCDATASection' on 'Document': This operation is not supported
for HTML documents.. |
44 PASS cdata.nodeName is '#cdata-section' | 28 PASS cdata.nodeName is '#cdata-section' |
45 PASS cdata.localName is null | 29 PASS cdata.localName is null |
46 PASS cdata.namespaceURI is null | 30 PASS cdata.namespaceURI is null |
47 PASS cdata.nodeValue is 'foo' | 31 PASS cdata.nodeValue is 'foo' |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 Text node creation using createTextNode on an HTML doc: | 109 Text node creation using createTextNode on an HTML doc: |
126 PASS text.nodeName is '#text' | 110 PASS text.nodeName is '#text' |
127 PASS text.localName is null | 111 PASS text.localName is null |
128 PASS text.namespaceURI is null | 112 PASS text.namespaceURI is null |
129 PASS text.nodeValue is 'foo' | 113 PASS text.nodeValue is 'foo' |
130 PASS text.data is 'foo' | 114 PASS text.data is 'foo' |
131 PASS successfullyParsed is true | 115 PASS successfullyParsed is true |
132 | 116 |
133 TEST COMPLETE | 117 TEST COMPLETE |
134 | 118 |
OLD | NEW |