• littledan's avatar
    Fix crash from turning on DevTools in the middle of catch prediction · cd049c2c
    littledan authored
    If DevTools is turned on in the middle of doing some things with async
    functions, then more items may be popped from the Promise stack than were
    pushed to it. In this sort of case, it's OK to have a catch misprediction,
    but a crash is unacceptable. This patch defensively handles this edge
    case where the Promise stack is unexpectedly empty for that reason.
    
    BUG=v8:5167
    
    Review-Url: https://codereview.chromium.org/2361333003
    Cr-Commit-Position: refs/heads/master@{#39705}
    cd049c2c
Name
Last commit
Last update
..
regress Loading commit data...
array-concat-array-proto-getter.js Loading commit data...
array-concat-array-proto.js Loading commit data...
array-concat-object-proto-dict-getter.js Loading commit data...
array-concat-object-proto-dict.js Loading commit data...
array-concat-object-proto-generic-dict.js Loading commit data...
array-concat-object-proto.js Loading commit data...
async-arrow-lexical-arguments.js Loading commit data...
async-arrow-lexical-new.target.js Loading commit data...
async-arrow-lexical-super.js Loading commit data...
async-arrow-lexical-this.js Loading commit data...
async-await-basic.js Loading commit data...
async-await-no-constructor.js Loading commit data...
async-await-resolve-new.js Loading commit data...
async-await-species.js Loading commit data...
async-debug-basic.js Loading commit data...
async-debug-caught-exception-cases.js Loading commit data...
async-debug-caught-exception-cases0.js Loading commit data...
async-debug-caught-exception-cases1.js Loading commit data...
async-debug-caught-exception-cases2.js Loading commit data...
async-debug-caught-exception-cases3.js Loading commit data...
async-debug-caught-exception.js Loading commit data...
async-debug-step-abort-at-break.js Loading commit data...
async-debug-step-continue-at-break.js Loading commit data...
async-debug-step-in-and-out.js Loading commit data...
async-debug-step-in-out-out.js Loading commit data...
async-debug-step-in.js Loading commit data...
async-debug-step-nested.js Loading commit data...
async-debug-step-next-constant.js Loading commit data...
async-debug-step-next.js Loading commit data...
async-debug-step-out.js Loading commit data...
async-destructuring.js Loading commit data...
async-function-debug-evaluate.js Loading commit data...
async-function-debug-scopes.js Loading commit data...
async-function-stacktrace.js Loading commit data...
atomics.js Loading commit data...
block-lazy-compile.js Loading commit data...
dataview-accessors.js Loading commit data...
debug-async-break-on-stack.js Loading commit data...
debug-async-break.js Loading commit data...
debug-async-function-async-task-event.js Loading commit data...
debug-async-liveedit.js Loading commit data...
default-parameter-do-expression.js Loading commit data...
do-expressions-control.js Loading commit data...
do-expressions.js Loading commit data...
for-in.js Loading commit data...
function-sent.js Loading commit data...
futex.js Loading commit data...
generators-turbo.js Loading commit data...
generators.js Loading commit data...
harmony-string-pad-end.js Loading commit data...
harmony-string-pad-start.js Loading commit data...
mirror-async-function-promise.js Loading commit data...
mirror-async-function.js Loading commit data...
module-parsing-eval.js Loading commit data...
object-entries.js Loading commit data...
object-get-own-property-descriptors.js Loading commit data...
object-values.js Loading commit data...
private-symbols.js Loading commit data...
private.js Loading commit data...
regexp-change-exec.js Loading commit data...
regexp-lookbehind.js Loading commit data...
regexp-named-captures.js Loading commit data...
regexp-property-binary.js Loading commit data...
regexp-property-blocks.js Loading commit data...
regexp-property-char-class.js Loading commit data...
regexp-property-disabled.js Loading commit data...
regexp-property-enumerated.js Loading commit data...
regexp-property-exact-match.js Loading commit data...
regexp-property-general-category.js Loading commit data...
regexp-property-lu-ui.js Loading commit data...
regexp-property-scripts.js Loading commit data...
regexp-property-special.js Loading commit data...
set-prototype-of.js Loading commit data...
sharedarraybuffer.js Loading commit data...
simd.js Loading commit data...
sloppy-implicit-block-function.js Loading commit data...
sloppy-legacy-duplicate-generators.js Loading commit data...
sloppy-no-duplicate-async.js Loading commit data...
sloppy-no-duplicate-generators.js Loading commit data...
sloppy-restrictive-block-function.js Loading commit data...
to-length.js Loading commit data...
to-name.js Loading commit data...
to-number.js Loading commit data...
to-primitive.js Loading commit data...
to-string.js Loading commit data...
trailing-commas-length.js Loading commit data...