mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 00:32:11 +00:00
Bug 1762462 - Make tests in dom/ipc/tests/ reflect Always Partitioning Storage; r=nika
Depends on D148050 Differential Revision: https://phabricator.services.mozilla.com/D148051
This commit is contained in:
parent
40a6edaccc
commit
8ac48b16c4
@ -67,6 +67,9 @@ async function broadcastLoadTest(baseURI, callback) {
|
||||
// the iframe containing this page is isolated from first-party storage access,
|
||||
// which isolates BroadcastChannel communication.
|
||||
if (isXOrigin) {
|
||||
await SpecialPowers.pushPrefEnv({
|
||||
set: [["privacy.partition.always_partition_third_party_non_cookie_storage", false]],
|
||||
});
|
||||
SpecialPowers.wrap(document).notifyUserGestureActivation();
|
||||
await SpecialPowers.addPermission(
|
||||
"storageAccessAPI",
|
||||
|
Loading…
Reference in New Issue
Block a user