- From: <bugzilla@jessica.w3.org>
- Date: Sun, 11 Nov 2012 18:23:34 +0000
- To: public-script-coord@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19936
Priority: P2
Bug ID: 19936
CC: ian@hixie.ch, mike@w3.org, public-script-coord@w3.org
Assignee: cam@mcc.id.au
Summary: consider allowing non-matching enums to be converted
to a particular value
QA Contact: public-webapps-bugzilla@w3.org
Severity: normal
Classification: Unclassified
OS: All
Reporter: cam@mcc.id.au
Hardware: All
Status: NEW
Version: unspecified
Component: WebIDL
Product: WebAppsWG
Something like:
enum CanvasContextName {
"2d", "webgl", default = ""
};
interface HTMLCanvasElement {
any getContext(CanvasContextName name);
};
so that bad values get converted into the specified default value rather than
resulting in an exception being thrown.
--
You are receiving this mail because:
You are on the CC list for the bug.
Received on Sunday, 11 November 2012 18:23:36 UTC