diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js index 4acab2ef10a3..c955b6b5f328 100644 --- a/browser/app/profile/firefox.js +++ b/browser/app/profile/firefox.js @@ -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); diff --git a/js/src/tests/user.js b/js/src/tests/user.js index 605dbf1ed952..830a7e64fcd5 100644 --- a/js/src/tests/user.js +++ b/js/src/tests/user.js @@ -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); diff --git a/mobile/android/app/mobile.js b/mobile/android/app/mobile.js index 87e7238550cb..c8df4969ec56 100644 --- a/mobile/android/app/mobile.js +++ b/mobile/android/app/mobile.js @@ -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); diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 06e81aa7484d..b49b64a7a44c 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -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); diff --git a/remote/test/puppeteer/src/node/Launcher.ts b/remote/test/puppeteer/src/node/Launcher.ts index 8ca62db389cc..309f50b39e62 100644 --- a/remote/test/puppeteer/src/node/Launcher.ts +++ b/remote/test/puppeteer/src/node/Launcher.ts @@ -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, diff --git a/testing/geckodriver/src/prefs.rs b/testing/geckodriver/src/prefs.rs index 075d0c680984..33da0e5caae1 100644 --- a/testing/geckodriver/src/prefs.rs +++ b/testing/geckodriver/src/prefs.rs @@ -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)), diff --git a/testing/marionette/client/marionette_driver/geckoinstance.py b/testing/marionette/client/marionette_driver/geckoinstance.py index 0bc04b3d0c24..046032496f40 100644 --- a/testing/marionette/client/marionette_driver/geckoinstance.py +++ b/testing/marionette/client/marionette_driver/geckoinstance.py @@ -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 diff --git a/testing/marionette/components/marionette.js b/testing/marionette/components/marionette.js index 6dd4031ec8d2..aff8afcdfd52 100644 --- a/testing/marionette/components/marionette.js +++ b/testing/marionette/components/marionette.js @@ -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], diff --git a/testing/profiles/unittest-required/user.js b/testing/profiles/unittest-required/user.js index fd589e4c1c4d..4030ec205950 100644 --- a/testing/profiles/unittest-required/user.js +++ b/testing/profiles/unittest-required/user.js @@ -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