Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: src/js/async-await.js

Issue 2575313002: [promisehook] Implement PromiseHook (Closed)
Patch Set: rebase + add comments Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/isolate.cc ('k') | src/js/promise.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/js/async-await.js
diff --git a/src/js/async-await.js b/src/js/async-await.js
index c7e90510d1c830d4e03a2b4d0bd150637a4773e6..5c9c4b5ceba4931aded31ef3d98ac27502415718 100644
--- a/src/js/async-await.js
+++ b/src/js/async-await.js
@@ -82,7 +82,7 @@ function AsyncFunctionAwait(generator, awaited, outerPromise) {
}
// Just forwarding the exception, so no debugEvent for throwawayCapability.
- var throwawayCapability = CreateInternalPromiseCapability();
+ var throwawayCapability = CreateInternalPromiseCapability(promise);
// The Promise will be thrown away and not handled, but it shouldn't trigger
// unhandled reject events as its work is done
« no previous file with comments | « src/isolate.cc ('k') | src/js/promise.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698