summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-02-20 22:00:59 +0000
committerMoonchild <moonchild@palemoon.org>2022-02-20 22:00:59 +0000
commit39e80ed9afe2e5bba65a2786c7eff7c3189d49e8 (patch)
treeec19a5cbe4d81458e040f29ddd33ef88d76092d5 /components
parent0856f160b3cc00c5ffec2ac895288707edff3e4f (diff)
downloadGRE-39e80ed9afe2e5bba65a2786c7eff7c3189d49e8.tar.gz
No issue - Research and resolve NIGHTLY_BUILD conditionals
Diffstat (limited to 'components')
-rw-r--r--components/formautofill/formautofill.manifest3
-rw-r--r--components/global/content/aboutSupport.js18
2 files changed, 0 insertions, 21 deletions
diff --git a/components/formautofill/formautofill.manifest b/components/formautofill/formautofill.manifest
index 880972edc..8d5144a03 100644
--- a/components/formautofill/formautofill.manifest
+++ b/components/formautofill/formautofill.manifest
@@ -2,6 +2,3 @@ component {ed9c2c3c-3f86-4ae5-8e31-10f71b0f19e6} FormAutofillContentService.js
contract @mozilla.org/formautofill/content-service;1 {ed9c2c3c-3f86-4ae5-8e31-10f71b0f19e6}
component {51c95b3d-7431-467b-8d50-383f158ce9e5} FormAutofillStartup.js
contract @mozilla.org/formautofill/startup;1 {51c95b3d-7431-467b-8d50-383f158ce9e5}
-#ifdef NIGHTLY_BUILD
-category profile-after-change FormAutofillStartup @mozilla.org/formautofill/startup;1
-#endif
diff --git a/components/global/content/aboutSupport.js b/components/global/content/aboutSupport.js
index 86f1fa35b..f921c1372 100644
--- a/components/global/content/aboutSupport.js
+++ b/components/global/content/aboutSupport.js
@@ -196,24 +196,6 @@ var snapshotFormatters = {
delete data.info;
}
-#ifdef NIGHTLY_BUILD
- let windowUtils = window.QueryInterface(Ci.nsIInterfaceRequestor)
- .getInterface(Ci.nsIDOMWindowUtils);
- let gpuProcessPid = windowUtils.gpuProcessPid;
-
- if (gpuProcessPid != -1) {
- let gpuProcessKillButton = $.new("button");
-
- gpuProcessKillButton.addEventListener("click", function() {
- windowUtils.terminateGPUProcess();
- });
-
- gpuProcessKillButton.textContent = strings.GetStringFromName("gpuProcessKillButton");
- addRow("diagnostics", "GPUProcessPid", gpuProcessPid);
- addRow("diagnostics", "GPUProcess", [gpuProcessKillButton]);
- }
-#endif
-
// graphics-failures-tbody tbody
if ("failures" in data) {
// If indices is there, it should be the same length as failures,