Re: [whatwg/webidl] Close iterators when conversion fails while creating a sequence from an iterator (PR #1662)

@bakkot commented on this pull request.



> @@ -8411,6 +8413,12 @@ an [=async iterator=]. The [=async iterator=] can be asynchronously iterated ove
             1.  Let |V| be [=?=] <a abstract-op>IteratorValue</a>(|iterResult|).
             1.  Let |value| be the result of [=converted to an IDL value|converting=] |V| to an IDL
                 value of type |iterator|'s [=JS async iterator/type parameter=].
+                If <a lt="an exception was thrown">an exception |E| was thrown</a>, then:

There's 95 uses currently.

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

Message ID: <whatwg/webidl/pull/1662/review/5805023778@github.com>

Received on Friday, 6 November 2026 18:29:51 UTC