Skip to content

Commit a43eac3

Browse files
authored
browser(firefox): use separate web processes for different contexts (#1975)
1 parent b498a3f commit a43eac3

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

browser_patches/firefox/BUILD_NUMBER

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1086
1+
1087

browser_patches/firefox/preferences/playwright.cfg

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
// Use light theme by default.
44
pref("ui.systemUsesDarkTheme", 0);
55

6+
// Increase max number of child web processes so that new pages
7+
// get a new process by default and we have a process isolation
8+
// between pages from different contexts. If this becomes a performance
9+
// issue we can povide custom '@mozilla.org/ipc/processselector;1'
10+
//
11+
pref("dom.ipc.processCount", 60000);
12+
613
// Do not use system colors - they are affected by themes.
714
pref("ui.use_standins_for_native_colors", true);
815

0 commit comments

Comments
 (0)