W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2011

[Bug 15346] New: "(Node or DOMString)..." is not valid WebIDL

From: <bugzilla@jessica.w3.org>
Date: Tue, 27 Dec 2011 14:54:59 +0000
To: www-dom@w3.org
Message-ID: <bug-15346-4009@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15346

           Summary: "(Node or DOMString)..." is not valid WebIDL
           Product: WebAppsWG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: DOM
        AssignedTo: annevk@opera.com
        ReportedBy: ayg@aryeh.name
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, www-dom@w3.org


E.g.:

  void prepend((Node or DOMString)... nodes);

As with the enum, this a) leaves precise error-handling behavior undefined, and
b) makes it impossible to process the IDLs automatically (such as with
idlharness.js).  Please either get WebIDL changed to allow this syntax, or use
"any" for now and define the precise behavior in prose.

-- 
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 Tuesday, 27 December 2011 14:55:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:09 GMT