Re: [whatwg/webidl] Allow dictionary values to default to undefined (#983)

I think this was also fixed by https://github.com/whatwg/webidl/pull/1140

[DefaultValue](https://webidl.spec.whatwg.org/#prod-DefaultValue) now includes `undefined`, and the dictionary section has

> When the undefined token is used as the [default value](https://webidl.spec.whatwg.org/#dfn-optional-argument-default-value), the value is the IDL [undefined](https://webidl.spec.whatwg.org/#idl-undefined) value.

The conversion code from ES value to WebIDL dictionary will just function correctly in step 4.4.[1-2] at https://webidl.spec.whatwg.org/#es-dictionary

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/issues/983#issuecomment-1145831873
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/issues/983/1145831873@github.com>

Received on Friday, 3 June 2022 10:38:58 UTC