1
0
Fork 0
firefox/dom/ipc/tests/browser_wpi_isolate_nothing.js
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

27 lines
747 B
JavaScript

// Import this in order to use `do_tests()`.
Services.scriptloader.loadSubScript(
"chrome://mochitests/content/browser/dom/ipc/tests/browser_wpi_base.js",
this
);
add_task(async function test_isolate_nothing() {
await SpecialPowers.pushPrefEnv({
set: [
["browser.tabs.remote.separatedMozillaDomains", "mozilla.org"],
[
"fission.webContentIsolationStrategy",
WebContentIsolationStrategy.IsolateNothing,
],
],
});
await do_tests({
com_normal: "web",
org_normal: "web",
moz_normal: "privilegedmozilla",
com_high: "web",
com_coop_coep: "webCOOP+COEP=https://example.com",
org_coop_coep: "webCOOP+COEP=https://example.org",
moz_coop_coep: "privilegedmozilla",
});
});