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

Side by Side Diff: LayoutTests/fast/dom/domListEnumeration-expected.txt

Issue 1220883007: [dom] support iterable<> NodeList (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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
OLDNEW
1 This tests enumerating the elements of DOM lists. 1 This tests enumerating the elements of DOM lists.
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 6
7 [object NodeList] 7 [object NodeList]
8 PASS resultArray.length is 5 8 PASS resultArray.length is 9
9 PASS resultArray[0].i is '0' 9 PASS resultArray[0].i is '0'
10 PASS resultArray[0].item is nodeList.item(0) 10 PASS resultArray[0].item is nodeList.item(0)
11 PASS resultArray[1].i is '1' 11 PASS resultArray[1].i is '1'
12 PASS resultArray[1].item is nodeList.item(1) 12 PASS resultArray[1].item is nodeList.item(1)
13 PASS resultArray[2].i is '2' 13 PASS resultArray[2].i is '2'
14 PASS resultArray[2].item is nodeList.item(2) 14 PASS resultArray[2].item is nodeList.item(2)
15 15
16 [object HTMLCollection] 16 [object HTMLCollection]
17 PASS resultArray.length is 6 17 PASS resultArray.length is 10
18 PASS resultArray[0].i is '0' 18 PASS resultArray[0].i is '0'
19 PASS resultArray[0].item is htmlCollection.item(0) 19 PASS resultArray[0].item is htmlCollection.item(0)
20 PASS resultArray[1].i is '1' 20 PASS resultArray[1].i is '1'
21 PASS resultArray[1].item is htmlCollection.item(1) 21 PASS resultArray[1].item is htmlCollection.item(1)
22 PASS resultArray[2].i is '2' 22 PASS resultArray[2].i is '2'
23 PASS resultArray[2].item is htmlCollection.item(2) 23 PASS resultArray[2].item is htmlCollection.item(2)
24 24
25 [object NamedNodeMap] 25 [object NamedNodeMap]
26 PASS resultArray.length is 11 26 PASS resultArray.length is 11
27 PASS resultArray[0].i is '0' 27 PASS resultArray[0].i is '0'
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 PASS resultArray[0].item is mediaList.item(0) 79 PASS resultArray[0].item is mediaList.item(0)
80 PASS resultArray[1].i is '1' 80 PASS resultArray[1].i is '1'
81 PASS resultArray[1].item is mediaList.item(1) 81 PASS resultArray[1].item is mediaList.item(1)
82 PASS resultArray[2].i is '2' 82 PASS resultArray[2].i is '2'
83 PASS resultArray[2].item is mediaList.item(2) 83 PASS resultArray[2].item is mediaList.item(2)
84 84
85 PASS successfullyParsed is true 85 PASS successfullyParsed is true
86 86
87 TEST COMPLETE 87 TEST COMPLETE
88 88
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/htmlallcollection-enumerated-properties.html » ('j') | Source/core/dom/NodeList.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698