W3C home > Mailing lists > Public > public-media-capture-logs@w3.org > May 2017

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

From: jan-ivar via GitHub <sysbot+gh@w3.org>
Date: Wed, 24 May 2017 16:23:47 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issue_comment.created-303776723-1495643026-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:27:32 UTC