-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Internal CC machinary for unhandled promise rejection. 2. Simplisitic implimentation in ch 3. Test case
- Loading branch information
Showing
16 changed files
with
335 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,3 +62,5 @@ JsLessThan | |
JsLessThanOrEqual | ||
|
||
JsCreateEnhancedFunction | ||
|
||
JsSetHostPromiseRejectionTracker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
Executing test #1 - Reject promise with no reactions. | ||
Uncaught promise rejection | ||
Rejection from test 1 | ||
Executing test #2 - Reject promise with a catch reaction only. | ||
Executing test #3 - Reject promise with catch and then reactions. | ||
Executing test #4 - Reject promise then add a catch afterwards. | ||
Uncaught promise rejection | ||
Rejection from test 4 | ||
Promise rejection handled | ||
Rejection from test 4 | ||
Executing test #5 - Reject promise then add two catches afterwards. | ||
Uncaught promise rejection | ||
Rejection from test 5 | ||
Promise rejection handled | ||
Rejection from test 5 | ||
Executing test #6 - Async function that throws. | ||
Uncaught promise rejection | ||
Rejection from test 6 | ||
Executing test #7 - Async function that throws but is caught. | ||
Uncaught promise rejection | ||
Rejection from test 7 | ||
Promise rejection handled | ||
Rejection from test 7 | ||
Executing test #8 - Async function that awaits a function that throws. | ||
Uncaught promise rejection | ||
Rejection from test 8 | ||
Promise rejection handled | ||
Rejection from test 8 | ||
Executing test #9 - Reject a handled promise then handle one of the handles but not the other. | ||
Executing test #10 - Reject a handled promise and don't handle either path. | ||
Begin async results: | ||
Uncaught promise rejection | ||
Rejection from test 8 | ||
Uncaught promise rejection | ||
Rejection from test 9 | ||
Uncaught promise rejection | ||
Rejection from test 10 | ||
Uncaught promise rejection | ||
Rejection from test 10 | ||
Promise rejection handled | ||
Rejection from test 9 | ||
Uncaught promise rejection | ||
Rejection from test 9 |
Oops, something went wrong.