Re: [whatwg/webidl] Editorial: add missing args for CreateBuiltinFunction (PR #1539)

@ShinWonho commented on this pull request.



> @@ -13195,7 +13171,7 @@ The \[[Prototype]] [=/internal slot=] of an [=asynchronous iterator prototype ob
 
     1.  If |ongoingPromise| is not null, then:
         1.  Let |afterOngoingPromiseCapability| be [=!=] [$NewPromiseCapability$]({{%Promise%}}).
-        1.  Let |onSettled| be [$CreateBuiltinFunction$](|nextSteps|, « »).
+        1.  Let |onSettled| be [$CreateBuiltinFunction$](|nextSteps|, 0, "", « »).

This is because `fulfillSteps` and `rejectSteps` each take one argument (`next` and `reason`, respectively), whereas `nextSteps` takes none.

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

Message ID: <whatwg/webidl/pull/1539/review/3446005537@github.com>

Received on Tuesday, 11 November 2025 02:45:13 UTC