Bug 1697954 - Remove unused javascript.options.showInConsole prefs r=marionette-reviewers,webdriver-reviewers,mossop,remote-protocol-reviewers,whimboo

This dates back to a time before the browser console where the normal content
console could optionally show chrome code messages. Today it serves no use.

Differential Revision: https://phabricator.services.mozilla.com/D108130
This commit is contained in:
Ted Campbell 2021-03-15 19:50:41 +00:00
parent 67b89a3454
commit 0004fb8b5c
9 changed files with 0 additions and 16 deletions

View File

@ -620,7 +620,6 @@ pref("browser.bookmarks.defaultLocation", "toolbar");
// Scripts & Windows prefs
pref("dom.disable_open_during_load", true);
pref("javascript.options.showInConsole", true);
// allow JS to move and resize existing windows
pref("dom.disable_window_move_resize", false);

View File

@ -10,7 +10,6 @@ user_pref("dom.disable_open_during_load", false);
user_pref("dom.max_script_run_time", 0);
user_pref("dom.max_chrome_script_run_time", 0);
user_pref("javascript.allow.mailnews", true);
user_pref("javascript.options.showInConsole", true);
user_pref("layout.css.report_errors", true);
user_pref("browser.warnOnQuit", false);
user_pref("browser.cache.check_doc_frequency", 1);

View File

@ -470,8 +470,6 @@ pref("devtools.console.stdout.chrome", true);
pref("device.camera.enabled", true);
pref("media.realtime_decoder.enabled", true);
pref("javascript.options.showInConsole", true);
pref("full-screen-api.enabled", true);
pref("direct-texture.force.enabled", false);

View File

@ -1202,8 +1202,6 @@ pref("javascript.options.mem.gc_helper_thread_ratio", 50);
// JSGC_MAX_HELPER_THREADS
pref("javascript.options.mem.gc_max_helper_threads", 8);
pref("javascript.options.showInConsole", false);
pref("javascript.options.shared_memory", true);
pref("javascript.options.throw_on_debuggee_would_run", false);

View File

@ -508,8 +508,6 @@ class FirefoxLauncher implements ProductLauncher {
'geo.wifi.scan': false,
// No hang monitor
'hangmonitor.timeout': 0,
// Show chrome errors and warnings in the error console
'javascript.options.showInConsole': true,
// Disable download and usage of OpenH264: and Widevine plugins
'media.gmp-manager.updateEnabled': false,

View File

@ -120,9 +120,6 @@ lazy_static! {
// that may cause unexpected test timeouts.
("idle.lastDailyNotification", Pref::new(-1)),
// Show chrome errors and warnings in the error console
("javascript.options.showInConsole", Pref::new(true)),
// Disable download and usage of OpenH264, and Widevine plugins
("media.gmp-manager.updateEnabled", Pref::new(false)),

View File

@ -84,7 +84,6 @@ class GeckoInstance(object):
# Disable idle-daily notifications to avoid expensive operations
# that may cause unexpected test timeouts.
"idle.lastDailyNotification": -1,
"javascript.options.showInConsole": True,
# Disable recommended automation prefs in CI
"marionette.prefs.recommended": False,
# Disable download and usage of OpenH264, and Widevine plugins

View File

@ -241,9 +241,6 @@ const RECOMMENDED_PREFS = new Map([
// Do not scan Wifi
["geo.wifi.scan", false],
// Show chrome errors and warnings in the error console
["javascript.options.showInConsole", true],
// Do not prompt with long usernames or passwords in URLs
["network.http.phishy-userpass-length", 255],

View File

@ -146,7 +146,6 @@ user_pref("identity.fxaccounts.remote.root", "https://{server}/");
// Avoid idle-daily notifications, to avoid expensive operations that may
// cause unexpected test timeouts.
user_pref("idle.lastDailyNotification", -1);
user_pref("javascript.options.showInConsole", true);
// Make sure CSS error reporting is enabled for tests
user_pref("layout.css.report_errors", true);
// Disable spammy layout warnings because they pollute test logs