Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
v10.8.0 proposal #22040
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
v10.8.0 proposal #22040
Changes from 1 commit
a086604a5928710f70017c45623ad0c16f46af4f1fd7edee4580071db510cdc292aa42ab0da574d78a21335575e756dff441ff1bbc23e8b5ec0ff70484140eff5c6dcd0f8af06b925eb1e155814c5fc5c4f00562af1530ef89d19446d14fcfd5a0c7bd352f05606f0b8191563eabe907b98bf829817e40bea1ee84f8620ed9cd171be75795b56c8adcfeed2b5e562fd5e71d63e8d5787eea199bc3d90003213c095e1ceaa45816c5c44df5150ccda2623ef4996bb605f8684155b0c45136f8b82478dbee793a5bbaf6b824f6606bf49585012a0fa47254aa8361ae59267d7a1562024b6e0f3d5780b5c91baf30271f9570bce527d92f3a28de0336b2b5b7438ae17d1898ef8cf40fedd398d461e337b2df87ed6e6b52021601514862c95b966b6a26b2548f75d91742a4510ca3fe1823df4b603162fd845b5ae33902e665c9a88fe43d05d828799f4389f483bFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Original commit message: [promise] Implement Swallowed Rejection Hook. This extends the current Promise Rejection Hook with two new events kPromiseRejectAfterResolved kPromiseResolveAfterResolved which are used to detect (and signal) misuse of the Promise constructor. Specifically the common bug like new Promise((res, rej) => { res(1); throw new Error("something") }); where the error is silently swallowed by the Promise constructor without the user ever noticing can be caught via this hook. Doc: https://goo.gl/2stLUY Bug: v8:7919 Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng Change-Id: I890a7e766cdd1be88db94844fb744f72823dba33 Reviewed-on: https://chromium-review.googlesource.com/1126099 Reviewed-by: Maya Lekova <[email protected]> Reviewed-by: Benedikt Meurer <[email protected]> Reviewed-by: Yang Guo <[email protected]> Commit-Queue: Benedikt Meurer <[email protected]> Cr-Commit-Position: refs/heads/master@{#54309} Refs: v8/v8@907d7bc PR-URL: #21838 Refs: nodejs/promises-debugging#8 Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Yang Guo <[email protected]> Reviewed-By: Benedikt Meurer <[email protected]>Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing