mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 663038. Set some preferences for e10s builds. r=dolske
This commit is contained in:
parent
b0be6a9593
commit
7248b093ca
@ -899,6 +899,10 @@ pref("dom.ipc.plugins.enabled.x86_64", true);
|
||||
pref("dom.ipc.plugins.enabled", true);
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_E10S_COMPAT
|
||||
pref("browser.tabs.remote", true);
|
||||
#endif
|
||||
|
||||
// This pref governs whether we attempt to work around problems caused by
|
||||
// plugins using OS calls to manipulate the cursor while running out-of-
|
||||
// process. These workarounds all involve intercepting (hooking) certain
|
||||
|
@ -1256,6 +1256,11 @@
|
||||
b.setAttribute("contextmenu", this.getAttribute("contentcontextmenu"));
|
||||
b.setAttribute("tooltip", this.getAttribute("contenttooltip"));
|
||||
|
||||
if (Services.prefs.getPrefType("browser.tabs.remote") == Services.prefs.PREF_BOOL &&
|
||||
Services.prefs.getBoolPref("browser.tabs.remote")) {
|
||||
b.setAttribute("remote", "true");
|
||||
}
|
||||
|
||||
if (window.gShowPageResizers && document.getElementById("addon-bar").collapsed &&
|
||||
window.windowState == window.STATE_NORMAL) {
|
||||
b.setAttribute("showresizer", "true");
|
||||
|
@ -3208,14 +3208,22 @@ pref("network.tcp.sendbuffer", 131072);
|
||||
#endif
|
||||
|
||||
// Whether to disable acceleration for all widgets.
|
||||
#ifdef MOZ_E10S_COMPAT
|
||||
pref("layers.acceleration.disabled", true);
|
||||
#else
|
||||
pref("layers.acceleration.disabled", false);
|
||||
#endif
|
||||
|
||||
// Whether to force acceleration on, ignoring blacklists.
|
||||
pref("layers.acceleration.force-enabled", false);
|
||||
|
||||
#ifdef XP_WIN
|
||||
// Whether to disable the automatic detection and use of direct2d.
|
||||
#ifdef MOZ_E10S_COMPAT
|
||||
pref("gfx.direct2d.disabled", true);
|
||||
#else
|
||||
pref("gfx.direct2d.disabled", false);
|
||||
#endif
|
||||
// Whether to attempt to enable Direct2D regardless of automatic detection or
|
||||
// blacklisting
|
||||
pref("gfx.direct2d.force-enabled", false);
|
||||
|
Loading…
Reference in New Issue
Block a user