summaryrefslogtreecommitdiff
path: root/runtime/web_worker.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2021-08-10 13:19:45 +0200
committerGitHub <noreply@github.com>2021-08-10 13:19:45 +0200
commitb9a8111a00b58e355baf60a55893dbfc70b0dfdd (patch)
tree99f88f95143ddeaa11f77dd80dccacb03f6d5270 /runtime/web_worker.rs
parent465cf9a6fe2d77f4c3cdaeb8eea60bd2b8697608 (diff)
refactor: --unsafely-ignore-certificate-errors (#11629)
Diffstat (limited to 'runtime/web_worker.rs')
-rw-r--r--runtime/web_worker.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs
index 1349c510a..495fedb81 100644
--- a/runtime/web_worker.rs
+++ b/runtime/web_worker.rs
@@ -253,7 +253,7 @@ pub struct WebWorkerOptions {
pub args: Vec<String>,
pub debug_flag: bool,
pub unstable: bool,
- pub unsafely_treat_insecure_origin_as_secure: Option<Vec<String>>,
+ pub unsafely_ignore_certificate_errors: Option<Vec<String>>,
pub root_cert_store: Option<RootCertStore>,
pub user_agent: String,
pub seed: Option<u64>,
@@ -305,12 +305,12 @@ impl WebWorker {
options.root_cert_store.clone(),
None,
None,
- options.unsafely_treat_insecure_origin_as_secure.clone(),
+ options.unsafely_ignore_certificate_errors.clone(),
),
deno_websocket::init::<Permissions>(
options.user_agent.clone(),
options.root_cert_store.clone(),
- options.unsafely_treat_insecure_origin_as_secure.clone(),
+ options.unsafely_ignore_certificate_errors.clone(),
),
deno_broadcast_channel::init(
options.broadcast_channel.clone(),
@@ -344,7 +344,7 @@ impl WebWorker {
deno_net::init::<Permissions>(
options.root_cert_store.clone(),
options.unstable,
- options.unsafely_treat_insecure_origin_as_secure.clone(),
+ options.unsafely_ignore_certificate_errors.clone(),
),
ops::os::init(),
ops::permissions::init(),