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

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

From: <bugzilla@jessica.w3.org>
Date: Fri, 13 Apr 2012 11:46:58 +0000
To: public-script-coord@w3.org
Message-ID: <bug-16725-3890@http.www.w3.org/Bugs/Public/>

           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

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