• 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
..
OWNERS Loading commit data...
array-iterator.js Loading commit data...
array.js Loading commit data...
arraybuffer.js Loading commit data...
collection-iterator.js Loading commit data...
collection.js Loading commit data...
datetime-format-to-parts.js Loading commit data...
harmony-async-await.js Loading commit data...
harmony-atomics.js Loading commit data...
harmony-simd.js Loading commit data...
harmony-string-padding.js Loading commit data...
i18n.js Loading commit data...
icu-case-mapping.js Loading commit data...
iterator-prototype.js Loading commit data...
macros.py Loading commit data...
math.js Loading commit data...
messages.js Loading commit data...
prologue.js Loading commit data...
promise.js Loading commit data...
proxy.js Loading commit data...
regexp.js Loading commit data...
runtime.js Loading commit data...
spread.js Loading commit data...
string-iterator.js Loading commit data...
string.js Loading commit data...
symbol.js Loading commit data...
templates.js Loading commit data...
typedarray.js Loading commit data...
v8natives.js Loading commit data...
weak-collection.js Loading commit data...