/external/v8/test/mjsunit/es6/debug-promises/ |
D | events.js | 26 function listener(event, exec_state, event_data, data) { argument 30 assertTrue(event_data.promise().isPromise()); 31 if (event_data.status() === 0) { 33 assertEquals("pending", event_data.promise().status()); 34 result.push({ promise: event_data.promise().value(), status: 0 }); 36 } else if (event_data.status() !== undefined) { 38 updatePromise(event_data.promise().value(), 40 event_data.status(), 41 event_data.value().value()); 44 assertTrue(event_data.parentPromise().isPromise()); [all …]
|
D | async-task-event.js | 34 function listener(event, exec_state, event_data, data) { argument 38 base_id = event_data.id(); 39 var id = event_data.id() - base_id + 1; 40 assertEquals("Promise.resolve", event_data.name()); 41 assertLog(event_data.type() + " #" + id);
|
D | reject-uncaught-all.js | 27 function listener(event, exec_state, event_data, data) { argument 32 assertEquals("uncaught reject", event_data.exception().message); 33 assertTrue(event_data.promise() instanceof Promise); 34 assertSame(q, event_data.promise()); 35 assertTrue(event_data.uncaught());
|
D | throw-uncaught-all.js | 27 function listener(event, exec_state, event_data, data) { argument 33 assertEquals("uncaught", event_data.exception().message); 34 assertTrue(event_data.promise() instanceof Promise); 35 assertSame(q, event_data.promise()); 36 assertTrue(event_data.uncaught());
|
D | reject-uncaught-uncaught.js | 27 function listener(event, exec_state, event_data, data) { argument 32 assertEquals("uncaught reject", event_data.exception().message); 33 assertTrue(event_data.promise() instanceof Promise); 34 assertSame(q, event_data.promise()); 35 assertTrue(event_data.uncaught());
|
D | throw-uncaught-uncaught.js | 27 function listener(event, exec_state, event_data, data) { argument 33 assertEquals("uncaught", event_data.exception().message); 34 assertTrue(event_data.promise() instanceof Promise); 35 assertSame(q, event_data.promise()); 36 assertTrue(event_data.uncaught());
|
D | reject-uncaught-late.js | 34 function listener(event, exec_state, event_data, data) { argument 39 assertEquals("uncaught reject p", event_data.exception().message); 40 assertTrue(event_data.promise() instanceof Promise); 41 assertSame(p, event_data.promise()); 42 assertTrue(event_data.uncaught());
|
D | throw-caught-by-default-reject-handler.js | 39 function listener(event, exec_state, event_data, data) { argument 44 assertTrue(event_data.uncaught()); 45 assertTrue(event_data.promise() instanceof Promise); 50 assertSame(p1, event_data.promise()); 54 assertSame(p2, event_data.promise());
|
D | reject-caught-by-default-reject-handler.js | 39 function listener(event, exec_state, event_data, data) { argument 44 assertTrue(event_data.uncaught()); 45 assertTrue(event_data.promise() instanceof Promise); 49 assertSame(p1, event_data.promise()); 53 assertSame(p2, event_data.promise());
|
D | reject-in-constructor.js | 16 function listener(event, exec_state, event_data, data) { argument 20 assertEquals("uncaught", event_data.exception().message); 21 assertTrue(event_data.promise() instanceof Promise); 22 assertTrue(event_data.uncaught());
|
D | throw-in-constructor.js | 16 function listener(event, exec_state, event_data, data) { argument 20 assertEquals("uncaught", event_data.exception().message); 21 assertTrue(event_data.promise() instanceof Promise); 22 assertTrue(event_data.uncaught());
|
D | try-throw-reject-in-constructor.js | 17 function listener(event, exec_state, event_data, data) { argument 21 assertEquals("uncaught", event_data.exception().message); 22 assertTrue(event_data.promise() instanceof Promise); 23 assertTrue(event_data.uncaught());
|
D | try-reject-in-constructor.js | 16 function listener(event, exec_state, event_data, data) { argument 20 assertEquals("uncaught", event_data.exception().message); 21 assertTrue(event_data.promise() instanceof Promise); 22 assertTrue(event_data.uncaught());
|
D | throw-caught-all.js | 32 function listener(event, exec_state, event_data, data) { argument 37 assertEquals("caught", event_data.exception().message); 38 assertSame(q, event_data.promise()); 39 assertFalse(event_data.uncaught());
|
D | reject-caught-all.js | 33 function listener(event, exec_state, event_data, data) { argument 38 assertEquals("reject", event_data.exception().message); 39 assertSame(q, event_data.promise()); 40 assertFalse(event_data.uncaught());
|
D | throw-with-undefined-reject.js | 39 function listener(event, exec_state, event_data, data) { argument 47 assertEquals("caught", event_data.exception().message); 52 event_data.exception().message); 56 assertSame(q, event_data.promise());
|
D | throw-with-throw-in-reject.js | 42 function listener(event, exec_state, event_data, data) { argument 50 assertEquals("caught", event_data.exception().message); 52 assertEquals("reject", event_data.exception().message); 56 assertSame(q, event_data.promise());
|
/external/v8/test/mjsunit/ |
D | debug-set-script-source.js | 36 function listener(event, exec_state, event_data, data) { argument 38 event_data.script().setSource(event_data.script().source() + 42 event_data.script().setSource("a=1 //# sourceURL=wrong_location"); 46 script_names.push(event_data.script().name());
|
D | debug-stepnext-do-while.js | 35 function listener(event, exec_state, event_data, data) { argument 40 event_data.sourceLineText()); 41 assertEquals('runDoWhile', event_data.func().name()); 44 event_data.sourceLineText()); 45 assertEquals('runDoWhile', event_data.func().name());
|
D | debug-compile-event-newfunction.js | 34 function listener(event, exec_state, event_data, data) { argument 38 event_data.script().compilationType(), 40 var evalFromScript = event_data.script().evalFromScript(); 47 var evalFromLocation = event_data.script().evalFromLocation(); 52 var json = event_data.toJSONProtocol();
|
D | debug-compile-event.js | 49 function listener(event, exec_state, event_data, data) { argument 59 switch (event_data.script().compilationType()) { 76 assertTrue(current_source.indexOf(event_data.script().source()) >= 0); 80 assertEquals(current_source, event_data.script().source()); 83 var json = event_data.toJSONProtocol(); 91 event_data.script().name());
|
D | debug-event-listener.js | 34 function listener(event, exec_state, event_data, data) { argument 40 lastDebugEvent.event_data = event_data; 59 assertFalse(lastDebugEvent.event_data.uncaught());
|
D | debug-stepin-builtin-callback.js | 36 function array_listener(event, exec_state, event_data, data) { argument 45 print(event_data.sourceLineText()); 46 assertTrue(event_data.sourceLineText().indexOf("Expected to step") > 0); 123 function second_level_listener(event, exec_state, event_data, data) { argument 132 assertTrue(event_data.sourceLineText().indexOf("Expected to step") > 0);
|
/external/v8/test/mjsunit/es7/ |
D | object-observe-debug-event.js | 26 function listener(event, exec_state, event_data, data) { argument 30 base_id = event_data.id(); 31 var id = event_data.id() - base_id + 1; 32 assertEquals("Object.observe", event_data.name()); 33 assertLog(event_data.type() + " #" + id);
|
/external/v8/test/mjsunit/es6/ |
D | debug-stepin-collections-foreach.js | 11 function listener(event, exec_state, event_data, data) { argument 20 print(event_data.sourceLineText()); 21 assertTrue(event_data.sourceLineText().indexOf("Expected to step") > 0); 73 function second_level_listener(event, exec_state, event_data, data) { argument 82 assertTrue(event_data.sourceLineText().indexOf("Expected to step") > 0);
|