-
Notifications
You must be signed in to change notification settings - Fork 183
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
Add lightning transport #1264
Add lightning transport #1264
Conversation
Add lightning transport Fixes #1261
Fix missing comma
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per https://heycam.github.io/webidl/#idl-enums , Example 33, providing "lightning" to a browser that doesn't have that part of the enum will throw a TypeError.
Perhaps we want to keep the enum as a definition, but change the structur1268es that specify it to instead ask for a String-ish type that can be carefully cast to an enum, rather than letting the WebIDL parser throw.
see issue #1268
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can land as long as we also land #1275
Add lightning transport
Fixes #1261
Preview | Diff