-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Whitelist send_with_u8_array slice #2015
Conversation
crates/webidl/src/lib.rs
Outdated
@@ -244,6 +244,8 @@ fn immutable_slice_whitelist() -> BTreeSet<&'static str> { | |||
"clearBufferfv", | |||
"clearBufferiv", | |||
"clearBufferuiv", | |||
// WebSocket | |||
"send_with_u8_array", |
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 am not sure but I think it requires camelCase?
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.
Hm yeah it looks like the others are all camel-case here. @chinedufn mind testing this out locally to see if it had the desired effect on the method?
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.
// TODO: Add a function to create another type to test here. | ||
// These functions come from element.js | ||
} | ||
|
||
// TODO: Uncomment WebGlRenderingContext test. Every now and then we can check if this works |
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.
Checking to see if these tests can pass in CI now sine it's been a year
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.
Nope
fb470be
to
1097daa
Compare
1097daa
to
638bd6f
Compare
Thanks! |
Fixes #2014