diff options
Diffstat (limited to 'runtime/web_worker.rs')
-rw-r--r-- | runtime/web_worker.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs index 11bcd328a..de32e3994 100644 --- a/runtime/web_worker.rs +++ b/runtime/web_worker.rs @@ -6,6 +6,7 @@ use crate::permissions::PermissionsContainer; use crate::shared::runtime; use crate::tokio_util::create_and_run_current_thread; use crate::worker::import_meta_resolve_callback; +use crate::worker::validate_import_attributes_callback; use crate::worker::FormatJsErrorFn; use crate::BootstrapOptions; use deno_broadcast_channel::InMemoryBroadcastChannel; @@ -547,6 +548,9 @@ impl WebWorker { import_meta_resolve_callback: Some(Box::new( import_meta_resolve_callback, )), + validate_import_attributes_cb: Some(Box::new( + validate_import_attributes_callback, + )), ..Default::default() }); |