• littledan's avatar
    Make Promise.all/Promise.race catch prediction conditional on DevTools · 37735851
    littledan authored
    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}
    37735851
Name
Last commit
Last update
..
async-task-event.js Loading commit data...
evaluate-across-microtasks.js Loading commit data...
promise-all-caught.js Loading commit data...
promise-all-uncaught.js Loading commit data...
promise-race-caught.js Loading commit data...
promise-race-uncaught.js Loading commit data...
reentry.js Loading commit data...
reject-after-resolve.js Loading commit data...
reject-caught-all.js Loading commit data...
reject-caught-by-default-reject-handler.js Loading commit data...
reject-caught-late.js Loading commit data...
reject-caught-uncaught.js Loading commit data...
reject-in-constructor.js Loading commit data...
reject-uncaught-all.js Loading commit data...
reject-uncaught-late.js Loading commit data...
reject-uncaught-uncaught.js Loading commit data...
reject-with-invalid-reject.js Loading commit data...
reject-with-throw-in-reject.js Loading commit data...
reject-with-undefined-reject.js Loading commit data...
stepin-constructor.js Loading commit data...
stepin-handler.js Loading commit data...
throw-caught-all.js Loading commit data...
throw-caught-by-default-reject-handler.js Loading commit data...
throw-caught-late.js Loading commit data...
throw-caught-uncaught.js Loading commit data...
throw-eventually-caught.js Loading commit data...
throw-finally-caught-all.js Loading commit data...
throw-in-constructor.js Loading commit data...
throw-uncaught-all.js Loading commit data...
throw-uncaught-uncaught.js Loading commit data...
throw-with-throw-in-reject.js Loading commit data...
throw-with-undefined-reject.js Loading commit data...
try-reject-in-constructor.js Loading commit data...
try-throw-reject-in-constructor.js Loading commit data...