Bug 15346 - "(Node or DOMString)..." is not valid WebIDL
"(Node or DOMString)..." is not valid WebIDL
Status: RESOLVED INVALID
Product: WebAppsWG
Classification: Unclassified
Component: DOM
unspecified
All All
: P2 minor
: ---
Assigned To: Anne
public-webapps-bugzilla
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-27 14:54 UTC by Aryeh Gregor
Modified: 2011-12-27 15:04 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.