Bug 1638358 - Cookie Schemeful Same-Site - part 5 - schemeful comparison, r=mayhemer

Differential Revision: https://phabricator.services.mozilla.com/D75629
This commit is contained in:
Andrea Marchesini
2020-06-02 09:15:24 +00:00
parent 77dbccbe62
commit 999c216f41
14 changed files with 267 additions and 12 deletions

View File

@@ -13,7 +13,13 @@ add_task(async function setup() {
// make sure userContext is enabled.
await SpecialPowers.pushPrefEnv({
set: [["privacy.userContext.enabled", true]],
set: [
["privacy.userContext.enabled", true],
// This test does a redirect from https to http and it checks the
// cookies. This is incompatible with the cookie sameSite schemeful
// feature and we need to disable it.
["network.cookie.sameSite.schemeful", false],
],
});
});