This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 15346 - "(Node or DOMString)..." is not valid WebIDL
Summary: "(Node or DOMString)..." is not valid WebIDL
Status: RESOLVED INVALID
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: DOM (show other bugs)
Version: unspecified
Hardware: All All
: P2 minor
Target Milestone: ---
Assignee: Anne
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-27 14:54 UTC by Aryeh Gregor
Modified: 2011-12-27 15:04 UTC (History)
2 users (show)

See Also:


Attachments

Description Aryeh Gregor 2011-12-27 14:54:59 UTC
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.
Comment 1 Aryeh Gregor 2011-12-27 15:04:02 UTC
My bad, looks like a recent WebIDL change.