summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/storage-access-api/requestStorageAccess-dedicated-worker.tentative.sub.https.window.js
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/storage-access-api/requestStorageAccess-dedicated-worker.tentative.sub.https.window.js')
-rw-r--r--testing/web-platform/tests/storage-access-api/requestStorageAccess-dedicated-worker.tentative.sub.https.window.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/web-platform/tests/storage-access-api/requestStorageAccess-dedicated-worker.tentative.sub.https.window.js b/testing/web-platform/tests/storage-access-api/requestStorageAccess-dedicated-worker.tentative.sub.https.window.js
index 6c3d616e26..5c3089bf34 100644
--- a/testing/web-platform/tests/storage-access-api/requestStorageAccess-dedicated-worker.tentative.sub.https.window.js
+++ b/testing/web-platform/tests/storage-access-api/requestStorageAccess-dedicated-worker.tentative.sub.https.window.js
@@ -40,10 +40,10 @@
assert_true(cookieStringHasCookie("cookie", "unpartitioned",
await MessageWorker(frame, {command: "load"})),
"Worker's load was credentialed.");
- assert_true(cookieStringHasCookie("cookie", "unpartitioned",
+ assert_false(cookieStringHasCookie("cookie", "unpartitioned",
await MessageWorker(frame, {command: "fetch", url: altRootEchoCookies})),
- "Worker's fetch is credentialed.");
- }, "Workers inherit storage access");
+ "Worker's fetch is uncredentialed.");
+ }, "Workers don't inherit storage access");
promise_test(async (t) => {
await MaybeSetStorageAccess("*", "*", "blocked");