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

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

           Summary: Treat omitted dictionary the same as empty dictionary
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
        AssignedTo: cam@mcc.id.au
        ReportedBy: simonp@opera.com
         QAContact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-script-coord@w3.org


Consider new A() with

[Constructor(optional B b)]
interface A { };
dictionary B { DOMString foo = "bar"; };

WebIDL should say that an omitted dictionary argument is equivalent to a
specified empty dictionary, to not require all specs that use optional
dictionary arguments to say so in prose.

Also "the value the dictionary member is to be considered to have when not
present" is pretty vague language and should be tightened up with something
clear and containing some normative keyword...

-- 
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 Friday, 13 April 2012 11:47:09 UTC