Descriptionasync/await: Don't trigger uncaught rejection handlers on throwaway Promises
This patch implements a bug fix to the async/await specification described
at https://github.com/tc39/ecma262/pull/692#issuecomment-247488411
Namely, the intermediate values of Promises may be rejected, and they do
not have .then called on them anymore (now that the memory leak is fixed),
but they do not correspond do unhandled rejections. This change has been
tested manually with integration with Blink; once it is checked in and
rolled, then further tests can be added on the Blink side for the uncaught
rejection handler and async/await.
BUG=v8:4483
Committed: https://crrev.com/61a6b6f236079927a0e9640742fe4b0c282a9d09
Cr-Commit-Position: refs/heads/master@{#39480}
Patch Set 1 #
Messages
Total messages: 13 (7 generated)
|