-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ECMAScript to IDL Promise<T> type conversion
This fixes a number of bugs: * Rejected promises would be converted to fulfilled promises. * Timing would not be correct due to using .then() This removes the type conversion based on T that was previously performed, since that does not happen in the Web IDL specification until the time of the "react" algorithm at https://heycam.github.io/webidl/#dfn-perform-steps-once-promise-is-settled (which, for example, is never called when a Promise<T> is used as a return type).
- Loading branch information
Showing
2 changed files
with
7 additions
and
64 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
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