| 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
|
|
|