commit 7799ab762d92a52b3424a39368fe96f86096f82c
parent 8a642dd6e059b4c0ec9fbb84649b3c2ca918e7aa
Author: owlishDeveloper <bugzeeeeee@gmail.com>
Date: Fri, 5 Dec 2025 01:12:21 +0000
Bug 1998305 - Expose isolation strategy pref for control via Nimbus r=tcampbell,android-reviewers
Currently, we hard-code the pref in Fenix to isolateHighValue. In the future, we want to be able to partially backout Fission by setting this pref to isolateNothing via Nimbus
Differential Revision: https://phabricator.services.mozilla.com/D271501
Diffstat:
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/mobile/android/fenix/app/nimbus.fml.yaml b/mobile/android/fenix/app/nimbus.fml.yaml
@@ -452,6 +452,14 @@ features:
set to false.
type: Boolean
default: false
+ isolationStrategy:
+ description: >
+ The web content isolation strategy to use with fission. "0" means "isolate nothing", similar to
+ non-fission behavior. "1" means "isolate everything", where every site-origin gets its own
+ process. "2" means "isolate high value", Android-specific setting to only isolate sites
+ considered "high value".
+ type: Int
+ default: 2
suggest-shipped-domains:
description: Feature that suggests domains from the shipped domain list.
diff --git a/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/Core.kt b/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/Core.kt
@@ -186,7 +186,8 @@ class Core(
getDesktopMode = {
store.state.desktopMode
},
- webContentIsolationStrategy = WebContentIsolationStrategy.ISOLATE_HIGH_VALUE,
+ webContentIsolationStrategy =
+ WebContentIsolationStrategy.fromValue(FxNimbus.features.fission.value().isolationStrategy),
fetchPriorityEnabled = true,
parallelMarkingEnabled = FxNimbus.features.javascript.value().parallelMarkingEnabled,
certificateTransparencyMode = FxNimbus.features.pki.value().certificateTransparencyMode,