- From: ShinWonho <notifications@github.com>
- Date: Tue, 03 Nov 2026 22:50:23 -0800
- To: whatwg/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/webidl/pull/1660@github.com>
This fixes three editorial issues in the promise helper algorithms.
### Trailing colons.
Four steps that create a function with CreateBuiltinFunction end with a colon.
[react](https://webidl.spec.whatwg.org/#dfn-perform-steps-once-promise-is-settled):
1. Let |onFulfilled| be CreateBuiltinFunction(|onFulfilledSteps|, 1, "", « »):
1. Let |onRejected| be CreateBuiltinFunction(|onRejectedSteps|, 1, "", « »):
[wait for all](https://webidl.spec.whatwg.org/#wait-for-all):
1. Let |rejectionHandler| be CreateBuiltinFunction(|rejectionHandlerSteps|, 1, "", « »):
1. Let |fulfillmentHandler| be CreateBuiltinFunction(|fulfillmentHandler|, 1, "", « »):
They now end with a period, like the other CreateBuiltinFunction steps in the spec.
### Reused variable name in "wait for all".
|fulfillmentHandler| is declared twice: first for the steps, then for the function created from them.
1. Let |fulfillmentHandler| be the following steps given |arg|:
1. Let |fulfillmentHandler| be CreateBuiltinFunction(|fulfillmentHandler|, 1, "", « »):
The steps are renamed to |fulfillmentHandlerSteps|, matching |rejectionHandlerSteps| in the same algorithm.
### Misspelling in "wait for all".
|fullfilledCount| is renamed to |fulfilledCount|.
You can view, comment on, or merge this pull request online at:
https://github.com/whatwg/webidl/pull/1660
-- Commit Summary --
* Editorial: fix typos in "react" and "wait for all"
-- File Changes --
M index.bs (16)
-- Patch Links --
https://github.com/whatwg/webidl/pull/1660.patch
https://github.com/whatwg/webidl/pull/1660.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/pull/1660
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/webidl/pull/1660@github.com>
Received on Wednesday, 4 November 2026 06:50:28 UTC