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-03-21 13:23:02 +0000
commite0d9f5cda41908bd0cf9ab8f356206c2f5ac7e6c (patch)
tree424a06997bce76c83effe2790aebde7ee93176aa /components
parent7bfd6315deae1d579a62122d8f913baaf2afafba (diff)
downloadaura-central-e0d9f5cda41908bd0cf9ab8f356206c2f5ac7e6c.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,