summaryrefslogtreecommitdiff
path: root/devtools/client
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-05-06 09:24:03 +0000
committerMoonchild <moonchild@palemoon.org>2021-05-06 09:24:03 +0000
commit6f707bde95dab6998ac204f9ee6c925ee230c740 (patch)
tree859f6cf99f2e026b76dcc40b27b211154310d16e /devtools/client
parentaa0fd3d68c856504646e1d7eb499bc890ef44101 (diff)
downloaduxp-6f707bde95dab6998ac204f9ee6c925ee230c740.tar.gz
Issue #1751 -- Remove XP_MACOSX conditionals from the rest of the tree.
This also removes some PP abuse and takes file entries out of PP when no longer needed without XP_MACOSX conditionals.
Diffstat (limited to 'devtools/client')
-rw-r--r--devtools/client/framework/dev-edition-promo/dev-edition-promo.css4
-rw-r--r--devtools/client/framework/toolbox-process-window.js10
-rw-r--r--devtools/client/jar.mn2
3 files changed, 1 insertions, 15 deletions
diff --git a/devtools/client/framework/dev-edition-promo/dev-edition-promo.css b/devtools/client/framework/dev-edition-promo/dev-edition-promo.css
index 01489fd47f..b4d6383825 100644
--- a/devtools/client/framework/dev-edition-promo/dev-edition-promo.css
+++ b/devtools/client/framework/dev-edition-promo/dev-edition-promo.css
@@ -21,14 +21,10 @@ window {
* depend on. Must style font-size to target linux.
*/
%ifdef XP_UNIX
-%ifndef XP_MACOSX
font-size: 13px;
%else
font-size: 15px;
%endif
-%else
- font-size: 15px;
-%endif
line-height: 19px;
min-height: 100px;
}
diff --git a/devtools/client/framework/toolbox-process-window.js b/devtools/client/framework/toolbox-process-window.js
index 82edabe9c6..87b3efa438 100644
--- a/devtools/client/framework/toolbox-process-window.js
+++ b/devtools/client/framework/toolbox-process-window.js
@@ -142,16 +142,6 @@ function evaluateTestScript(script, toolbox) {
function bindToolboxHandlers() {
gToolbox.once("destroyed", quitApp);
window.addEventListener("unload", onUnload);
-
-#ifdef XP_MACOSX
- // Badge the dock icon to differentiate this process from the main application process.
- updateBadgeText(false);
-
- // Once the debugger panel opens listen for thread pause / resume.
- gToolbox.getPanelWhenReady("jsdebugger").then(panel => {
- setupThreadListeners(panel);
- });
-#endif
}
function setupThreadListeners(panel) {
diff --git a/devtools/client/jar.mn b/devtools/client/jar.mn
index 763a59fbd6..9951e7e3dc 100644
--- a/devtools/client/jar.mn
+++ b/devtools/client/jar.mn
@@ -110,7 +110,7 @@ devtools.jar:
content/framework/toolbox-init.js (framework/toolbox-init.js)
content/framework/options-panel.css (framework/options-panel.css)
content/framework/toolbox-process-window.xul (framework/toolbox-process-window.xul)
-* content/framework/toolbox-process-window.js (framework/toolbox-process-window.js)
+ content/framework/toolbox-process-window.js (framework/toolbox-process-window.js)
content/framework/dev-edition-promo/dev-edition-promo.xul (framework/dev-edition-promo/dev-edition-promo.xul)
* content/framework/dev-edition-promo/dev-edition-promo.css (framework/dev-edition-promo/dev-edition-promo.css)
content/framework/dev-edition-promo/dev-edition-logo.png (framework/dev-edition-promo/dev-edition-logo.png)