browser(firefox): use separate web processes for different contexts (#1975)

This commit is contained in:
Yury Semikhatsky 2020-04-24 17:55:08 -07:00 committed by GitHub
parent b498a3f2ba
commit a43eac3809
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -1 +1 @@
1086 1087

View File

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