What is the issue with the Web IDL Standard?
@marcoscaceres noted that there are constraints on implementations that mean that enums can't contain certain characters. For instance, "." caused problems in WebKit because the string is converted to a C++ constant name. I imagine that "foo" and "FOO" together in the same enum might also lead to bad outcomes, as would "foo-bar" and "foo_bar".
This probably hasn't caused a problem so far because people do sensible things. Task here is to work out what the real constraints are and document them.
What is the issue with the Web IDL Standard?
@marcoscaceres noted that there are constraints on implementations that mean that enums can't contain certain characters. For instance, "." caused problems in WebKit because the string is converted to a C++ constant name. I imagine that "foo" and "FOO" together in the same enum might also lead to bad outcomes, as would "foo-bar" and "foo_bar".
This probably hasn't caused a problem so far because people do sensible things. Task here is to work out what the real constraints are and document them.