DescriptionDebugger: correctly report uncaught rejections in Promise.all and Promise.race.
The debugger calls PromiseHasUserDefinedRejectHandler to recursively search the
tree of dependent promises for user-defined reject handlers. If no such reject
handler exists, rejecting the promise is considered an uncaught exception.
Promise.race and Promise.all interupt the link of promise dependency wrt the
search. This change fixes that link.
R=rossberg@chromium.org
BUG=chromium:439585
LOG=N
Committed: https://crrev.com/8be20eee3ba63b1d78eab065d9b6787b624cfff2
Cr-Commit-Position: refs/heads/master@{#31392}
Patch Set 1 #
Total comments: 2
Patch Set 2 : move deferred from promise to handler #
Total comments: 1
Messages
Total messages: 16 (5 generated)
|