[Bug 16725] Treat omitted dictionary the same as empty dictionary

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16725

Jonas Sicking <jonas@sicking.cc> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonas@sicking.cc

--- Comment #3 from Jonas Sicking <jonas@sicking.cc> 2012-04-25 07:17:43 UTC ---
If we want this to be consistent across all APIs where dictionaries are used,
then I don't think requiring |optional X x = {}| is a good option since people
will forget to put it in the API.

Given that dictionaries always describe what is essentially a collection of
optional arguments, are there really cases when a dictionary member will be
non-optional?

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Wednesday, 25 April 2012 07:17:52 UTC