[heycam/webidl] Fix "react to a promise"'s default handlers (#922)

"React to a promise"'s default handlers used to return undefined rather than propagating the resolved value or the rejection reason to the returned promise. This change fixes that, and changes "upon fulfillment" and "upon rejection" to return the resulting promise.

Closes #921.

You can view, comment on, or merge this pull request online at:

  https://github.com/heycam/webidl/pull/922

-- Commit Summary --

  * Fix "react to a promise"'s default handlers

-- File Changes --

    M index.bs (18)

-- Patch Links --

https://github.com/heycam/webidl/pull/922.patch
https://github.com/heycam/webidl/pull/922.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/922

Received on Thursday, 17 September 2020 20:02:46 UTC