Re: [heycam/webidl] Do specs need to handle the special value “missing” for dictionaries? (#349)

Trailing optional dictionaries always have a default value.  Under https://heycam.github.io/webidl/#idl-operations (not directly linkable, you have to  search for it), there's this text:

> If the type of an argument is a dictionary type or a union type that has a dictionary as one of its flattened member types, and that dictionary type and its ancestors have no required members, and the argument is either the final argument or is followed only by optional arguments, then the argument must be specified as optional. Such arguments are always considered to have a default value of an empty dictionary, unless otherwise specified.

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

Received on Tuesday, 25 April 2017 13:39:12 UTC