OLD | NEW |
| 1 CONSOLE WARNING: Attr child nodes are deprecated and will be removed in M45, aro
und August 2015. Please use 'Attr.value' instead. |
| 2 CONSOLE WARNING: Attr child nodes are deprecated and will be removed in M45, aro
und August 2015. Please use 'Attr.value' instead. |
1 This tests setting the value of an attribute node after caching childNodes of th
e attribute node. | 3 This tests setting the value of an attribute node after caching childNodes of th
e attribute node. |
2 The cache should be cleared and childNodes[0].data should return the new value. | 4 The cache should be cleared and childNodes[0].data should return the new value. |
3 You should see PASS below: | 5 You should see PASS below: |
4 | 6 |
5 PASS nameAttrNode.childNodes.length is 1 | 7 PASS nameAttrNode.childNodes.length is 1 |
6 PASS nameAttrNode.childNodes[0] is oldValue | 8 PASS nameAttrNode.childNodes[0] is oldValue |
7 PASS nameAttrNode.childNodes[0].data is "oldName" | 9 PASS nameAttrNode.childNodes[0].data is "oldName" |
8 | 10 |
9 PASS nameAttrNode.value = 'newName'; nameAttrNode.value is "newName" | 11 PASS nameAttrNode.value = 'newName'; nameAttrNode.value is "newName" |
10 PASS nameAttrNode.childNodes[0] is not oldValue | 12 PASS nameAttrNode.childNodes[0] is not oldValue |
11 PASS nameAttrNode.childNodes[0].data is "newName" | 13 PASS nameAttrNode.childNodes[0].data is "newName" |
12 PASS successfullyParsed is true | 14 PASS successfullyParsed is true |
13 | 15 |
14 TEST COMPLETE | 16 TEST COMPLETE |
15 | 17 |
OLD | NEW |