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.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs
index f35d38921..eefb49023 100644
--- a/runtime/web_worker.rs
+++ b/runtime/web_worker.rs
@@ -390,6 +390,7 @@ impl WebWorker {
enable_testing_features: bool,
},
state = |state, options| {
+ state.put(options.permissions.0.clone());
state.put::<PermissionsContainer>(options.permissions);
state.put(ops::TestingFeaturesEnabled(options.enable_testing_features));
},