Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Errors

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