| OLD | NEW |
| 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 |
| 11 value = 16 | 11 value = 16 |
| 12 value = 0 | 12 value = 0 |
| 13 value = 1 | 13 value = 1 |
| 14 value = 4 | 14 value = 4 |
| 15 value = 9 | 15 value = 9 |
| 16 value = 16 | 16 value = 16 |
| 17 key = 0 | 17 key = 0 |
| 18 key = 1 | 18 key = 1 |
| 19 key = 2 | |
| 20 key = 3 | |
| 21 key = 4 | 19 key = 4 |
| 20 key = 9 |
| 21 key = 16 |
| 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 = 4,4 |
| 30 entry = 3,9 | 30 entry = 9,9 |
| 31 entry = 4,16 | 31 entry = 16,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.. | 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 | 33 callback called |
| 34 PASS internals.forEach(function () { debug("callback called"); throw Error("stop
!"); }) threw exception Error: stop!. | 34 PASS internals.forEach(function () { debug("callback called"); throw Error("stop
!"); }) threw exception Error: stop!. |
| 35 thisArg, 0, 0, [object Internals] | 35 thisArg, 0, 0, [object Internals] |
| 36 thisArg, 1, 1, [object Internals] | 36 thisArg, 1, 1, [object Internals] |
| 37 thisArg, 4, 2, [object Internals] | 37 thisArg, 4, 2, [object Internals] |
| 38 thisArg, 9, 3, [object Internals] | 38 thisArg, 9, 3, [object Internals] |
| 39 thisArg, 16, 4, [object Internals] | 39 thisArg, 16, 4, [object Internals] |
| 40 0: [object Window] | 40 0: [object Window] |
| 41 1: [object Window] | 41 1: [object Window] |
| (...skipping 17 matching lines...) Expand all Loading... |
| 59 16: null | 59 16: null |
| 60 0: number | 60 0: number |
| 61 1: number | 61 1: number |
| 62 4: number | 62 4: number |
| 63 9: number | 63 9: number |
| 64 16: number | 64 16: number |
| 65 PASS successfullyParsed is true | 65 PASS successfullyParsed is true |
| 66 | 66 |
| 67 TEST COMPLETE | 67 TEST COMPLETE |
| 68 | 68 |
| OLD | NEW |