/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; add_task(async function () { await SpecialPowers.pushPrefEnv({ // Bug 1617611: Fix all the tests broken by "cookies SameSite=lax by default" set: [ ["network.cookie.sameSite.laxByDefault", false], [ "privacy.partition.always_partition_third_party_non_cookie_storage", false, ], ], }); const URL_IFRAME = buildURLWithContent( "example.net", `

iframe

` + `` ); const URL_MAIN = buildURLWithContent( "example.com", `

Main

` + `` + `