/external/v8/test/mjsunit/es6/ |
D | generators-iteration.js | 34 function assertIteratorResult(value, done, result) { function 39 assertIteratorResult(undefined, true, iter.next()); 59 assertIteratorResult(1, false, result); 71 assertIteratorResult(v1, v2, iter.next()); 78 assertIteratorResult(expected_values_for_send[i], 88 assertIteratorResult(expected_values_for_next[j], 367 assertIteratorResult(1, false, iter.next()); 368 assertIteratorResult(2, false, iter.next()); 369 assertIteratorResult(3, false, iter.next()); 370 assertIteratorResult(undefined, true, iter.next()); [all …]
|
D | array-iterator.js | 54 function assertIteratorResult(value, done, result) { function 62 assertIteratorResult('a', false, iterator.next()); 63 assertIteratorResult('b', false, iterator.next()); 64 assertIteratorResult('c', false, iterator.next()); 65 assertIteratorResult(void 0, true, iterator.next()); 68 assertIteratorResult(void 0, true, iterator.next()); 76 assertIteratorResult('a', false, iterator.next()); 77 assertIteratorResult('b', false, iterator.next()); 78 assertIteratorResult('c', false, iterator.next()); 80 assertIteratorResult('d', false, iterator.next()); [all …]
|
D | arguments-iterator.js | 34 function assertIteratorResult(value, done, result) { function 41 assertIteratorResult(a, false, iterator.next()); 42 assertIteratorResult(b, false, iterator.next()); 43 assertIteratorResult(c, false, iterator.next()); 44 assertIteratorResult(undefined, true, iterator.next()); 52 assertIteratorResult(a, false, iterator.next()); 53 assertIteratorResult(b, false, iterator.next()); 54 assertIteratorResult(c, false, iterator.next()); 55 assertIteratorResult(undefined, true, iterator.next()); 62 assertIteratorResult(a, false, iterator.next()); [all …]
|
D | string-iterator.js | 14 function assertIteratorResult(value, done, result) { function 22 assertIteratorResult('a', false, iterator.next()); 23 assertIteratorResult('b', false, iterator.next()); 24 assertIteratorResult('c', false, iterator.next()); 25 assertIteratorResult(void 0, true, iterator.next()); 26 assertIteratorResult(void 0, true, iterator.next()); 37 assertIteratorResult('a', false, iterator.next()); 38 assertIteratorResult('b', false, iterator.next()); 39 assertIteratorResult('c', false, iterator.next()); 40 assertIteratorResult(pair, false, iterator.next()); [all …]
|
D | generators-debug-liveedit.js | 14 function assertIteratorResult(value, done, result) { function 41 assertIteratorResult(undefined, false, iter.next()); 42 assertIteratorResult("Cat", true, iter.next()); 73 assertIteratorResult(undefined, false, iter.next()); 76 assertIteratorResult("Cat", true, iter.next()); 82 assertIteratorResult(undefined, false, iter.next()); 84 assertIteratorResult("Capybara", true, iter.next()); 88 assertIteratorResult(undefined, false, iter.next()); 91 assertIteratorResult("Capybara", true, iter.next()); 116 assertIteratorResult('Koala', false, iter.next());
|
D | generators-relocation.js | 9 function assertIteratorResult(value, done, result) { function 26 assertIteratorResult(value1, false, obj.next()); 36 assertIteratorResult(value2, false, obj.next()); 43 assertIteratorResult(undefined, true, obj.next());
|
D | generators-poisoned-properties.js | 5 function assertIteratorResult(value, done, result) { function 39 assertIteratorResult(undefined, true, sloppy().next()); 40 assertIteratorResult(undefined, true, strict().next());
|
/external/v8/test/mjsunit/harmony/ |
D | object-literals-method.js | 133 function assertIteratorResult(value, done, result) { function 145 assertIteratorResult(1, false, g.next()); 146 assertIteratorResult(undefined, true, g.next()); 157 assertIteratorResult(object, false, g.next()); 158 assertIteratorResult(undefined, true, g.next()); 185 assertIteratorResult(1, false, g.next()); 186 assertIteratorResult(undefined, true, g.next()); 208 assertIteratorResult(1, false, g.next()); 209 assertIteratorResult(undefined, true, g.next()); 238 assertIteratorResult(undefined, true, g.next());
|