New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty string enum value breaks ReSpec #372
Comments
@iUser, just out of interest, which spec is using an empty enum? |
It's in Gamepad: We had an attribute that was a string value, but I changed it to be an enum, and one of the existing string values was the empty string. |
@luser, thanks! |
shikhar-scs
pushed a commit
to shikhar-scs/respec
that referenced
this issue
Feb 19, 2018
shikhar-scs
pushed a commit
to shikhar-scs/respec
that referenced
this issue
Feb 19, 2018
shikhar-scs
pushed a commit
to shikhar-scs/respec
that referenced
this issue
Feb 19, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
WebIDL enums can have the empty string as a valid enumeration value, but ReSpec breaks on this (I think when it tries to assign the id based on the value). Simple example:
I assume this needs to be fixed right around here:
https://github.com/w3c/respec/blob/develop/js/core/webidl-oldschool.js#L413
The text was updated successfully, but these errors were encountered: