summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorSatya Rohith <me@satyarohith.com>2021-07-28 04:34:08 +0530
committerGitHub <noreply@github.com>2021-07-28 04:34:08 +0530
commit7f3a34eeb89e7c930b8189f95c5f8715185da587 (patch)
tree6a536ed20b91a3836b589600a37c9a4684e1aec3 /runtime
parent667b026798b5284e9ec8bf47baba80f343975d2e (diff)
feat(extensions/fetch): extend init options (#11528)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/build.rs1
-rw-r--r--runtime/web_worker.rs1
-rw-r--r--runtime/worker.rs1
3 files changed, 3 insertions, 0 deletions
diff --git a/runtime/build.rs b/runtime/build.rs
index 0d1cf3bce..4e061c438 100644
--- a/runtime/build.rs
+++ b/runtime/build.rs
@@ -46,6 +46,7 @@ fn create_runtime_snapshot(snapshot_path: &Path, files: Vec<PathBuf>) {
"".to_owned(),
None,
None,
+ None,
),
deno_websocket::init::<deno_websocket::NoWebSocketPermissions>(
"".to_owned(),
diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs
index bcbf71692..5724517a0 100644
--- a/runtime/web_worker.rs
+++ b/runtime/web_worker.rs
@@ -301,6 +301,7 @@ impl WebWorker {
options.user_agent.clone(),
options.ca_data.clone(),
None,
+ None,
),
deno_websocket::init::<Permissions>(
options.user_agent.clone(),
diff --git a/runtime/worker.rs b/runtime/worker.rs
index 18ba348ff..c8c93d2f0 100644
--- a/runtime/worker.rs
+++ b/runtime/worker.rs
@@ -101,6 +101,7 @@ impl MainWorker {
options.user_agent.clone(),
options.ca_data.clone(),
None,
+ None,
),
deno_websocket::init::<Permissions>(
options.user_agent.clone(),