|
@@ -1,50 +1,11 @@
|
|
# HG changeset patch
|
|
# HG changeset patch
|
|
# User Matt A. Tobin <email@mattatobin.com>
|
|
# User Matt A. Tobin <email@mattatobin.com>
|
|
-# Date 1722343300 18000
|
|
|
|
-# Tue Jul 30 07:41:40 2024 -0500
|
|
|
|
-# Node ID 04b7b3fda5f991ce0913f3391a57d9839f946fe8
|
|
|
|
-# Parent 56357ac123e4f2989867d6fa59e18f93215efa08
|
|
|
|
-No Bug - Adapt a new component so that SeaMonkey can run.
|
|
|
|
|
|
+# Date 1722362462 18000
|
|
|
|
+# Tue Jul 30 13:01:02 2024 -0500
|
|
|
|
+# Node ID e82da9c74fb387f15d559cf2df9afcc01058c5a5
|
|
|
|
+# Parent 9cd645ab3ebd72330c3f34df2926153d2ef380c2
|
|
|
|
+No Bug - Create an isolated dianostic component for the suite.
|
|
|
|
|
|
-diff --git a/suite/branding/seamonkey/locales/en-US/brand.ftl b/suite/branding/seamonkey/locales/en-US/brand.ftl
|
|
|
|
-new file mode 100644
|
|
|
|
---- /dev/null
|
|
|
|
-+++ b/suite/branding/seamonkey/locales/en-US/brand.ftl
|
|
|
|
-@@ -0,0 +1,21 @@
|
|
|
|
-+# 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/.
|
|
|
|
-+
|
|
|
|
-+## SeaMonkey Brand
|
|
|
|
-+##
|
|
|
|
-+## SeaMonkey must be treated as a brand, and kept in English.
|
|
|
|
-+## It cannot be:
|
|
|
|
-+## - Transliterated.
|
|
|
|
-+## - Translated.
|
|
|
|
-+##
|
|
|
|
-+## Reference: https://www.mozilla.org/styleguide/communications/translation/
|
|
|
|
-+
|
|
|
|
-+-brand-shorter-name = SeaMonkey
|
|
|
|
-+-brand-short-name = SeaMonkey
|
|
|
|
-+-brand-full-name = SeaMonkey
|
|
|
|
-+# This brand name can be used in messages where the product name needs to
|
|
|
|
-+# remain unchanged across different versions (Daily, Beta, etc.).
|
|
|
|
-+-brand-product-name = SeaMonkey
|
|
|
|
-+-vendor-short-name = SeaMonkey e.V.
|
|
|
|
-+trademarkInfo = { " " }
|
|
|
|
-diff --git a/suite/branding/seamonkey/locales/jar.mn b/suite/branding/seamonkey/locales/jar.mn
|
|
|
|
---- a/suite/branding/seamonkey/locales/jar.mn
|
|
|
|
-+++ b/suite/branding/seamonkey/locales/jar.mn
|
|
|
|
-@@ -1,6 +1,9 @@
|
|
|
|
- #filter substitution
|
|
|
|
-
|
|
|
|
-+[localization] @AB_CD@.jar:
|
|
|
|
-+ branding (en-US/**/*.ftl)
|
|
|
|
-+
|
|
|
|
- @AB_CD@.jar:
|
|
|
|
- % locale branding @AB_CD@ %locale/@AB_CD@/branding/
|
|
|
|
- locale/@AB_CD@/branding/brand.dtd (%brand.dtd)
|
|
|
|
- locale/@AB_CD@/branding/brand.properties (%brand.properties)
|
|
|
|
diff --git a/suite/buoy/ATTN-CC-SUITE-PATCHERS.txt b/suite/buoy/ATTN-CC-SUITE-PATCHERS.txt
|
|
diff --git a/suite/buoy/ATTN-CC-SUITE-PATCHERS.txt b/suite/buoy/ATTN-CC-SUITE-PATCHERS.txt
|
|
new file mode 100644
|
|
new file mode 100644
|
|
--- /dev/null
|
|
--- /dev/null
|
|
@@ -68,7 +29,7 @@ new file mode 100644
|
|
--- /dev/null
|
|
--- /dev/null
|
|
+++ b/suite/buoy/ZZ-buoy-prefs.js
|
|
+++ b/suite/buoy/ZZ-buoy-prefs.js
|
|
@@ -0,0 +1,2 @@
|
|
@@ -0,0 +1,2 @@
|
|
-+//pref("toolkit.defaultChromeURI", "chrome://buoy/content/buoy.xhtml");
|
|
|
|
|
|
++pref("toolkit.defaultChromeURI", "chrome://buoy/content/buoy.xhtml");
|
|
+pref("prompts.contentPromptSubDialog", false);
|
|
+pref("prompts.contentPromptSubDialog", false);
|
|
diff --git a/suite/buoy/content/buoy.css b/suite/buoy/content/buoy.css
|
|
diff --git a/suite/buoy/content/buoy.css b/suite/buoy/content/buoy.css
|
|
new file mode 100644
|
|
new file mode 100644
|
|
@@ -88,14 +49,18 @@ diff --git a/suite/buoy/content/buoy.js b/suite/buoy/content/buoy.js
|
|
new file mode 100644
|
|
new file mode 100644
|
|
--- /dev/null
|
|
--- /dev/null
|
|
+++ b/suite/buoy/content/buoy.js
|
|
+++ b/suite/buoy/content/buoy.js
|
|
-@@ -0,0 +1,37 @@
|
|
|
|
|
|
+@@ -0,0 +1,85 @@
|
|
+/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
+/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
+/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
+/* 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
|
|
+ * 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/. */
|
|
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
+
|
|
+
|
|
-+var { EzE10SUtils } = ChromeUtils.import("resource:///modules/EzE10SUtils.jsm");
|
|
|
|
|
|
++// e10s
|
|
|
|
++var { EzE10SUtils } = ChromeUtils.importESModule(
|
|
|
|
++ "resource:///modules/EzE10SUtils.sys.mjs"
|
|
|
|
++);
|
|
+
|
|
+
|
|
|
|
++// Devtools
|
|
+ChromeUtils.defineESModuleGetters(this, {
|
|
+ChromeUtils.defineESModuleGetters(this, {
|
|
+ BrowserToolboxLauncher: "resource://devtools/client/framework/browser-toolbox/Launcher.sys.mjs",
|
|
+ BrowserToolboxLauncher: "resource://devtools/client/framework/browser-toolbox/Launcher.sys.mjs",
|
|
+});
|
|
+});
|
|
@@ -109,28 +74,72 @@ new file mode 100644
|
|
+ enumerable: true,
|
|
+ enumerable: true,
|
|
+});
|
|
+});
|
|
+
|
|
+
|
|
-+var MainBuoyFunctions = {
|
|
|
|
-+ startup: function() {
|
|
|
|
|
|
++// Main functions
|
|
|
|
++var gBuoy = {
|
|
|
|
++ homepage: "about:version",
|
|
|
|
++ toContent: function(aURL) {
|
|
+ var browser = document.getElementById("main-browser");
|
|
+ var browser = document.getElementById("main-browser");
|
|
-+ var homepage = "about:config";
|
|
|
|
-+ EzE10SUtils.loadAboutBlank(browser);
|
|
|
|
-+ EzE10SUtils.loadURI(browser, homepage);
|
|
|
|
|
|
++ EzE10SUtils.loadURI(browser, aURL);
|
|
|
|
++ },
|
|
|
|
++ toChrome: function(inType, uri, features, args) {
|
|
|
|
++ var topWindow = Services.wm.getMostRecentWindow(inType);
|
|
|
|
++
|
|
|
|
++ if (topWindow) {
|
|
|
|
++ topWindow.focus();
|
|
|
|
++ } else if (features) {
|
|
|
|
++ Services.ww.openWindow(null, uri, "_blank", features, args);
|
|
|
|
++ } else {
|
|
|
|
++ Services.ww.openWindow(
|
|
|
|
++ null,
|
|
|
|
++ uri,
|
|
|
|
++ "_blank",
|
|
|
|
++ "chrome,all,dialog=no,extrachrome,menubar,resizable,scrollbars," +
|
|
|
|
++ "status,location,toolbar,personalbar",
|
|
|
|
++ args
|
|
|
|
++ );
|
|
|
|
++ }
|
|
|
|
++ },
|
|
|
|
++ navHome: function() {
|
|
|
|
++ var browser = document.getElementById("main-browser");
|
|
|
|
++ EzE10SUtils.loadURI(browser, this.homepage);
|
|
+ },
|
|
+ },
|
|
-+ openURL: function(aURL) {
|
|
|
|
-+ EzE10SUtils.loadURI(document.getElementById("main-browser"), aURL);
|
|
|
|
|
|
++ navigation: function(aNaviCmd) {
|
|
|
|
++ var browser = document.getElementById("main-browser");
|
|
|
|
++ switch (aNaviCmd) {
|
|
|
|
++ case 'back':
|
|
|
|
++ browser.goBack();
|
|
|
|
++ break;
|
|
|
|
++ case 'forward':
|
|
|
|
++ browser.goForward();
|
|
|
|
++ break;
|
|
|
|
++ case 'reload':
|
|
|
|
++ browser.reload();
|
|
|
|
++ break;
|
|
|
|
++ case 'stop':
|
|
|
|
++ browser.stop();
|
|
|
|
++ break;
|
|
|
|
++ default:
|
|
|
|
++ gBuoy.navHome();
|
|
|
|
++ }
|
|
+ },
|
|
+ },
|
|
+ devtools: function() { BrowserToolboxLauncher.init(); },
|
|
+ devtools: function() { BrowserToolboxLauncher.init(); },
|
|
+ quitApp: function() { Services.startup.quit(Services.startup.eAttemptQuit); },
|
|
+ quitApp: function() { Services.startup.quit(Services.startup.eAttemptQuit); },
|
|
|
|
++ startup: function() {
|
|
|
|
++ var browser = document.getElementById("main-browser");
|
|
|
|
++ EzE10SUtils.loadAboutBlank(browser);
|
|
|
|
++ gBuoy.navHome();
|
|
|
|
++ },
|
|
+}
|
|
+}
|
|
+
|
|
+
|
|
|
|
++// Devtools Compat
|
|
+function openWebLinkIn(url, where, params) {
|
|
+function openWebLinkIn(url, where, params) {
|
|
-+ MainBuoyFunctions.openURL(url);
|
|
|
|
|
|
++ gBuoy.toContent(url);
|
|
+}
|
|
+}
|
|
diff --git a/suite/buoy/content/buoy.xhtml b/suite/buoy/content/buoy.xhtml
|
|
diff --git a/suite/buoy/content/buoy.xhtml b/suite/buoy/content/buoy.xhtml
|
|
new file mode 100644
|
|
new file mode 100644
|
|
--- /dev/null
|
|
--- /dev/null
|
|
+++ b/suite/buoy/content/buoy.xhtml
|
|
+++ b/suite/buoy/content/buoy.xhtml
|
|
-@@ -0,0 +1,65 @@
|
|
|
|
|
|
+@@ -0,0 +1,155 @@
|
|
+<?xml version="1.0"?>
|
|
+<?xml version="1.0"?>
|
|
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
+<!-- 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
|
|
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
@@ -159,32 +168,122 @@ new file mode 100644
|
|
+ scrolling="false"
|
|
+ scrolling="false"
|
|
+ persist="screenX screenY width height sizemode">
|
|
+ persist="screenX screenY width height sizemode">
|
|
+ <head>
|
|
+ <head>
|
|
-+ <title>SeaMonkey Buoy</title>
|
|
|
|
|
|
++ <title>SeaMonkey Diagnostic & Testing Buoy</title>
|
|
+ <link rel="stylesheet" href="chrome://global/skin/global.css" />
|
|
+ <link rel="stylesheet" href="chrome://global/skin/global.css" />
|
|
+ <link rel="stylesheet" href="chrome://buoy/content/buoy.css" />
|
|
+ <link rel="stylesheet" href="chrome://buoy/content/buoy.css" />
|
|
+ <script defer="defer" src="chrome://global/content/customElements.js" />
|
|
+ <script defer="defer" src="chrome://global/content/customElements.js" />
|
|
+ <script defer="defer" src="chrome://buoy/content/buoy.js" />
|
|
+ <script defer="defer" src="chrome://buoy/content/buoy.js" />
|
|
+ <script>
|
|
+ <script>
|
|
-+ window.addEventListener("load", MainBuoyFunctions.startup);
|
|
|
|
|
|
++ window.addEventListener("load", gBuoy.startup);
|
|
+ </script>
|
|
+ </script>
|
|
+ </head>
|
|
+ </head>
|
|
+ <body xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
+ <body xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
+
|
|
+
|
|
+ <commandset id="mainCommandSet">
|
|
+ <commandset id="mainCommandSet">
|
|
-+ <command id="cmd_Exit" oncommand="MainBuoyFunctions.quitApp();"/>
|
|
|
|
-+ <command id="cmd_DevTools" oncommand="MainBuoyFunctions.devtools();"/>
|
|
|
|
|
|
++ <command id="cmd_Exit"
|
|
|
|
++ oncommand="gBuoy.quitApp();"/>
|
|
|
|
++ <command id="cmd_DevTools"
|
|
|
|
++ oncommand="gBuoy.devtools();"/>
|
|
|
|
++
|
|
|
|
++ <command id="cmd_Navigator"
|
|
|
|
++ oncommand="gBuoy.toChrome('navigator:browser',
|
|
|
|
++ 'chrome://navigator/content/navigator.xhtml');"/>
|
|
|
|
++ <command id="cmd_MailNews"
|
|
|
|
++ oncommand="gBuoy.toChrome('mail:3pane',
|
|
|
|
++ 'chrome://messenger/content/messenger.xhtml');"/>
|
|
|
|
++ <command id="cmd_Composer"
|
|
|
|
++ oncommand="gBuoy.toChrome('composer:html',
|
|
|
|
++ 'chrome://editor/content/editor.xhtml');"/>
|
|
|
|
++ <command id="cmd_Preferences"
|
|
|
|
++ oncommand="gBuoy.toChrome('mozilla:preferences',
|
|
|
|
++ 'chrome://communicator/content/pref/preferences.xhtml');"/>
|
|
|
|
++
|
|
|
|
++ <command id="cmd_AboutAbout"
|
|
|
|
++ oncommand="gBuoy.toContent('about:about');"/>
|
|
|
|
++ <command id="cmd_AboutConfig"
|
|
|
|
++ oncommand="gBuoy.toContent('about:config');"/>
|
|
|
|
++ <command id="cmd_AboutSupport"
|
|
|
|
++ oncommand="gBuoy.toContent('about:support');"/>
|
|
|
|
++ <command id="cmd_AboutVersion"
|
|
|
|
++ oncommand="gBuoy.toContent('about:version');"/>
|
|
|
|
++
|
|
|
|
++ <command id="cmd_NavHome"
|
|
|
|
++ oncommand="gBuoy.navHome();"/>
|
|
|
|
++
|
|
|
|
++ <command id="cmd_NavBack"
|
|
|
|
++ oncommand="gBuoy.navigation('back');"/>
|
|
|
|
++ <command id="cmd_NavForward"
|
|
|
|
++ oncommand="gBuoy.navigation('forward');"/>
|
|
|
|
++ <command id="cmd_NavReload"
|
|
|
|
++ oncommand="gBuoy.navigation('reload');"/>
|
|
|
|
++ <command id="cmd_NavStop"
|
|
|
|
++ oncommand="gBuoy.navigation('stop');"/>
|
|
|
|
++
|
|
|
|
++ <command id="cmd_SeaMonkeyHomePage"
|
|
|
|
++ oncommand="gBuoy.toContent('https://www.seamonkey-project.org/');"/>
|
|
|
|
++ <command id="cmd_GetInvolved"
|
|
|
|
++ oncommand="gBuoy.toContent('https://www.seamonkey-project.org/dev/get-involved');"/>
|
|
|
|
++
|
|
+ </commandset>
|
|
+ </commandset>
|
|
+
|
|
+
|
|
+ <vbox flex="1">
|
|
+ <vbox flex="1">
|
|
-+ <toolbox id="buoy-toolbox">
|
|
|
|
|
|
++ <toolbox id="main-toolbox" style="border-bottom: 1px solid ThreeDShadow;">
|
|
+ <menubar id="main-menubar">
|
|
+ <menubar id="main-menubar">
|
|
+ <menu id="file-menu" label="File">
|
|
+ <menu id="file-menu" label="File">
|
|
+ <menupopup id="file-popup">
|
|
+ <menupopup id="file-popup">
|
|
-+ <menuitem label="DevTools" command="cmd_DevTools"/>
|
|
|
|
+ <menuitem label="Exit" command="cmd_Exit"/>
|
|
+ <menuitem label="Exit" command="cmd_Exit"/>
|
|
+ </menupopup>
|
|
+ </menupopup>
|
|
+ </menu>
|
|
+ </menu>
|
|
|
|
++ <menu id="edit-menu" label="Edit">
|
|
|
|
++ <menupopup id="edit-popup">
|
|
|
|
++ <menuitem label="Configuration Editor" command="cmd_AboutConfig"/>
|
|
|
|
++ <menuitem label="Preferences" command="cmd_Preferences"/>
|
|
|
|
++ </menupopup>
|
|
|
|
++ </menu>
|
|
|
|
++ <menu id="go-menu" label="Go">
|
|
|
|
++ <menupopup id="components-popup">
|
|
|
|
++ <menuitem label="Back" command="cmd_NavBack"/>
|
|
|
|
++ <menuitem label="Forward" command="cmd_NavForward"/>
|
|
|
|
++ <menuitem label="Reload" command="cmd_NavReload"/>
|
|
|
|
++ <menuitem label="Stop" command="cmd_NavStop"/>
|
|
|
|
++ <menuitem label="Home" command="cmd_NavHome"/>
|
|
|
|
++ </menupopup>
|
|
|
|
++ </menu>
|
|
|
|
++ <menu id="components-menu" label="Components">
|
|
|
|
++ <menupopup id="components-popup">
|
|
|
|
++ <menuitem label="Browser" command="cmd_Navigator"/>
|
|
|
|
++ <menuitem label="Messenger" command="cmd_MailNews"/>
|
|
|
|
++ <menuitem label="Composer" command="cmd_Composer"/>
|
|
|
|
++ </menupopup>
|
|
|
|
++ </menu>
|
|
|
|
++ <menu id="tools-menu" label="Tools">
|
|
|
|
++ <menupopup id="tools-popup">
|
|
|
|
++ <menuitem label="About: Pages" command="cmd_AboutAbout"/>
|
|
|
|
++ <menuitem label="Developer Tools" command="cmd_DevTools"/>
|
|
|
|
++ </menupopup>
|
|
|
|
++ </menu>
|
|
|
|
++ <menu id="help-menu" label="Help">
|
|
|
|
++ <menupopup id="help-popup">
|
|
|
|
++ <menuitem label="Get Involved" command="cmd_GetInvolved"/>
|
|
|
|
++ <menuitem label="Troubleshooting Information" command="cmd_AboutSupport"/>
|
|
|
|
++ <menuitem label="About SeaMonkey" command="cmd_AboutVersion"/>
|
|
|
|
++ </menupopup>
|
|
|
|
++ </menu>
|
|
+ </menubar>
|
|
+ </menubar>
|
|
|
|
++ <toolbar id="navigation-toolbar">
|
|
|
|
++ <toolbarbutton id="back-button" label="< Back" command="cmd_NavBack"/>
|
|
|
|
++ <toolbarbutton id="forward-button" label="> Forward" command="cmd_NavForward"/>
|
|
|
|
++ <toolbarbutton id="reload-button" label="O Reload" command="cmd_NavReload"/>
|
|
|
|
++ <toolbarbutton id="stop-button" label="X Stop" command="cmd_NavStop"/>
|
|
|
|
++ <html:input id="urlbar" style="flex: 1; margin: 2px; padding: 4px;" placeholder="Enter a URL..." />
|
|
|
|
++ <toolbarbutton id="go-button" label="Go ->" oncommand="var urlbar = document.getElementById('urlbar');
|
|
|
|
++ gBuoy.toContent(urlbar.value);
|
|
|
|
++ urlbar.value = '';"/>
|
|
|
|
++ </toolbar>
|
|
|
|
++ <toolbar id="quick-links-toolbar">
|
|
|
|
++ <button label="SeaMonkey Homepage" command="cmd_SeaMonkeyHomePage"/>
|
|
|
|
++ <button label="Get Involved" command="cmd_GetInvolved"/>
|
|
|
|
++ </toolbar>
|
|
+ </toolbox>
|
|
+ </toolbox>
|
|
+ <browser id="main-browser"
|
|
+ <browser id="main-browser"
|
|
+ flex="1"
|
|
+ flex="1"
|
|
@@ -196,614 +295,6 @@ new file mode 100644
|
|
+ </body>
|
|
+ </body>
|
|
+</html>
|
|
+</html>
|
|
+
|
|
+
|
|
-diff --git a/suite/buoy/devtools/all-devtools.js b/suite/buoy/devtools/all-devtools.js
|
|
|
|
-new file mode 100644
|
|
|
|
---- /dev/null
|
|
|
|
-+++ b/suite/buoy/devtools/all-devtools.js
|
|
|
|
-@@ -0,0 +1,368 @@
|
|
|
|
-+// Developer Tools related preferences
|
|
|
|
-+pref("devtools.chrome.enabled", true);
|
|
|
|
-+pref("devtools.debugger.remote-enabled", true);
|
|
|
|
-+pref("devtools.selfxss.count", 5);
|
|
|
|
-+// Enable extensionStorage storage actor by default
|
|
|
|
-+pref("devtools.storage.extensionStorage.enabled", true);
|
|
|
|
-+
|
|
|
|
-+// Toolbox preferences
|
|
|
|
-+pref("devtools.toolbox.footer.height", 250);
|
|
|
|
-+pref("devtools.toolbox.sidebar.width", 500);
|
|
|
|
-+pref("devtools.toolbox.host", "bottom");
|
|
|
|
-+pref("devtools.toolbox.previousHost", "right");
|
|
|
|
-+pref("devtools.toolbox.selectedTool", "inspector");
|
|
|
|
-+pref("devtools.toolbox.sideEnabled", true);
|
|
|
|
-+pref("devtools.toolbox.zoomValue", "1");
|
|
|
|
-+pref("devtools.toolbox.splitconsoleEnabled", false);
|
|
|
|
-+pref("devtools.toolbox.splitconsoleHeight", 100);
|
|
|
|
-+pref("devtools.toolbox.tabsOrder", "");
|
|
|
|
-+pref("devtools.netmonitor.features.newEditAndResend", false);
|
|
|
|
-+
|
|
|
|
-+// The fission pref for enabling the "Multiprocess Browser Toolbox", which will
|
|
|
|
-+// make it possible to debug anything in Firefox (See Bug 1570639 for more
|
|
|
|
-+// information).
|
|
|
|
-+pref("devtools.browsertoolbox.fission", true);
|
|
|
|
-+
|
|
|
|
-+// When the Multiprocess Browser Toolbox is enabled, you can configure the scope of it:
|
|
|
|
-+// - "everything" will enable debugging absolutely everything in the browser
|
|
|
|
-+// All processes, all documents, all workers, all add-ons.
|
|
|
|
-+// - "parent-process" will restrict debugging to the parent process
|
|
|
|
-+// All privileged javascript, documents and workers running in the parent process.
|
|
|
|
-+pref("devtools.browsertoolbox.scope", "everything");
|
|
|
|
-+
|
|
|
|
-+// Toolbox Button preferences
|
|
|
|
-+pref("devtools.command-button-pick.enabled", true);
|
|
|
|
-+pref("devtools.command-button-frames.enabled", true);
|
|
|
|
-+pref("devtools.command-button-splitconsole.enabled", true);
|
|
|
|
-+pref("devtools.command-button-responsive.enabled", true);
|
|
|
|
-+pref("devtools.command-button-screenshot.enabled", false);
|
|
|
|
-+pref("devtools.command-button-rulers.enabled", false);
|
|
|
|
-+pref("devtools.command-button-measure.enabled", false);
|
|
|
|
-+pref("devtools.command-button-noautohide.enabled", false);
|
|
|
|
-+pref("devtools.command-button-errorcount.enabled", true);
|
|
|
|
-+ pref("devtools.command-button-experimental-prefs.enabled", true);
|
|
|
|
-+
|
|
|
|
-+// Inspector preferences
|
|
|
|
-+// Enable the Inspector
|
|
|
|
-+pref("devtools.inspector.enabled", true);
|
|
|
|
-+// What was the last active sidebar in the inspector
|
|
|
|
-+pref("devtools.inspector.selectedSidebar", "layoutview");
|
|
|
|
-+pref("devtools.inspector.activeSidebar", "layoutview");
|
|
|
|
-+pref("devtools.inspector.remote", false);
|
|
|
|
-+
|
|
|
|
-+// Enable the 3 pane mode in the inspector
|
|
|
|
-+pref("devtools.inspector.three-pane-enabled", true);
|
|
|
|
-+// Enable the 3 pane mode in the chrome inspector
|
|
|
|
-+pref("devtools.inspector.chrome.three-pane-enabled", false);
|
|
|
|
-+// Collapse pseudo-elements by default in the rule-view
|
|
|
|
-+pref("devtools.inspector.show_pseudo_elements", false);
|
|
|
|
-+// The default size for image preview tooltips in the rule-view/computed-view/markup-view
|
|
|
|
-+pref("devtools.inspector.imagePreviewTooltipSize", 300);
|
|
|
|
-+// Enable user agent style inspection in rule-view
|
|
|
|
-+pref("devtools.inspector.showUserAgentStyles", false);
|
|
|
|
-+// Show native anonymous content and user agent shadow roots
|
|
|
|
-+pref("devtools.inspector.showAllAnonymousContent", false);
|
|
|
|
-+// Enable the inline CSS compatibility warning in inspector rule view
|
|
|
|
-+pref("devtools.inspector.ruleview.inline-compatibility-warning.enabled", false);
|
|
|
|
-+// Enable the compatibility tool in the inspector.
|
|
|
|
-+pref("devtools.inspector.compatibility.enabled", true);
|
|
|
|
-+// Enable color scheme simulation in the inspector.
|
|
|
|
-+pref("devtools.inspector.color-scheme-simulation.enabled", true);
|
|
|
|
-+
|
|
|
|
-+// Grid highlighter preferences
|
|
|
|
-+pref("devtools.gridinspector.gridOutlineMaxColumns", 50);
|
|
|
|
-+pref("devtools.gridinspector.gridOutlineMaxRows", 50);
|
|
|
|
-+pref("devtools.gridinspector.showGridAreas", false);
|
|
|
|
-+pref("devtools.gridinspector.showGridLineNumbers", false);
|
|
|
|
-+pref("devtools.gridinspector.showInfiniteLines", false);
|
|
|
|
-+// Max number of grid highlighters that can be displayed
|
|
|
|
-+pref("devtools.gridinspector.maxHighlighters", 3);
|
|
|
|
-+
|
|
|
|
-+// Whether or not simplified highlighters should be used when
|
|
|
|
-+// prefers-reduced-motion is enabled.
|
|
|
|
-+pref("devtools.inspector.simple-highlighters-reduced-motion", false);
|
|
|
|
-+
|
|
|
|
-+// Whether or not the box model panel is opened in the layout view
|
|
|
|
-+pref("devtools.layout.boxmodel.opened", true);
|
|
|
|
-+// Whether or not the flexbox panel is opened in the layout view
|
|
|
|
-+pref("devtools.layout.flexbox.opened", true);
|
|
|
|
-+// Whether or not the flexbox container panel is opened in the layout view
|
|
|
|
-+pref("devtools.layout.flex-container.opened", true);
|
|
|
|
-+// Whether or not the flexbox item panel is opened in the layout view
|
|
|
|
-+pref("devtools.layout.flex-item.opened", true);
|
|
|
|
-+// Whether or not the grid inspector panel is opened in the layout view
|
|
|
|
-+pref("devtools.layout.grid.opened", true);
|
|
|
|
-+
|
|
|
|
-+// Enable hovering Box Model values and jumping to their source CSS rule in the
|
|
|
|
-+// rule-view.
|
|
|
|
-+#if defined(NIGHTLY_BUILD)
|
|
|
|
-+ pref("devtools.layout.boxmodel.highlightProperty", true);
|
|
|
|
-+#else
|
|
|
|
-+ pref("devtools.layout.boxmodel.highlightProperty", false);
|
|
|
|
-+#endif
|
|
|
|
-+
|
|
|
|
-+// By how many times eyedropper will magnify pixels
|
|
|
|
-+pref("devtools.eyedropper.zoom", 6);
|
|
|
|
-+
|
|
|
|
-+// Enable to collapse attributes that are too long.
|
|
|
|
-+pref("devtools.markup.collapseAttributes", true);
|
|
|
|
-+// Length to collapse attributes
|
|
|
|
-+pref("devtools.markup.collapseAttributeLength", 120);
|
|
|
|
-+// Whether to auto-beautify the HTML on copy.
|
|
|
|
-+pref("devtools.markup.beautifyOnCopy", false);
|
|
|
|
-+// Whether or not the DOM mutation breakpoints context menu are enabled in the
|
|
|
|
-+// markup view.
|
|
|
|
-+pref("devtools.markup.mutationBreakpoints.enabled", true);
|
|
|
|
-+
|
|
|
|
-+// DevTools default color unit
|
|
|
|
-+pref("devtools.defaultColorUnit", "authored");
|
|
|
|
-+
|
|
|
|
-+// Enable the Memory tools
|
|
|
|
-+pref("devtools.memory.enabled", true);
|
|
|
|
-+
|
|
|
|
-+pref("devtools.memory.custom-census-displays", "{}");
|
|
|
|
-+pref("devtools.memory.custom-label-displays", "{}");
|
|
|
|
-+pref("devtools.memory.custom-tree-map-displays", "{}");
|
|
|
|
-+
|
|
|
|
-+pref("devtools.memory.max-individuals", 1000);
|
|
|
|
-+pref("devtools.memory.max-retaining-paths", 10);
|
|
|
|
-+
|
|
|
|
-+// Enable the Performance tools
|
|
|
|
-+pref("devtools.performance.enabled", true);
|
|
|
|
-+// But not the pop-up.
|
|
|
|
-+pref("devtools.performance.popup.feature-flag", false);
|
|
|
|
-+// Override the default preset, which is "web-developer" on beta and release.
|
|
|
|
-+pref("devtools.performance.recording.preset", "firefox-platform");
|
|
|
|
-+pref("devtools.performance.recording.preset.remote", "firefox-platform");
|
|
|
|
-+
|
|
|
|
-+// The default cache UI setting
|
|
|
|
-+pref("devtools.cache.disabled", false);
|
|
|
|
-+
|
|
|
|
-+// The default service workers UI setting
|
|
|
|
-+pref("devtools.serviceWorkers.testing.enabled", false);
|
|
|
|
-+
|
|
|
|
-+// Enable the Network Monitor
|
|
|
|
-+pref("devtools.netmonitor.enabled", true);
|
|
|
|
-+
|
|
|
|
-+pref("devtools.netmonitor.features.search", true);
|
|
|
|
-+pref("devtools.netmonitor.features.requestBlocking", true);
|
|
|
|
-+
|
|
|
|
-+// Enable the Application panel
|
|
|
|
-+pref("devtools.application.enabled", false);
|
|
|
|
-+
|
|
|
|
-+// Enable the custom formatters feature
|
|
|
|
-+// This preference represents the user's choice to enable the custom formatters feature.
|
|
|
|
-+// While the preference above will be removed once the feature is stable, this one is menat to stay.
|
|
|
|
-+pref("devtools.custom-formatters.enabled", false);
|
|
|
|
-+
|
|
|
|
-+// The default Network Monitor UI settings
|
|
|
|
-+pref("devtools.netmonitor.panes-network-details-width", 550);
|
|
|
|
-+pref("devtools.netmonitor.panes-network-details-height", 450);
|
|
|
|
-+pref("devtools.netmonitor.panes-search-width", 550);
|
|
|
|
-+pref("devtools.netmonitor.panes-search-height", 450);
|
|
|
|
-+pref("devtools.netmonitor.filters", "[\"all\"]");
|
|
|
|
-+pref("devtools.netmonitor.visibleColumns",
|
|
|
|
-+ "[\"status\",\"method\",\"domain\",\"file\",\"initiator\",\"type\",\"transferred\",\"contentSize\",\"waterfall\"]"
|
|
|
|
-+);
|
|
|
|
-+pref("devtools.netmonitor.columnsData",
|
|
|
|
-+ '[{"name":"status","minWidth":30,"width":5}, {"name":"method","minWidth":30,"width":5}, {"name":"domain","minWidth":30,"width":10}, {"name":"file","minWidth":30,"width":25}, {"name":"url","minWidth":30,"width":25},{"name":"initiator","minWidth":30,"width":10},{"name":"type","minWidth":30,"width":5},{"name":"transferred","minWidth":30,"width":10},{"name":"contentSize","minWidth":30,"width":5},{"name":"waterfall","minWidth":150,"width":15}]');
|
|
|
|
-+pref("devtools.netmonitor.msg.payload-preview-height", 128);
|
|
|
|
-+pref("devtools.netmonitor.msg.visibleColumns",
|
|
|
|
-+ '["data", "time"]'
|
|
|
|
-+);
|
|
|
|
-+pref("devtools.netmonitor.msg.displayed-messages.limit", 500);
|
|
|
|
-+
|
|
|
|
-+pref("devtools.netmonitor.response.ui.limit", 10240);
|
|
|
|
-+
|
|
|
|
-+// Save request/response bodies yes/no.
|
|
|
|
-+pref("devtools.netmonitor.saveRequestAndResponseBodies", true);
|
|
|
|
-+
|
|
|
|
-+// The default Network monitor HAR export setting
|
|
|
|
-+pref("devtools.netmonitor.har.defaultLogDir", "");
|
|
|
|
-+pref("devtools.netmonitor.har.defaultFileName", "%hostname_Archive [%date]");
|
|
|
|
-+pref("devtools.netmonitor.har.jsonp", false);
|
|
|
|
-+pref("devtools.netmonitor.har.jsonpCallback", "");
|
|
|
|
-+pref("devtools.netmonitor.har.includeResponseBodies", true);
|
|
|
|
-+pref("devtools.netmonitor.har.compress", false);
|
|
|
|
-+pref("devtools.netmonitor.har.forceExport", false);
|
|
|
|
-+pref("devtools.netmonitor.har.pageLoadedTimeout", 1500);
|
|
|
|
-+pref("devtools.netmonitor.har.enableAutoExportToFile", false);
|
|
|
|
-+
|
|
|
|
-+pref("devtools.netmonitor.features.webSockets", true);
|
|
|
|
-+
|
|
|
|
-+// netmonitor audit
|
|
|
|
-+pref("devtools.netmonitor.audits.slow", 500);
|
|
|
|
-+
|
|
|
|
-+// Disable the EventSource Inspector.
|
|
|
|
-+pref("devtools.netmonitor.features.serverSentEvents", false);
|
|
|
|
-+
|
|
|
|
-+// Enable the Storage Inspector
|
|
|
|
-+pref("devtools.storage.enabled", true);
|
|
|
|
-+
|
|
|
|
-+// Enable the Style Editor.
|
|
|
|
-+pref("devtools.styleeditor.enabled", true);
|
|
|
|
-+pref("devtools.styleeditor.autocompletion-enabled", true);
|
|
|
|
-+pref("devtools.styleeditor.showMediaSidebar", true);
|
|
|
|
-+pref("devtools.styleeditor.mediaSidebarWidth", 238);
|
|
|
|
-+pref("devtools.styleeditor.navSidebarWidth", 245);
|
|
|
|
-+pref("devtools.styleeditor.transitions", true);
|
|
|
|
-+
|
|
|
|
-+// Screenshot Option Settings.
|
|
|
|
-+pref("devtools.screenshot.clipboard.enabled", false);
|
|
|
|
-+pref("devtools.screenshot.audio.enabled", true);
|
|
|
|
-+
|
|
|
|
-+// Make sure the DOM panel is hidden by default
|
|
|
|
-+pref("devtools.dom.enabled", false);
|
|
|
|
-+
|
|
|
|
-+// Enable the Accessibility panel.
|
|
|
|
-+pref("devtools.accessibility.enabled", true);
|
|
|
|
-+
|
|
|
|
-+// Web console filters
|
|
|
|
-+pref("devtools.webconsole.filter.error", true);
|
|
|
|
-+pref("devtools.webconsole.filter.warn", true);
|
|
|
|
-+pref("devtools.webconsole.filter.info", true);
|
|
|
|
-+pref("devtools.webconsole.filter.log", true);
|
|
|
|
-+pref("devtools.webconsole.filter.debug", true);
|
|
|
|
-+pref("devtools.webconsole.filter.css", false);
|
|
|
|
-+pref("devtools.webconsole.filter.net", false);
|
|
|
|
-+pref("devtools.webconsole.filter.netxhr", false);
|
|
|
|
-+
|
|
|
|
-+// Webconsole autocomplete preference
|
|
|
|
-+pref("devtools.webconsole.input.autocomplete",true);
|
|
|
|
-+ pref("devtools.webconsole.input.context", false);
|
|
|
|
-+
|
|
|
|
-+// Set to true to eagerly show the results of webconsole terminal evaluations
|
|
|
|
-+// when they don't have side effects.
|
|
|
|
-+pref("devtools.webconsole.input.eagerEvaluation", true);
|
|
|
|
-+
|
|
|
|
-+// Browser console filters
|
|
|
|
-+pref("devtools.browserconsole.filter.error", true);
|
|
|
|
-+pref("devtools.browserconsole.filter.warn", true);
|
|
|
|
-+pref("devtools.browserconsole.filter.info", true);
|
|
|
|
-+pref("devtools.browserconsole.filter.log", true);
|
|
|
|
-+pref("devtools.browserconsole.filter.debug", true);
|
|
|
|
-+pref("devtools.browserconsole.filter.css", false);
|
|
|
|
-+pref("devtools.browserconsole.filter.net", false);
|
|
|
|
-+pref("devtools.browserconsole.filter.netxhr", false);
|
|
|
|
-+
|
|
|
|
-+// Max number of inputs to store in web console history.
|
|
|
|
-+pref("devtools.webconsole.inputHistoryCount", 300);
|
|
|
|
-+
|
|
|
|
-+// Persistent logging: |true| if you want the relevant tool to keep all of the
|
|
|
|
-+// logged messages after reloading the page, |false| if you want the output to
|
|
|
|
-+// be cleared each time page navigation happens.
|
|
|
|
-+pref("devtools.webconsole.persistlog", false);
|
|
|
|
-+pref("devtools.netmonitor.persistlog", false);
|
|
|
|
-+
|
|
|
|
-+// Web Console timestamp: |true| if you want the logs and instructions
|
|
|
|
-+// in the Web Console to display a timestamp, or |false| to not display
|
|
|
|
-+// any timestamps.
|
|
|
|
-+pref("devtools.webconsole.timestampMessages", false);
|
|
|
|
-+
|
|
|
|
-+// Enable the webconsole sidebar toggle in Nightly builds.
|
|
|
|
-+ pref("devtools.webconsole.sidebarToggle", false);
|
|
|
|
-+
|
|
|
|
-+// Saved editor mode state in the console.
|
|
|
|
-+pref("devtools.webconsole.input.editor", false);
|
|
|
|
-+pref("devtools.browserconsole.input.editor", false);
|
|
|
|
-+
|
|
|
|
-+// Editor width for webconsole and browserconsole.
|
|
|
|
-+pref("devtools.webconsole.input.editorWidth", 0);
|
|
|
|
-+pref("devtools.browserconsole.input.editorWidth", 0);
|
|
|
|
-+
|
|
|
|
-+// Display an onboarding UI for the Editor mode.
|
|
|
|
-+pref("devtools.webconsole.input.editorOnboarding", true);
|
|
|
|
-+
|
|
|
|
-+// Enable message grouping in the console, true by default
|
|
|
|
-+pref("devtools.webconsole.groupWarningMessages", true);
|
|
|
|
-+
|
|
|
|
-+// Saved state of the Display content messages checkbox in the browser console.
|
|
|
|
-+pref("devtools.browserconsole.contentMessages", true);
|
|
|
|
-+
|
|
|
|
-+// Enable network monitoring the browser toolbox console/browser console.
|
|
|
|
-+pref("devtools.browserconsole.enableNetworkMonitoring", false);
|
|
|
|
-+
|
|
|
|
-+// Enable client-side mapping service for source maps
|
|
|
|
-+pref("devtools.source-map.client-service.enabled", true);
|
|
|
|
-+
|
|
|
|
-+// The number of lines that are displayed in the web console.
|
|
|
|
-+pref("devtools.hud.loglimit", 10000);
|
|
|
|
-+
|
|
|
|
-+// The developer tools editor configuration:
|
|
|
|
-+// - tabsize: how many spaces to use when a Tab character is displayed.
|
|
|
|
-+// - expandtab: expand Tab characters to spaces.
|
|
|
|
-+// - keymap: which keymap to use (can be 'default', 'emacs' or 'vim')
|
|
|
|
-+// - autoclosebrackets: whether to permit automatic bracket/quote closing.
|
|
|
|
-+// - detectindentation: whether to detect the indentation from the file
|
|
|
|
-+// - enableCodeFolding: Whether to enable code folding or not.
|
|
|
|
-+pref("devtools.editor.tabsize", 2);
|
|
|
|
-+pref("devtools.editor.expandtab", true);
|
|
|
|
-+pref("devtools.editor.keymap", "default");
|
|
|
|
-+pref("devtools.editor.autoclosebrackets", true);
|
|
|
|
-+pref("devtools.editor.detectindentation", true);
|
|
|
|
-+pref("devtools.editor.enableCodeFolding", true);
|
|
|
|
-+pref("devtools.editor.autocomplete", true);
|
|
|
|
-+
|
|
|
|
-+// The angle of the viewport.
|
|
|
|
-+pref("devtools.responsive.viewport.angle", 0);
|
|
|
|
-+// The width of the viewport.
|
|
|
|
-+pref("devtools.responsive.viewport.width", 320);
|
|
|
|
-+// The height of the viewport.
|
|
|
|
-+pref("devtools.responsive.viewport.height", 480);
|
|
|
|
-+// The pixel ratio of the viewport.
|
|
|
|
-+pref("devtools.responsive.viewport.pixelRatio", 0);
|
|
|
|
-+// Whether or not the viewports are left aligned.
|
|
|
|
-+pref("devtools.responsive.leftAlignViewport.enabled", false);
|
|
|
|
-+// Whether to reload when touch simulation is toggled
|
|
|
|
-+pref("devtools.responsive.reloadConditions.touchSimulation", false);
|
|
|
|
-+// Whether to reload when user agent is changed
|
|
|
|
-+pref("devtools.responsive.reloadConditions.userAgent", false);
|
|
|
|
-+// Whether to show the notification about reloading to apply emulation
|
|
|
|
-+pref("devtools.responsive.reloadNotification.enabled", true);
|
|
|
|
-+// Whether or not touch simulation is enabled.
|
|
|
|
-+pref("devtools.responsive.touchSimulation.enabled", false);
|
|
|
|
-+// The user agent of the viewport.
|
|
|
|
-+pref("devtools.responsive.userAgent", "");
|
|
|
|
-+
|
|
|
|
-+// Show the custom user agent input in Nightly builds.
|
|
|
|
-+#if defined(NIGHTLY_BUILD)
|
|
|
|
-+ pref("devtools.responsive.showUserAgentInput", true);
|
|
|
|
-+#else
|
|
|
|
-+ pref("devtools.responsive.showUserAgentInput", false);
|
|
|
|
-+#endif
|
|
|
|
-+
|
|
|
|
-+// Show tab debug targets for This Firefox (on by default for local builds).
|
|
|
|
-+ pref("devtools.aboutdebugging.local-tab-debugging", true);
|
|
|
|
-+
|
|
|
|
-+// Show process debug targets.
|
|
|
|
-+pref("devtools.aboutdebugging.process-debugging", true);
|
|
|
|
-+// Stringified array of network locations that users can connect to.
|
|
|
|
-+pref("devtools.aboutdebugging.network-locations", "[]");
|
|
|
|
-+// Debug target pane collapse/expand settings.
|
|
|
|
-+pref("devtools.aboutdebugging.collapsibilities.installedExtension", false);
|
|
|
|
-+pref("devtools.aboutdebugging.collapsibilities.otherWorker", false);
|
|
|
|
-+pref("devtools.aboutdebugging.collapsibilities.serviceWorker", false);
|
|
|
|
-+pref("devtools.aboutdebugging.collapsibilities.sharedWorker", false);
|
|
|
|
-+pref("devtools.aboutdebugging.collapsibilities.tab", false);
|
|
|
|
-+pref("devtools.aboutdebugging.collapsibilities.temporaryExtension", false);
|
|
|
|
-+
|
|
|
|
-+// about:debugging: only show system and hidden extensions in local builds by
|
|
|
|
-+// default.
|
|
|
|
-+ pref("devtools.aboutdebugging.showHiddenAddons", true);
|
|
|
|
-+
|
|
|
|
-+// Map top-level await expressions in the console
|
|
|
|
-+pref("devtools.debugger.features.map-await-expression", true);
|
|
|
|
-+
|
|
|
|
-+// This relies on javascript.options.asyncstack as well or it has no effect.
|
|
|
|
-+pref("devtools.debugger.features.async-captured-stacks", true);
|
|
|
|
-+pref("devtools.debugger.features.async-live-stacks", false);
|
|
|
|
-+
|
|
|
|
-+// Disable autohide for DevTools popups and tooltips.
|
|
|
|
-+// This is currently not exposed by any UI to avoid making
|
|
|
|
-+// about:devtools-toolbox tabs unusable by mistake.
|
|
|
|
-+pref("devtools.popup.disable_autohide", false);
|
|
|
|
-+
|
|
|
|
-+// Enable overflow debugging in the inspector.
|
|
|
|
-+pref("devtools.overflow.debugging.enabled", true);
|
|
|
|
-+// Enable drag to edit properties in the inspector rule view.
|
|
|
|
-+pref("devtools.inspector.draggable_properties", true);
|
|
|
|
-diff --git a/suite/buoy/devtools/components.conf b/suite/buoy/devtools/components.conf
|
|
|
|
-new file mode 100644
|
|
|
|
---- /dev/null
|
|
|
|
-+++ b/suite/buoy/devtools/components.conf
|
|
|
|
-@@ -0,0 +1,15 @@
|
|
|
|
-+# -*- 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/.
|
|
|
|
-+
|
|
|
|
-+Classes = [
|
|
|
|
-+ {
|
|
|
|
-+ 'cid': '{089694e9-106a-4704-abf7-62a88545e194}',
|
|
|
|
-+ 'contract_ids': ['@xulvolution.org/generic/devtools-startup-clh;1'],
|
|
|
|
-+ 'esModule': 'resource:///modules/devtools-loader.sys.mjs',
|
|
|
|
-+ 'constructor': 'DevToolsStartup',
|
|
|
|
-+ 'categories': {'command-line-handler': 'm-aaa-xre-devtools'},
|
|
|
|
-+ },
|
|
|
|
-+]
|
|
|
|
-diff --git a/suite/buoy/devtools/devtools-loader.sys.mjs b/suite/buoy/devtools/devtools-loader.sys.mjs
|
|
|
|
-new file mode 100644
|
|
|
|
---- /dev/null
|
|
|
|
-+++ b/suite/buoy/devtools/devtools-loader.sys.mjs
|
|
|
|
-@@ -0,0 +1,118 @@
|
|
|
|
-+/* 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/. */
|
|
|
|
-+
|
|
|
|
-+const lazy = {};
|
|
|
|
-+ChromeUtils.defineESModuleGetters(lazy, {
|
|
|
|
-+ NetUtil: "resource://gre/modules/NetUtil.sys.mjs",
|
|
|
|
-+});
|
|
|
|
-+
|
|
|
|
-+function resolveURIInternal(aCmdLine, aArgument) {
|
|
|
|
-+ var uri = aCmdLine.resolveURI(aArgument);
|
|
|
|
-+
|
|
|
|
-+ if (!(uri instanceof Ci.nsIFileURL)) {
|
|
|
|
-+ return uri;
|
|
|
|
-+ }
|
|
|
|
-+
|
|
|
|
-+ try {
|
|
|
|
-+ if (uri.file.exists()) {
|
|
|
|
-+ return uri;
|
|
|
|
-+ }
|
|
|
|
-+ } catch (e) {
|
|
|
|
-+ console.error(e);
|
|
|
|
-+ }
|
|
|
|
-+
|
|
|
|
-+ // We have interpreted the argument as a relative file URI, but the file
|
|
|
|
-+ // doesn't exist. Try URI fixup heuristics: see bug 290782.
|
|
|
|
-+
|
|
|
|
-+ try {
|
|
|
|
-+ uri = Services.uriFixup.getFixupURIInfo(aArgument, 0).preferredURI;
|
|
|
|
-+ } catch (e) {
|
|
|
|
-+ console.error(e);
|
|
|
|
-+ }
|
|
|
|
-+
|
|
|
|
-+ return uri;
|
|
|
|
-+}
|
|
|
|
-+
|
|
|
|
-+export function DevToolsStartup() {}
|
|
|
|
-+
|
|
|
|
-+DevToolsStartup.prototype = {
|
|
|
|
-+ QueryInterface: ChromeUtils.generateQI(["nsICommandLineHandler"]),
|
|
|
|
-+
|
|
|
|
-+ helpInfo: "",
|
|
|
|
-+ handle(cmdLine) {
|
|
|
|
-+ this.initialize();
|
|
|
|
-+
|
|
|
|
-+ // We want to overwrite the -devtools flag and open the toolbox instead
|
|
|
|
-+ const devtoolsFlag = cmdLine.handleFlag("devtools", false);
|
|
|
|
-+ if (devtoolsFlag) {
|
|
|
|
-+ this.handleDevToolsFlag(cmdLine);
|
|
|
|
-+ }
|
|
|
|
-+
|
|
|
|
-+ var chromeFlag = cmdLine.handleFlagWithParam("chrome", false);
|
|
|
|
-+ if (chromeFlag) {
|
|
|
|
-+ // The parameter specifies the window to open.
|
|
|
|
-+ this.handleChromeFlag(cmdLine, chromeFlag);
|
|
|
|
-+ }
|
|
|
|
-+ },
|
|
|
|
-+
|
|
|
|
-+ handleDevToolsFlag(cmdLine) {
|
|
|
|
-+ const { BrowserToolboxLauncher } = ChromeUtils.importESModule(
|
|
|
|
-+ "resource://devtools/client/framework/browser-toolbox/Launcher.sys.mjs"
|
|
|
|
-+ );
|
|
|
|
-+ BrowserToolboxLauncher.init();
|
|
|
|
-+
|
|
|
|
-+ if (cmdLine.state == Ci.nsICommandLine.STATE_REMOTE_AUTO) {
|
|
|
|
-+ cmdLine.preventDefault = true;
|
|
|
|
-+ }
|
|
|
|
-+ },
|
|
|
|
-+
|
|
|
|
-+ handleChromeFlag(cmdLine, chromeParam) {
|
|
|
|
-+ try {
|
|
|
|
-+ const argstring = Cc["@mozilla.org/supports-string;1"].createInstance(
|
|
|
|
-+ Ci.nsISupportsString
|
|
|
|
-+ );
|
|
|
|
-+
|
|
|
|
-+ const _uri = resolveURIInternal(cmdLine, chromeParam);
|
|
|
|
-+
|
|
|
|
-+ // only load URIs which do not inherit chrome privs
|
|
|
|
-+ if (!Services.io.URIChainHasFlags(_uri, Ci.nsIProtocolHandler.URI_INHERITS_SECURITY_CONTEXT)) {
|
|
|
|
-+ Services.ww.openWindow(null, _uri.spec, "_blank", "chrome,dialog=no,all", argstring);
|
|
|
|
-+ cmdLine.preventDefault = true;
|
|
|
|
-+ }
|
|
|
|
-+ } catch (e) { dump(e); }
|
|
|
|
-+ },
|
|
|
|
-+
|
|
|
|
-+ initialize() {
|
|
|
|
-+ const { loader, require, DevToolsLoader } = ChromeUtils.importESModule(
|
|
|
|
-+ "resource://devtools/shared/loader/Loader.sys.mjs"
|
|
|
|
-+ );
|
|
|
|
-+ const { DevToolsServer } = require("devtools/server/devtools-server");
|
|
|
|
-+ const { gDevTools } = require("devtools/client/framework/devtools");
|
|
|
|
-+
|
|
|
|
-+ // Make sure our root actor is always registered, no matter how devtools are called.
|
|
|
|
-+ const devtoolsRegisterActors =
|
|
|
|
-+ DevToolsServer.registerActors.bind(DevToolsServer);
|
|
|
|
-+ DevToolsServer.registerActors = function (options) {
|
|
|
|
-+ devtoolsRegisterActors(options);
|
|
|
|
-+ if (options.root) {
|
|
|
|
-+ const {
|
|
|
|
-+ createRootActor,
|
|
|
|
-+ } = require("resource:///modules/devtools-root-actor.js");
|
|
|
|
-+ DevToolsServer.setRootActor(createRootActor);
|
|
|
|
-+ }
|
|
|
|
-+ };
|
|
|
|
-+
|
|
|
|
-+ // Make the loader visible to the debugger by default and for the already
|
|
|
|
-+ // loaded instance. Thunderbird now also provides the Browser Toolbox for
|
|
|
|
-+ // chrome debugging, which uses its own separate loader instance.
|
|
|
|
-+ DevToolsLoader.prototype.invisibleToDebugger = false;
|
|
|
|
-+ loader.invisibleToDebugger = false;
|
|
|
|
-+ DevToolsServer.allowChromeProcess = true;
|
|
|
|
-+
|
|
|
|
-+ // Initialize and load the toolkit/browser actors. This will also call above function to set the
|
|
|
|
-+ // Thunderbird root actor
|
|
|
|
-+ DevToolsServer.init();
|
|
|
|
-+ DevToolsServer.registerAllActors();
|
|
|
|
-+ },
|
|
|
|
-+};
|
|
|
|
-diff --git a/suite/buoy/devtools/devtools-root-actor.js b/suite/buoy/devtools/devtools-root-actor.js
|
|
|
|
-new file mode 100644
|
|
|
|
---- /dev/null
|
|
|
|
-+++ b/suite/buoy/devtools/devtools-root-actor.js
|
|
|
|
-@@ -0,0 +1,67 @@
|
|
|
|
-+/* 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/. */
|
|
|
|
-+
|
|
|
|
-+/* globals loader, require, exports */
|
|
|
|
-+
|
|
|
|
-+/**
|
|
|
|
-+ * Actors for Developer Tools.
|
|
|
|
-+ */
|
|
|
|
-+
|
|
|
|
-+var { ActorRegistry } = require("devtools/server/actors/utils/actor-registry");
|
|
|
|
-+
|
|
|
|
-+loader.lazyRequireGetter(
|
|
|
|
-+ this,
|
|
|
|
-+ "RootActor",
|
|
|
|
-+ "devtools/server/actors/root",
|
|
|
|
-+ true
|
|
|
|
-+);
|
|
|
|
-+loader.lazyRequireGetter(
|
|
|
|
-+ this,
|
|
|
|
-+ "sendShutdownEvent",
|
|
|
|
-+ "devtools/server/actors/webbrowser",
|
|
|
|
-+ true
|
|
|
|
-+);
|
|
|
|
-+loader.lazyRequireGetter(
|
|
|
|
-+ this,
|
|
|
|
-+ "WorkerDescriptorActorList",
|
|
|
|
-+ "devtools/server/actors/worker/worker-descriptor-actor-list",
|
|
|
|
-+ true
|
|
|
|
-+);
|
|
|
|
-+loader.lazyRequireGetter(
|
|
|
|
-+ this,
|
|
|
|
-+ "ServiceWorkerRegistrationActorList",
|
|
|
|
-+ "devtools/server/actors/worker/service-worker-registration-list",
|
|
|
|
-+ true
|
|
|
|
-+);
|
|
|
|
-+loader.lazyRequireGetter(
|
|
|
|
-+ this,
|
|
|
|
-+ "ProcessActorList",
|
|
|
|
-+ "devtools/server/actors/process",
|
|
|
|
-+ true
|
|
|
|
-+);
|
|
|
|
-+
|
|
|
|
-+/**
|
|
|
|
-+ * Create the basic root actor for any XRE Application.
|
|
|
|
-+ *
|
|
|
|
-+ * @param aConnection The debugger connection to create the actor for.
|
|
|
|
-+ * @returns The actor for the connection.
|
|
|
|
-+ */
|
|
|
|
-+exports.createRootActor = function (aConnection) {
|
|
|
|
-+ const parameters = {
|
|
|
|
-+ workerList: new WorkerDescriptorActorList(aConnection, {}),
|
|
|
|
-+ serviceWorkerRegistrationList: new ServiceWorkerRegistrationActorList(
|
|
|
|
-+ aConnection
|
|
|
|
-+ ),
|
|
|
|
-+ processList: new ProcessActorList(),
|
|
|
|
-+ globalActorFactories: ActorRegistry.globalActorFactories,
|
|
|
|
-+ onShutdown: sendShutdownEvent,
|
|
|
|
-+ };
|
|
|
|
-+
|
|
|
|
-+ // Create the root actor and set the application type
|
|
|
|
-+ const rootActor = new RootActor(aConnection, parameters);
|
|
|
|
-+ rootActor.applicationType = "generic";
|
|
|
|
-+
|
|
|
|
-+ return rootActor;
|
|
|
|
-+};
|
|
|
|
-+
|
|
|
|
-diff --git a/suite/buoy/devtools/moz.build b/suite/buoy/devtools/moz.build
|
|
|
|
-new file mode 100644
|
|
|
|
---- /dev/null
|
|
|
|
-+++ b/suite/buoy/devtools/moz.build
|
|
|
|
-@@ -0,0 +1,15 @@
|
|
|
|
-+# 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/.
|
|
|
|
-+
|
|
|
|
-+EXTRA_JS_MODULES += [
|
|
|
|
-+ "devtools-loader.sys.mjs",
|
|
|
|
-+ "devtools-root-actor.js",
|
|
|
|
-+]
|
|
|
|
-+
|
|
|
|
-+XPCOM_MANIFESTS += [
|
|
|
|
-+ "components.conf",
|
|
|
|
-+]
|
|
|
|
-+
|
|
|
|
-+JS_PREFERENCE_FILES += ['all-devtools.js']
|
|
|
|
diff --git a/suite/buoy/jar.mn b/suite/buoy/jar.mn
|
|
diff --git a/suite/buoy/jar.mn b/suite/buoy/jar.mn
|
|
new file mode 100644
|
|
new file mode 100644
|
|
--- /dev/null
|
|
--- /dev/null
|
|
@@ -1201,34 +692,20 @@ new file mode 100644
|
|
+ dispatchToolboxEvent(aEvent, aDetails = {}, aWindow = null) {},
|
|
+ dispatchToolboxEvent(aEvent, aDetails = {}, aWindow = null) {},
|
|
+};
|
|
+};
|
|
+Object.freeze(CustomizableUI);
|
|
+Object.freeze(CustomizableUI);
|
|
-diff --git a/suite/buoy/modules/EzE10SUtils.jsm b/suite/buoy/modules/EzE10SUtils.jsm
|
|
|
|
|
|
+diff --git a/suite/buoy/modules/EzE10SUtils.sys.mjs b/suite/buoy/modules/EzE10SUtils.sys.mjs
|
|
new file mode 100644
|
|
new file mode 100644
|
|
--- /dev/null
|
|
--- /dev/null
|
|
-+++ b/suite/buoy/modules/EzE10SUtils.jsm
|
|
|
|
-@@ -0,0 +1,107 @@
|
|
|
|
|
|
++++ b/suite/buoy/modules/EzE10SUtils.sys.mjs
|
|
|
|
+@@ -0,0 +1,93 @@
|
|
+/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
+/* 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
|
|
+ * 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/. */
|
|
+ * file, you can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
+
|
|
+
|
|
-+/**
|
|
|
|
-+ * This module is assists with dealing with arbitrary browser elements
|
|
|
|
-+ * in an e10s only world.
|
|
|
|
-+ *
|
|
|
|
-+ * This is forked from comm/mail/modules/MailE10SUtils.jsm
|
|
|
|
-+ *
|
|
|
|
-+ * XXXTobin: Convert to sys.mjs
|
|
|
|
-+ */
|
|
|
|
-+
|
|
|
|
-+const EXPORTED_SYMBOLS = ["EzE10SUtils"];
|
|
|
|
|
|
++import { E10SUtils } from "resource://gre/modules/E10SUtils.sys.mjs";
|
|
+
|
|
+
|
|
-+const { E10SUtils } = ChromeUtils.importESModule(
|
|
|
|
-+ "resource://gre/modules/E10SUtils.sys.mjs"
|
|
|
|
-+);
|
|
|
|
-+const { ExtensionParent } = ChromeUtils.importESModule(
|
|
|
|
-+ "resource://gre/modules/ExtensionParent.sys.mjs"
|
|
|
|
-+);
|
|
|
|
|
|
++import { ExtensionParent } from "resource://gre/modules/ExtensionParent.sys.mjs";
|
|
+
|
|
+
|
|
-+var EzE10SUtils = {
|
|
|
|
|
|
++export var EzE10SUtils = {
|
|
+ /**
|
|
+ /**
|
|
+ * Loads about:blank in `browser` without switching remoteness. about:blank
|
|
+ * Loads about:blank in `browser` without switching remoteness. about:blank
|
|
+ * can load in a local browser or a remote browser, and `loadURI` will make
|
|
+ * can load in a local browser or a remote browser, and `loadURI` will make
|
|
@@ -1284,7 +761,7 @@ new file mode 100644
|
|
+ /**
|
|
+ /**
|
|
+ * Force `browser` to be a remote/local browser.
|
|
+ * Force `browser` to be a remote/local browser.
|
|
+ *
|
|
+ *
|
|
-+ * @see E10SUtils.jsm for remote types.
|
|
|
|
|
|
++ * @see E10SUtils.sys.mjs for remote types.
|
|
+ *
|
|
+ *
|
|
+ * @param {nsIBrowser} browser - the browser to enforce the remoteness of.
|
|
+ * @param {nsIBrowser} browser - the browser to enforce the remoteness of.
|
|
+ * @param {string} remoteType - the remoteness to enforce.
|
|
+ * @param {string} remoteType - the remoteness to enforce.
|
|
@@ -3035,27 +2512,6 @@ new file mode 100644
|
|
+ updateSessionStoreFromTablistener(aBrowser, aBrowsingContext, aData) {},
|
|
+ updateSessionStoreFromTablistener(aBrowser, aBrowsingContext, aData) {},
|
|
+ maybeExitCrashedState() {},
|
|
+ maybeExitCrashedState() {},
|
|
+};
|
|
+};
|
|
-diff --git a/suite/buoy/modules/moz.build b/suite/buoy/modules/moz.build
|
|
|
|
-new file mode 100644
|
|
|
|
---- /dev/null
|
|
|
|
-+++ b/suite/buoy/modules/moz.build
|
|
|
|
-@@ -0,0 +1,16 @@
|
|
|
|
-+# 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/.
|
|
|
|
-+
|
|
|
|
-+EXTRA_JS_MODULES += [
|
|
|
|
-+ "BrowserWindowTracker.sys.mjs",
|
|
|
|
-+ "CustomizableUI.sys.mjs",
|
|
|
|
-+ "EzE10SUtils.jsm",
|
|
|
|
-+ "PanelMultiView.sys.mjs",
|
|
|
|
-+]
|
|
|
|
-+
|
|
|
|
-+EXTRA_JS_MODULES.sessionstore += [
|
|
|
|
-+ "SessionStore.sys.mjs",
|
|
|
|
-+]
|
|
|
|
-+
|
|
|
|
diff --git a/suite/buoy/moz-l10n/browser/appExtensionFields.ftl b/suite/buoy/moz-l10n/browser/appExtensionFields.ftl
|
|
diff --git a/suite/buoy/moz-l10n/browser/appExtensionFields.ftl b/suite/buoy/moz-l10n/browser/appExtensionFields.ftl
|
|
new file mode 100644
|
|
new file mode 100644
|
|
--- /dev/null
|
|
--- /dev/null
|
|
@@ -3097,72 +2553,75 @@ diff --git a/suite/buoy/moz.build b/suite/buoy/moz.build
|
|
new file mode 100644
|
|
new file mode 100644
|
|
--- /dev/null
|
|
--- /dev/null
|
|
+++ b/suite/buoy/moz.build
|
|
+++ b/suite/buoy/moz.build
|
|
-@@ -0,0 +1,8 @@
|
|
|
|
-+DIRS += [
|
|
|
|
-+ "devtools",
|
|
|
|
-+ "modules"
|
|
|
|
|
|
+@@ -0,0 +1,15 @@
|
|
|
|
++EXTRA_JS_MODULES += [
|
|
|
|
++ "modules/BrowserWindowTracker.sys.mjs",
|
|
|
|
++ "modules/CustomizableUI.sys.mjs",
|
|
|
|
++ "modules/EzE10SUtils.sys.mjs",
|
|
|
|
++ "modules/PanelMultiView.sys.mjs",
|
|
|
|
++]
|
|
|
|
++
|
|
|
|
++EXTRA_JS_MODULES.sessionstore += [
|
|
|
|
++ "modules/SessionStore.sys.mjs",
|
|
+]
|
|
+]
|
|
+
|
|
+
|
|
|
|
++
|
|
+JS_PREFERENCE_FILES += ["ZZ-buoy-prefs.js"]
|
|
+JS_PREFERENCE_FILES += ["ZZ-buoy-prefs.js"]
|
|
+
|
|
+
|
|
+JAR_MANIFESTS += ["jar.mn"]
|
|
+JAR_MANIFESTS += ["jar.mn"]
|
|
-diff --git a/suite/mailnews/components/moz.build b/suite/mailnews/components/moz.build
|
|
|
|
---- a/suite/mailnews/components/moz.build
|
|
|
|
-+++ b/suite/mailnews/components/moz.build
|
|
|
|
-@@ -1,11 +1,12 @@
|
|
|
|
- # 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/.
|
|
|
|
-
|
|
|
|
- DIRS += [
|
|
|
|
-+ "../../../mail/extensions/openpgp",
|
|
|
|
- "compose",
|
|
|
|
- "prefs",
|
|
|
|
- "addrbook",
|
|
|
|
- "smime",
|
|
|
|
- ]
|
|
|
|
diff --git a/suite/moz.build b/suite/moz.build
|
|
diff --git a/suite/moz.build b/suite/moz.build
|
|
--- a/suite/moz.build
|
|
--- a/suite/moz.build
|
|
+++ b/suite/moz.build
|
|
+++ b/suite/moz.build
|
|
-@@ -6,16 +6,17 @@
|
|
|
|
- with Files("**"):
|
|
|
|
- BUG_COMPONENT = ("SeaMonkey", "General")
|
|
|
|
|
|
+@@ -24,16 +24,19 @@ DIRS += [
|
|
|
|
+ if CONFIG["MOZ_THUNDERBIRD_RUST"]:
|
|
|
|
+ DEFINES["MOZ_THUNDERBIRD_RUST"] = 1
|
|
|
|
+
|
|
|
|
+ if CONFIG["MOZ_OVERRIDE_GKRUST"]:
|
|
|
|
+ DIRS += [
|
|
|
|
+ "../rust",
|
|
|
|
+ ]
|
|
|
|
+
|
|
|
|
++if CONFIG['MOZ_SUITE_BUOY']:
|
|
|
|
++ DIRS += ['buoy']
|
|
|
|
++
|
|
|
|
+ if CONFIG['MOZ_IRC']:
|
|
|
|
+ DIRS += ['chatzilla']
|
|
|
|
|
|
- CONFIGURE_SUBST_FILES += ["installer/Makefile"]
|
|
|
|
|
|
+ if CONFIG["MAKENSISU"]:
|
|
|
|
+ DIRS += ["installer/windows"]
|
|
|
|
|
|
- DIRS += [
|
|
|
|
- "base",
|
|
|
|
- "browser",
|
|
|
|
-+ "buoy",
|
|
|
|
- "components",
|
|
|
|
- "editor",
|
|
|
|
- "extensions",
|
|
|
|
- "locales",
|
|
|
|
- "mailnews",
|
|
|
|
- "modules",
|
|
|
|
- "themes/classic",
|
|
|
|
- "themes/modern",
|
|
|
|
|
|
+ if CONFIG["MOZ_BUNDLED_FONTS"]:
|
|
|
|
+ DIRS += ["/browser/fonts"]
|
|
diff --git a/suite/moz.configure b/suite/moz.configure
|
|
diff --git a/suite/moz.configure b/suite/moz.configure
|
|
--- a/suite/moz.configure
|
|
--- a/suite/moz.configure
|
|
+++ b/suite/moz.configure
|
|
+++ b/suite/moz.configure
|
|
-@@ -9,16 +9,19 @@ set_define("MOZ_SUITE", True)
|
|
|
|
|
|
+@@ -99,16 +99,29 @@ def moz_override_cargo_config(enable_rus
|
|
|
|
|
|
- imply_option("MOZ_APP_BASENAME", "SeaMonkey")
|
|
|
|
- imply_option("MOZ_APP_ID", "{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}")
|
|
|
|
- imply_option("MOZ_APP_VENDOR", "Mozilla")
|
|
|
|
- # Include the DevTools client, not just the server (which is the default)
|
|
|
|
- imply_option("MOZ_DEVTOOLS", "all")
|
|
|
|
- imply_option("NSS_EXTRA_SYMBOLS_FILE", "../comm/mailnews/nss-extra.symbols")
|
|
|
|
|
|
|
|
-+set_config("MOZ_SANDBOX_NULL_BLOCKLIST_OOP", True)
|
|
|
|
-+set_define("MOZ_SANDBOX_NULL_BLOCKLIST_OOP", True)
|
|
|
|
-+
|
|
|
|
- imply_option('--enable-default-browser-agent', False)
|
|
|
|
-
|
|
|
|
- @depends(target_is_windows, target_has_linux_kernel)
|
|
|
|
- def bundled_fonts(is_windows, is_linux):
|
|
|
|
- if is_windows or is_linux:
|
|
|
|
- return True
|
|
|
|
|
|
+ set_config(
|
|
|
|
+ "MOZ_OVERRIDE_CARGO_CONFIG",
|
|
|
|
+ moz_override_cargo_config,
|
|
|
|
+ when="--enable-thunderbird-rust",
|
|
|
|
+ )
|
|
|
|
|
|
|
|
++# =========================================================
|
|
|
|
++# = Diagnostic "Buoy" Component
|
|
|
|
++# =========================================================
|
|
|
|
++option(
|
|
|
|
++ "--enable-buoy", default=False, help="Enable building of the SeaMonkey Diagnostic Component"
|
|
|
|
++)
|
|
|
|
++
|
|
|
|
++@depends_if("--enable-buoy")
|
|
|
|
++def buoy(arg):
|
|
|
|
++ return True
|
|
|
|
++
|
|
|
|
++set_config("MOZ_SUITE_BUOY", buoy)
|
|
|
|
++
|
|
|
|
+ # Building extensions is disabled by default.
|
|
|
|
|
|
|
|
+ # =========================================================
|
|
|
|
+ # = ChatZilla extension
|
|
|
|
+ # =========================================================
|
|
|
|
+ option(
|
|
|
|
+ "--enable-irc", default=False, help="Enable building of the ChatZilla IRC extension"
|
|
|
|
+ )
|