Skip to content

Commit 7810b73

Browse files
committed
Whitelist send_with_u8_array slice
Fixes rustwasm#2014
1 parent fb51d90 commit 7810b73

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/webidl/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@ fn immutable_slice_whitelist() -> BTreeSet<&'static str> {
244244
"clearBufferfv",
245245
"clearBufferiv",
246246
"clearBufferuiv",
247+
// WebSocket
248+
"send_with_u8_array",
247249
// TODO: Add another type's functions here. Leave a comment header with the type name
248250
])
249251
}

0 commit comments

Comments
 (0)