- From: Luca Casonato <notifications@github.com>
- Date: Sat, 25 Jan 2025 13:47:49 -0800
- To: whatwg/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 25 January 2025 21:47:53 UTC
@lucacasonato commented on this pull request.
> @@ -8686,6 +8906,18 @@ that correspond to the union's [=member types=].
1. If |types| includes {{object}}, then return the IDL value
that is a reference to the object |V|.
1. If |V| [=is an Object=], then:
+ 1. If |types| includes an [=async iterable type=], then
+ 1. If |types| does not include a [=string type=] or |V| does not have a \[[StringData]] [=/internal slot=], then
Those steps throw when no iterable method is present. Here we want to not throw in that case
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/pull/1397#discussion_r1929614750
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/webidl/pull/1397/review/2574091438@github.com>
Received on Saturday, 25 January 2025 21:47:53 UTC