- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Tue, 06 Aug 2013 13:43:32 -0400
- To: public-script-coord@w3.org
On 8/6/13 11:50 AM, Domenic Denicola wrote: > It would be nice if IDL enums followed ES semantics, of doing `ToString(value)` They already do. > and then throwing a `RangeError` if outside the allowed range. That's what this thread is about. Right now IDL enums throw a TypeError if after ToString() the result is not one of the enumeration's values. -Boris
Received on Tuesday, 6 August 2013 17:44:00 UTC