summaryrefslogtreecommitdiff
path: root/cli/standalone.rs
diff options
context:
space:
mode:
authorAndreu Botella <abb@randomunok.com>2021-08-16 14:29:54 +0200
committerGitHub <noreply@github.com>2021-08-16 14:29:54 +0200
commitddbb7b83f2c483e354f425dfb70dbab494b05ea5 (patch)
treefa84f5607395773284e331fe32f2b86b59f02a5d /cli/standalone.rs
parentd1d2388d7f1a09fd2469b356f00b6b361269a0b7 (diff)
feat(runtime): support classic workers for internal testing (#11338)
This commit implements classic workers, but only when the `--enable-testing-features-do-not-use` flag is provided. This change is not user facing. Classic workers are used extensively in WPT tests. The classic workers do not support loading from disk, and do not support TypeScript. Co-authored-by: Luca Casonato <hello@lcas.dev>
Diffstat (limited to 'cli/standalone.rs')
-rw-r--r--cli/standalone.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/standalone.rs b/cli/standalone.rs
index 013e2e60f..800dca4cb 100644
--- a/cli/standalone.rs
+++ b/cli/standalone.rs
@@ -253,6 +253,7 @@ pub async fn run(
debug_flag: metadata.log_level.map_or(false, |l| l == log::Level::Debug),
user_agent: version::get_user_agent(),
unstable: metadata.unstable,
+ enable_testing_features: false,
unsafely_ignore_certificate_errors: metadata
.unsafely_ignore_certificate_errors,
root_cert_store: Some(root_cert_store),