v8/test/mjsunit/es6/debug-promises
littledan 377358516f Make Promise.all/Promise.race catch prediction conditional on DevTools
To improve performance, this patch makes Promise.all and Promise.race not
perform correct catch prediction when the debugger is not open. The case
may come up if Promise.race or Promise.all is called, then DevTools is
open, then a component Promise is rejected. In this case, the user would
falsely get an exception event even if the "pause on caught exceptions"
box is unchecked. There are tests which triggered this case; however, it
seems both unlikely and and acceptable to have an event in this case.
Many analogous events are already produced when DevTools is enabled
during the operation of a program.

BUG=v8:3093

Review-Url: https://codereview.chromium.org/2350363002
Cr-Commit-Position: refs/heads/master@{#39565}
2016-09-20 19:34:35 +00:00
..
async-task-event.js Async/await event listener test 2016-06-10 19:15:35 +00:00
evaluate-across-microtasks.js [debugger] add test case for debug-evaluation with promise microtasks. 2016-06-03 12:07:41 +00:00
promise-all-caught.js Debugger: correctly report uncaught rejections in Promise.all and Promise.race. 2015-10-20 05:40:08 +00:00
promise-all-uncaught.js Make Promise.all/Promise.race catch prediction conditional on DevTools 2016-09-20 19:34:35 +00:00
promise-race-caught.js Debugger: correctly report uncaught rejections in Promise.all and Promise.race. 2015-10-20 05:40:08 +00:00
promise-race-uncaught.js Make Promise.all/Promise.race catch prediction conditional on DevTools 2016-09-20 19:34:35 +00:00
reentry.js Remove --promise-extra flag 2016-08-22 21:35:06 +00:00
reject-after-resolve.js Remove --promise-extra flag 2016-08-22 21:35:06 +00:00
reject-caught-all.js Remove --promise-extra flag 2016-08-22 21:35:06 +00:00
reject-caught-by-default-reject-handler.js Do not trigger ExceptionEvents for another forwarding case 2016-08-24 20:38:13 +00:00
reject-caught-late.js Remove --promise-extra flag 2016-08-22 21:35:06 +00:00
reject-caught-uncaught.js Remove --promise-extra flag 2016-08-22 21:35:06 +00:00
reject-in-constructor.js
reject-uncaught-all.js Change which ExceptionEvents are triggered by Promises 2016-08-24 00:20:50 +00:00
reject-uncaught-late.js Remove unnecessary coupling between Promise tests and Object.observe 2015-07-21 17:17:07 +00:00
reject-uncaught-uncaught.js Change which ExceptionEvents are triggered by Promises 2016-08-24 00:20:50 +00:00
reject-with-invalid-reject.js Remove --promise-extra flag 2016-08-22 21:35:06 +00:00
reject-with-throw-in-reject.js Remove --promise-extra flag 2016-08-22 21:35:06 +00:00
reject-with-undefined-reject.js Remove --promise-extra flag 2016-08-22 21:35:06 +00:00
stepin-constructor.js [debugger] fix mjsunit/es6/debug-promises/stepin-constructor.js for ignition. 2016-04-21 13:16:04 +00:00
stepin-handler.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
throw-caught-all.js Remove --promise-extra flag 2016-08-22 21:35:06 +00:00
throw-caught-by-default-reject-handler.js Do not trigger ExceptionEvents for another forwarding case 2016-08-24 20:38:13 +00:00
throw-caught-late.js Remove --promise-extra flag 2016-08-22 21:35:06 +00:00
throw-caught-uncaught.js Remove --promise-extra flag 2016-08-22 21:35:06 +00:00
throw-eventually-caught.js Fix PromiseHasRejectHandler. 2014-08-18 08:43:11 +00:00
throw-finally-caught-all.js Remove --promise-extra flag 2016-08-22 21:35:06 +00:00
throw-in-constructor.js
throw-uncaught-all.js Remove --promise-extra flag 2016-08-22 21:35:06 +00:00
throw-uncaught-uncaught.js Remove --promise-extra flag 2016-08-22 21:35:06 +00:00
throw-with-throw-in-reject.js Remove --promise-extra flag 2016-08-22 21:35:06 +00:00
throw-with-undefined-reject.js Check that Promise subclasses have callable resolve/reject 2016-03-10 23:22:31 +00:00
try-reject-in-constructor.js
try-throw-reject-in-constructor.js