Bug 16040 - Use IDL union types where appropriate
Use IDL union types where appropriate
Status: RESOLVED FIXED
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec
unspecified
All All
: P2 normal
: ---
Assigned To: Ian 'Hixie' Hickson
HTML WG Bugzilla archive list
:
Depends on:
Blocks: 15986
  Show dependency treegraph
 
Reported: 2012-02-20 20:16 UTC by Ms2ger
Modified: 2012-02-21 20:51 UTC (History)
4 users (show)

See Also:


Attachments
Patch v1 (6.83 KB, patch)
2012-02-20 20:16 UTC, Ms2ger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ms2ger 2012-02-20 20:16:00 UTC
Created attachment 1081 [details]
Patch v1

WebIDL now has union types: <http://dev.w3.org/2006/webapi/WebIDL/#idl-union>, which are often a better alternative for overloading. Patch to use them attached.
Comment 1 Ian 'Hixie' Hickson 2012-02-21 20:48:15 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale: Concurred with reporter's comments.
Comment 2 contributor 2012-02-21 20:51:12 UTC
Checked in as WHATWG revision r7002.
Check-in comment: Use union types in the IDL blocks where possible.
http://html5.org/tools/web-apps-tracker?from=7001&to=7002