summaryrefslogtreecommitdiff
path: root/cli/web_worker.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/web_worker.rs')
-rw-r--r--cli/web_worker.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/cli/web_worker.rs b/cli/web_worker.rs
index bad017914..a4d0fe24c 100644
--- a/cli/web_worker.rs
+++ b/cli/web_worker.rs
@@ -115,7 +115,11 @@ impl WebWorker {
let handle = web_worker.thread_safe_handle();
ops::web_worker::init(&mut web_worker.worker, sender, handle);
ops::worker_host::init(&mut web_worker.worker);
- ops::idna::init(&mut web_worker.worker);
+ ops::reg_json_sync(
+ &mut web_worker.worker,
+ "op_domain_to_ascii",
+ deno_web::op_domain_to_ascii,
+ );
ops::io::init(&mut web_worker.worker);
ops::reg_json_sync(
&mut web_worker.worker,