diff options
author | Moonchild <moonchild@palemoon.org> | 2022-02-20 22:00:59 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-04-22 13:58:16 +0000 |
commit | 5aa65d2aeab36ea8de8129c0babcf70a5e4e662a (patch) | |
tree | 36ed652ffb09104d8a10c01261b851329f34882f /toolkit/content | |
parent | 712ca7303b0835772f8abca85ebec981e254a017 (diff) | |
download | uxp-5aa65d2aeab36ea8de8129c0babcf70a5e4e662a.tar.gz |
Issue #1877 - Resolve NIGHTLY_BUILD conditionals.
Diffstat (limited to 'toolkit/content')
-rw-r--r-- | toolkit/content/aboutSupport.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/toolkit/content/aboutSupport.js b/toolkit/content/aboutSupport.js index f9a0abcb0e..ae991b888a 100644 --- a/toolkit/content/aboutSupport.js +++ b/toolkit/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, |