W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2015

[Bug 27953] Dictionaries with required properties shouldn't need to be optional

From: <bugzilla@jessica.w3.org>
Date: Fri, 17 Apr 2015 05:01:07 +0000
To: public-script-coord@w3.org
Message-ID: <bug-27953-3890-xsyyiy2xUD@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27953

--- Comment #3 from Cameron McCormack <cam@mcc.id.au> ---
I think if we want to ensure that APIs that allow an empty dictionary value to
also be specified as undefined (and probably we do), and we also want to allow
APIs with arguments with required dictionary members, then allowing the
"optional" keyword to be dropped iff the dictionary does have required members
makes sense.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Friday, 17 April 2015 05:01:09 UTC

This archive was generated by hypermail 2.3.1 : Friday, 17 April 2015 05:01:10 UTC