W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2011

[Bug 11451] Add a string enum type

From: <bugzilla@jessica.w3.org>
Date: Wed, 21 Dec 2011 00:05:28 +0000
To: public-script-coord@w3.org
Message-Id: <E1Rd9gW-0003yP-VY@jessica.w3.org>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=11451

--- Comment #22 from Cameron McCormack <cam@mcc.id.au> 2011-12-21 00:05:28 UTC ---
Are you asking for window.EnumName to exist, or for window.EnumName to exist
and there be a way to get the list of strings the implementation supports for
it?

If we were going to expose it, then I guess something equivalent to the
following?

  window.CanPlayTypeValue = ["", "maybe", "probably"];

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Wednesday, 21 December 2011 00:06:15 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:05 UTC