Bug 1889091 - Part 6: Remove "scratch" register parameter from emitPushArguments...
[gecko.git] / dom / ipc / tests / browser_wpi_isolate_high_value.js
blobbf6b99d5f5c656e1bb35150dc8d9abaa46cc305d
1 // Import this in order to use `do_tests()`.
2 Services.scriptloader.loadSubScript(
3   "chrome://mochitests/content/browser/dom/ipc/tests/browser_wpi_base.js",
4   this
5 );
7 add_task(async function test_isolate_high_value() {
8   await SpecialPowers.pushPrefEnv({
9     set: [
10       ["browser.tabs.remote.separatedMozillaDomains", "mozilla.org"],
11       [
12         "fission.webContentIsolationStrategy",
13         WebContentIsolationStrategy.IsolateHighValue,
14       ],
15     ],
16   });
18   await do_tests({
19     com_normal: "web",
20     org_normal: "web",
21     moz_normal: "privilegedmozilla",
22     com_high: "webIsolated=https://example.com",
23     com_coop_coep: "webCOOP+COEP=https://example.com",
24     org_coop_coep: "webCOOP+COEP=https://example.org",
25     moz_coop_coep: "privilegedmozilla",
26   });
27 });