summaryrefslogtreecommitdiffstats
path: root/devtools/client/preferences
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
commit2aa4a82499d4becd2284cdb482213d541b8804dd (patch)
treeb80bf8bf13c3766139fbacc530efd0dd9d54394c /devtools/client/preferences
parentInitial commit. (diff)
downloadfirefox-2aa4a82499d4becd2284cdb482213d541b8804dd.tar.xz
firefox-2aa4a82499d4becd2284cdb482213d541b8804dd.zip
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'devtools/client/preferences')
-rw-r--r--devtools/client/preferences/debugger.js88
-rw-r--r--devtools/client/preferences/moz.build9
2 files changed, 97 insertions, 0 deletions
diff --git a/devtools/client/preferences/debugger.js b/devtools/client/preferences/debugger.js
new file mode 100644
index 0000000000..ffb0d21f22
--- /dev/null
+++ b/devtools/client/preferences/debugger.js
@@ -0,0 +1,88 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
+
+// Most devtools prefs are found in browser/app/profile/firefox.js. The
+// debugger prefs are separate so they can be easily mirrored to the debugger
+// project on GitHub, here:
+// https://github.com/firefox-devtools/debugger/blob/master/assets/panel/prefs.js
+
+// Enable the Debugger
+pref("devtools.debugger.enabled", true);
+pref("devtools.debugger.chrome-debugging-host", "localhost");
+pref("devtools.debugger.chrome-debugging-websocket", false);
+pref("devtools.debugger.remote-host", "localhost");
+pref("devtools.debugger.remote-timeout", 20000);
+pref("devtools.debugger.pause-on-exceptions", false);
+pref("devtools.debugger.ignore-caught-exceptions", true);
+pref("devtools.debugger.pause-on-caught-exceptions", true);
+pref("devtools.debugger.pretty-print-enabled", true);
+pref("devtools.debugger.alphabetize-outline", false);
+pref("devtools.debugger.auto-pretty-print", false);
+pref("devtools.debugger.auto-black-box", true);
+pref("devtools.debugger.workers", false);
+
+// The debugger pref's schema defaults to 0 so that it can be managed
+// by utils/prefs.js in verifySchema. Bug 1565485
+pref("devtools.debugger.prefs-schema-version", 0);
+pref("devtools.debugger.ui.panes-workers-and-sources-width", 200);
+pref("devtools.debugger.ui.panes-instruments-width", 300);
+pref("devtools.debugger.ui.panes-visible-on-startup", false);
+pref("devtools.debugger.ui.variables-sorting-enabled", true);
+pref("devtools.debugger.ui.variables-only-enum-visible", false);
+pref("devtools.debugger.ui.variables-searchbox-visible", false);
+pref("devtools.debugger.ui.framework-grouping-on", true);
+pref("devtools.debugger.ui.editor-wrapping", false);
+pref("devtools.debugger.call-stack-visible", true);
+pref("devtools.debugger.scopes-visible", true);
+pref("devtools.debugger.component-visible", false);
+pref("devtools.debugger.workers-visible", false);
+pref("devtools.debugger.breakpoints-visible", true);
+pref("devtools.debugger.expressions-visible", false);
+pref("devtools.debugger.dom-mutation-breakpoints-visible", false);
+pref("devtools.debugger.xhr-breakpoints-visible", false);
+pref("devtools.debugger.event-listeners-visible", false);
+pref("devtools.debugger.start-panel-collapsed", false);
+pref("devtools.debugger.end-panel-collapsed", false);
+pref("devtools.debugger.start-panel-size", 300);
+pref("devtools.debugger.end-panel-size", 300);
+pref("devtools.debugger.tabs", "[]");
+pref("devtools.debugger.tabsBlackBoxed", "[]");
+pref("devtools.debugger.pending-selected-location", "{}");
+pref("devtools.debugger.pending-breakpoints", "{}");
+pref("devtools.debugger.expressions", "[]");
+pref("devtools.debugger.file-search-case-sensitive", false);
+pref("devtools.debugger.file-search-whole-word", false);
+pref("devtools.debugger.file-search-regex-match", false);
+pref("devtools.debugger.project-directory-root", "");
+pref("devtools.debugger.skip-pausing", false);
+pref("devtools.debugger.logging", false);
+pref("devtools.debugger.map-scopes-enabled", false);
+pref("devtools.debugger.log-actions", false);
+pref("devtools.debugger.log-event-breakpoints", false);
+
+pref("devtools.debugger.features.wasm", true);
+pref("devtools.debugger.features.shortcuts", true);
+pref("devtools.debugger.features.root", true);
+pref("devtools.debugger.features.column-breakpoints", true);
+pref("devtools.debugger.features.chrome-scopes", false);
+pref("devtools.debugger.features.map-scopes", true);
+pref("devtools.debugger.features.remove-command-bar-options", false);
+pref("devtools.debugger.features.workers", true);
+pref("devtools.debugger.features.code-coverage", false);
+pref("devtools.debugger.features.code-folding", false);
+pref("devtools.debugger.features.command-click", false);
+pref("devtools.debugger.features.outline", true);
+pref("devtools.debugger.features.component-pane", false);
+pref("devtools.debugger.features.async-stepping", false);
+pref("devtools.debugger.features.skip-pausing", true);
+pref("devtools.debugger.features.autocomplete-expressions", false);
+pref("devtools.debugger.features.map-expression-bindings", true);
+pref("devtools.debugger.features.xhr-breakpoints", true);
+pref("devtools.debugger.features.original-blackbox", true);
+pref("devtools.debugger.features.event-listeners-breakpoints", true);
+pref("devtools.debugger.features.dom-mutation-breakpoints", true);
+pref("devtools.debugger.features.log-points", true);
+pref("devtools.debugger.features.overlay", true);
+pref("devtools.debugger.features.inline-preview", true);
+pref("devtools.debugger.features.frame-step", true);
diff --git a/devtools/client/preferences/moz.build b/devtools/client/preferences/moz.build
new file mode 100644
index 0000000000..fa8847b64d
--- /dev/null
+++ b/devtools/client/preferences/moz.build
@@ -0,0 +1,9 @@
+# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
+# vim: set filetype=python:
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+JS_PREFERENCE_FILES += [
+ "debugger.js",
+]