forked from mirrors/gecko-dev
Bug 1769601 - Remove dom.ipc.plugins.* prefs r=tjr,geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D180389
This commit is contained in:
parent
fe4d19a7cd
commit
df6b6b8178
5 changed files with 0 additions and 71 deletions
|
|
@ -1368,17 +1368,6 @@ pref("browser.bookmarks.editDialog.maxRecentFolders", 7);
|
||||||
pref("security.sandbox.content.tempDirSuffix", "");
|
pref("security.sandbox.content.tempDirSuffix", "");
|
||||||
#endif
|
#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
|
|
||||||
// OS calls in the plugin process, then arranging to make certain OS calls
|
|
||||||
// in the browser process. Eventually plugins will be required to use the
|
|
||||||
// NPAPI to manipulate the cursor, and these workarounds will be removed.
|
|
||||||
// See bug 621117.
|
|
||||||
#ifdef XP_MACOSX
|
|
||||||
pref("dom.ipc.plugins.nativeCursorSupport", true);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef XP_WIN
|
#ifdef XP_WIN
|
||||||
pref("browser.taskbar.previews.enable", false);
|
pref("browser.taskbar.previews.enable", false);
|
||||||
pref("browser.taskbar.previews.max", 20);
|
pref("browser.taskbar.previews.max", 20);
|
||||||
|
|
|
||||||
|
|
@ -286,7 +286,6 @@ pref("browser.ui.selection.distance", 250);
|
||||||
|
|
||||||
// plugins
|
// plugins
|
||||||
pref("plugin.disable", true);
|
pref("plugin.disable", true);
|
||||||
pref("dom.ipc.plugins.enabled", false);
|
|
||||||
|
|
||||||
// product URLs
|
// product URLs
|
||||||
// The breakpad report server to link to in about:crashes
|
// The breakpad report server to link to in about:crashes
|
||||||
|
|
|
||||||
|
|
@ -2903,23 +2903,6 @@
|
||||||
value: @IS_NOT_RELEASE_OR_BETA@
|
value: @IS_NOT_RELEASE_OR_BETA@
|
||||||
mirror: once
|
mirror: once
|
||||||
|
|
||||||
# Allow Flash async drawing mode in 64-bit release builds.
|
|
||||||
- name: dom.ipc.plugins.asyncdrawing.enabled
|
|
||||||
type: RelaxedAtomicBool
|
|
||||||
value: true
|
|
||||||
mirror: always
|
|
||||||
|
|
||||||
# How long we wait before unloading an idle plugin process.
|
|
||||||
- name: dom.ipc.plugins.unloadTimeoutSecs
|
|
||||||
type: RelaxedAtomicUint32
|
|
||||||
value: 30
|
|
||||||
mirror: always
|
|
||||||
|
|
||||||
- name: dom.ipc.plugins.allow_dxgi_surface
|
|
||||||
type: bool
|
|
||||||
value: true
|
|
||||||
mirror: always
|
|
||||||
|
|
||||||
# Enable e10s hang monitoring (slow script checking and plugin hang detection).
|
# Enable e10s hang monitoring (slow script checking and plugin hang detection).
|
||||||
- name: dom.ipc.processHangMonitor
|
- name: dom.ipc.processHangMonitor
|
||||||
type: bool
|
type: bool
|
||||||
|
|
|
||||||
|
|
@ -2054,47 +2054,6 @@ pref("plugins.navigator.hidden_ctp_plugin", "");
|
||||||
// The default value for nsIPluginTag.enabledState (STATE_ENABLED = 2)
|
// The default value for nsIPluginTag.enabledState (STATE_ENABLED = 2)
|
||||||
pref("plugin.default.state", 2);
|
pref("plugin.default.state", 2);
|
||||||
|
|
||||||
// Set IPC timeouts for plugins and tabs, except in leak-checking and
|
|
||||||
// dynamic analysis builds. (NS_FREE_PERMANENT_DATA is C++ only, so
|
|
||||||
// approximate its definition here.)
|
|
||||||
#if !defined(DEBUG) && !defined(MOZ_ASAN) && !defined(MOZ_VALGRIND) && !defined(MOZ_TSAN)
|
|
||||||
// How long a plugin is allowed to process a synchronous IPC message
|
|
||||||
// before we consider it "hung".
|
|
||||||
pref("dom.ipc.plugins.timeoutSecs", 45);
|
|
||||||
// How long a plugin process will wait for a response from the parent
|
|
||||||
// to a synchronous request before terminating itself. After this
|
|
||||||
// point the child assumes the parent is hung. Currently disabled.
|
|
||||||
pref("dom.ipc.plugins.parentTimeoutSecs", 0);
|
|
||||||
// How long a plugin in e10s is allowed to process a synchronous IPC
|
|
||||||
// message before we notify the chrome process of a hang.
|
|
||||||
pref("dom.ipc.plugins.contentTimeoutSecs", 10);
|
|
||||||
// How long a plugin launch is allowed to take before
|
|
||||||
// we consider it failed.
|
|
||||||
pref("dom.ipc.plugins.processLaunchTimeoutSecs", 45);
|
|
||||||
#ifdef XP_WIN
|
|
||||||
// How long a plugin is allowed to process a synchronous IPC message
|
|
||||||
// before we display the plugin hang UI
|
|
||||||
pref("dom.ipc.plugins.hangUITimeoutSecs", 11);
|
|
||||||
// Minimum time that the plugin hang UI will be displayed
|
|
||||||
pref("dom.ipc.plugins.hangUIMinDisplaySecs", 10);
|
|
||||||
#endif
|
|
||||||
#else
|
|
||||||
// No timeout in leak-checking builds
|
|
||||||
pref("dom.ipc.plugins.timeoutSecs", 0);
|
|
||||||
pref("dom.ipc.plugins.contentTimeoutSecs", 0);
|
|
||||||
pref("dom.ipc.plugins.processLaunchTimeoutSecs", 0);
|
|
||||||
pref("dom.ipc.plugins.parentTimeoutSecs", 0);
|
|
||||||
#ifdef XP_WIN
|
|
||||||
pref("dom.ipc.plugins.hangUITimeoutSecs", 0);
|
|
||||||
pref("dom.ipc.plugins.hangUIMinDisplaySecs", 0);
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
pref("dom.ipc.plugins.reportCrashURL", true);
|
|
||||||
|
|
||||||
// Force the accelerated direct path for a subset of Flash wmode values
|
|
||||||
pref("dom.ipc.plugins.forcedirect.enabled", true);
|
|
||||||
|
|
||||||
// Enable multi by default.
|
// Enable multi by default.
|
||||||
#if !defined(MOZ_ASAN) && !defined(MOZ_TSAN)
|
#if !defined(MOZ_ASAN) && !defined(MOZ_TSAN)
|
||||||
pref("dom.ipc.processCount", 8);
|
pref("dom.ipc.processCount", 8);
|
||||||
|
|
|
||||||
|
|
@ -270,7 +270,6 @@ const DEFAULT_ENVIRONMENT_PREFS = new Map([
|
||||||
["devtools.debugger.enabled", { what: RECORD_PREF_VALUE }],
|
["devtools.debugger.enabled", { what: RECORD_PREF_VALUE }],
|
||||||
["devtools.debugger.remote-enabled", { what: RECORD_PREF_VALUE }],
|
["devtools.debugger.remote-enabled", { what: RECORD_PREF_VALUE }],
|
||||||
["doh-rollout.doorhanger-decision", { what: RECORD_PREF_VALUE }],
|
["doh-rollout.doorhanger-decision", { what: RECORD_PREF_VALUE }],
|
||||||
["dom.ipc.plugins.enabled", { what: RECORD_PREF_VALUE }],
|
|
||||||
["dom.ipc.processCount", { what: RECORD_PREF_VALUE }],
|
["dom.ipc.processCount", { what: RECORD_PREF_VALUE }],
|
||||||
["dom.max_script_run_time", { what: RECORD_PREF_VALUE }],
|
["dom.max_script_run_time", { what: RECORD_PREF_VALUE }],
|
||||||
["editor.truncate_user_pastes", { what: RECORD_PREF_VALUE }],
|
["editor.truncate_user_pastes", { what: RECORD_PREF_VALUE }],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue