Re: [mediacapture-main] Revert https://github.com/w3c/mediacapture-main/pull/446

This in invariant is why it must be optional as a tail argument. [WebIDL](https://heycam.github.io/webidl/#idl-operations):

*"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."*

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/458#issuecomment-303776723 using your GitHub account

Received on Wednesday, 24 May 2017 16:23:54 UTC