Skip to content

Commit

Permalink
browser(firefox): use separate web processes for different contexts (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-s authored Apr 25, 2020
1 parent b498a3f commit a43eac3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion browser_patches/firefox/BUILD_NUMBER
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1086
1087
7 changes: 7 additions & 0 deletions browser_patches/firefox/preferences/playwright.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
// Use light theme by default.
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.
pref("ui.use_standins_for_native_colors", true);

Expand Down

0 comments on commit a43eac3

Please sign in to comment.