зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1762462 - Make tests in dom/indexedDB/test/unit/ reflect Always Partitioning Storage; r=timhuang
Depends on D148049 Differential Revision: https://phabricator.services.mozilla.com/D148050
This commit is contained in:
Родитель
779161be09
Коммит
fefdd42f8d
|
@ -68,6 +68,14 @@ async function setup(isXOrigin) {
|
|||
// first-party access to the storage estimate. Without this, it is
|
||||
// isolated and this test will always fail
|
||||
if (isXOrigin) {
|
||||
await SpecialPowers.pushPrefEnv({
|
||||
set: [
|
||||
[
|
||||
"privacy.partition.always_partition_third_party_non_cookie_storage",
|
||||
false,
|
||||
],
|
||||
],
|
||||
});
|
||||
SpecialPowers.wrap(document).notifyUserGestureActivation();
|
||||
await SpecialPowers.addPermission(
|
||||
"storageAccessAPI",
|
||||
|
|
Загрузка…
Ссылка в новой задаче