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

Side by Side Diff: LayoutTests/fast/js/iterable-object-expected.txt

Issue 807263007: IDL: Add forEach() method to iterable<>/maplike<>/setlike<> interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: extend testing Created 5 years, 11 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 Test ES6 iterator works with DOM objects. 1 Test ES6 iterator works with DOM objects.
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 PASS internals.iterator is undefined. 6 PASS internals.iterator is undefined.
7 value = 0 7 value = 0
8 value = 1 8 value = 1
9 value = 4 9 value = 4
10 value = 9 10 value = 9
(...skipping 11 matching lines...) Expand all
22 value = 0 22 value = 0
23 value = 1 23 value = 1
24 value = 4 24 value = 4
25 value = 9 25 value = 9
26 value = 16 26 value = 16
27 entry = 0,0 27 entry = 0,0
28 entry = 1,1 28 entry = 1,1
29 entry = 2,4 29 entry = 2,4
30 entry = 3,9 30 entry = 3,9
31 entry = 4,16 31 entry = 4,16
32 PASS internals.forEach("not a function") threw exception TypeError: Failed to ex ecute 'forEach' on 'Internals': The callback provided as parameter 1 is not a fu nction..
33 callback called
34 PASS internals.forEach(function () { debug("callback called"); throw Error("stop !"); }) threw exception Error: stop!.
35 thisArg, 0, 0, [object Internals]
36 thisArg, 1, 1, [object Internals]
37 thisArg, 4, 2, [object Internals]
38 thisArg, 9, 3, [object Internals]
39 thisArg, 16, 4, [object Internals]
40 0: [object Window]
41 1: [object Window]
42 4: [object Window]
43 9: [object Window]
44 16: [object Window]
45 0: [object Window]
46 1: [object Window]
47 4: [object Window]
48 9: [object Window]
49 16: [object Window]
50 0: undefined
51 1: undefined
52 4: undefined
53 9: undefined
54 16: undefined
55 0: null
56 1: null
57 4: null
58 9: null
59 16: null
60 0: number
61 1: number
62 4: number
63 9: number
64 16: number
32 PASS successfullyParsed is true 65 PASS successfullyParsed is true
33 66
34 TEST COMPLETE 67 TEST COMPLETE
35 68
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698