Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Side by Side Diff: LayoutTests/fast/dom/Attr/invalidate-nodelist-after-attr-setvalue-expected.txt

Issue 1158433004: Remove Attr child nodes (making Attr a Node, not a ContainerNode) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address feedback Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698