summaryrefslogtreecommitdiff
path: root/runtime/web_worker.rs
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/web_worker.rs')
-rw-r--r--runtime/web_worker.rs10
1 files changed, 8 insertions, 2 deletions
diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs
index 7f258b3eb..30869ff41 100644
--- a/runtime/web_worker.rs
+++ b/runtime/web_worker.rs
@@ -231,10 +231,16 @@ impl WebWorker {
);
ops::reg_json_sync(js_runtime, "op_close", deno_core::op_close);
ops::reg_json_sync(js_runtime, "op_resources", deno_core::op_resources);
+ ops::reg_json_sync(js_runtime, "op_parse_url", deno_web::op_parse_url);
ops::reg_json_sync(
js_runtime,
- "op_domain_to_ascii",
- deno_web::op_domain_to_ascii,
+ "op_parse_url_search_params",
+ deno_web::op_parse_url_search_params,
+ );
+ ops::reg_json_sync(
+ js_runtime,
+ "op_stringify_url_search_params",
+ deno_web::op_stringify_url_search_params,
);
ops::io::init(js_runtime);
ops::webgpu::init(js_runtime);