mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +09:00
Use a separate process to generate thumbnails only when multi-process mode is enabled
This commit is contained in:
parent
37fe93abff
commit
5c9fd5c5c6
1 changed files with 5 additions and 1 deletions
|
|
@ -206,9 +206,13 @@ const BackgroundPageThumbs = {
|
|||
|
||||
let browser = this._parentWin.document.createElementNS(XUL_NS, "browser");
|
||||
browser.setAttribute("type", "content");
|
||||
browser.setAttribute("remote", "true");
|
||||
browser.setAttribute("disableglobalhistory", "true");
|
||||
|
||||
if (Services.prefs.getPrefType("browser.tabs.remote") == Services.prefs.PREF_BOOL &&
|
||||
Services.prefs.getBoolPref("browser.tabs.remote")) {
|
||||
browser.setAttribute("remote", "true");
|
||||
}
|
||||
|
||||
if (Services.prefs.getBoolPref(ABOUT_NEWTAB_SEGREGATION_PREF)) {
|
||||
// Use the private container for thumbnails.
|
||||
let privateIdentity =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue