summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/general/frameStoragePrevented.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/tests/mochitest/general/frameStoragePrevented.html')
-rw-r--r--dom/tests/mochitest/general/frameStoragePrevented.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/tests/mochitest/general/frameStoragePrevented.html b/dom/tests/mochitest/general/frameStoragePrevented.html
index 693beff5a4..baa74b1773 100644
--- a/dom/tests/mochitest/general/frameStoragePrevented.html
+++ b/dom/tests/mochitest/general/frameStoragePrevented.html
@@ -17,7 +17,7 @@
return new Promise((resolve, reject) => {
var w;
try {
- w = new Worker("workerStoragePrevented.js");
+ w = new Worker("workerStoragePrevented.js#outer");
} catch (e) {
ok(true, "Running workers was prevented");
resolve();
@@ -35,7 +35,7 @@
}
// Try to run a worker, which shouldn't be able to access storage
- await runWorker("workerStoragePrevented.js");
+ await runWorker("workerStoragePrevented.js#outer");
});
</script>