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

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 04 Feb 2015 02:55:50 +0000
To: public-script-coord@w3.org
Message-ID: <bug-27953-3890-MaSkXPXv4f@http.www.w3.org/Bugs/Public/>

Tab Atkins Jr. <jackalmage@gmail.com> changed:

           What    |Removed                     |Added
                 CC|                            |jackalmage@gmail.com

--- Comment #1 from Tab Atkins Jr. <jackalmage@gmail.com> ---
No, it does.  It's reasonable to have an argument which is optional altogether,
but if you *do* pass a dict, it *must* have certain properties.  (In other
words, they're either required or optional as a block.)

You are receiving this mail because:
You are on the CC list for the bug.
Received on Wednesday, 4 February 2015 02:55:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:23 UTC