mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-12 12:31:22 +00:00
Add one more webkit-specific whitelist in web-sys (#1865)
* Add one more webkit-specific whitelist in web-sys * Run rustfmt
This commit is contained in:
@ -568,7 +568,7 @@ impl<'src> FirstPassRecord<'src> {
|
||||
|
||||
// whitelist a few names that have known polyfills
|
||||
match name {
|
||||
"AudioContext" => {
|
||||
"AudioContext" | "OfflineAudioContext" => {
|
||||
import_type
|
||||
.vendor_prefixes
|
||||
.push(Ident::new("webkit", Span::call_site()));
|
||||
|
Reference in New Issue
Block a user