-
-
Notifications
You must be signed in to change notification settings - Fork 660
Extract webidl #4259
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
Extract webidl #4259
Conversation
@@ -531,11 +574,26 @@ webidl.converters.ByteString = function (V, prefix, argument) { | |||
|
|||
// https://webidl.spec.whatwg.org/#es-USVString | |||
// TODO: rewrite this so we can control the errors thrown | |||
webidl.converters.USVString = toUSVString | |||
webidl.converters.USVString = (() => { |
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.
toWellFormed was added in node v20. We don't need the fallback anymore
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.
I will provide this in a follow up
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
Move webidl into its own web folder, write some tests