summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/general/frameStoragePrevented.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:29 +0000
commit59203c63bb777a3bacec32fb8830fba33540e809 (patch)
tree58298e711c0ff0575818c30485b44a2f21bf28a0 /dom/tests/mochitest/general/frameStoragePrevented.html
parentAdding upstream version 126.0.1. (diff)
downloadfirefox-59203c63bb777a3bacec32fb8830fba33540e809.tar.xz
firefox-59203c63bb777a3bacec32fb8830fba33540e809.zip
Adding upstream version 127.0.upstream/127.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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>