| OLD | NEW |
| (Empty) |
| 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. | |
| 3 This tests setting the value of an attribute node after caching childNodes of th
e attribute node. | |
| 4 The cache should be cleared and childNodes[0].data should return the new value. | |
| 5 You should see PASS below: | |
| 6 | |
| 7 PASS nameAttrNode.childNodes.length is 1 | |
| 8 PASS nameAttrNode.childNodes[0] is oldValue | |
| 9 PASS nameAttrNode.childNodes[0].data is "oldName" | |
| 10 | |
| 11 PASS nameAttrNode.value = 'newName'; nameAttrNode.value is "newName" | |
| 12 PASS nameAttrNode.childNodes[0] is not oldValue | |
| 13 PASS nameAttrNode.childNodes[0].data is "newName" | |
| 14 PASS successfullyParsed is true | |
| 15 | |
| 16 TEST COMPLETE | |
| 17 | |
| OLD | NEW |