[Bug 11451] Add a string enum type


--- Comment #26 from Cameron McCormack <cam@mcc.id.au> 2011-12-21 00:24:32 UTC ---
I don't think the two are equivalent, especially when you have more than one
attribute/operation that uses the enum.  By assigning the string to the
property corresponding to the attribute, and checking its value afterwards, you
have a much stronger idea of whether that attribute supports that value than by
seeing if the enum object has the property on it.  Now, it is likely that if
the property exists on the enum object that it is supported on at least one
attribute/operation, but it won't help you tell which.

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:24:33 UTC