diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-05-23 16:31:42 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-05-23 16:31:42 +0200 |
commit | fcd7ee3c886c435f178230b13d0b0cb0c9c40c53 (patch) | |
tree | abfa8d9a272d739ffe2d92bfcf57d9fd5f7e5157 /toolkit/components | |
parent | 612459488e5810335c493c467c239c40787cc1d3 (diff) | |
download | UXP-fcd7ee3c886c435f178230b13d0b0cb0c9c40c53.tar UXP-fcd7ee3c886c435f178230b13d0b0cb0c9c40c53.tar.gz UXP-fcd7ee3c886c435f178230b13d0b0cb0c9c40c53.tar.lz UXP-fcd7ee3c886c435f178230b13d0b0cb0c9c40c53.tar.xz UXP-fcd7ee3c886c435f178230b13d0b0cb0c9c40c53.zip |
Remove the Dark Matter Detector (DMD) Memeory debugger component.
This resolves #376.
Diffstat (limited to 'toolkit/components')
-rw-r--r-- | toolkit/components/aboutmemory/content/aboutMemory.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/toolkit/components/aboutmemory/content/aboutMemory.js b/toolkit/components/aboutmemory/content/aboutMemory.js index c62416dc5..dcc1ce3ac 100644 --- a/toolkit/components/aboutmemory/content/aboutMemory.js +++ b/toolkit/components/aboutmemory/content/aboutMemory.js @@ -367,22 +367,6 @@ function onLoad() appendButton(row4, GCAndCCAllLogDesc, saveGCLogAndVerboseCCLog, "Save verbose", 'saveLogsVerbose'); - // Three cases here: - // - DMD is disabled (i.e. not built): don't show the button. - // - DMD is enabled but is not running: show the button, but disable it. - // - DMD is enabled and is running: show the button and enable it. - if (gMgr.isDMDEnabled) { - let row5 = appendElement(ops, "div", "opsRow"); - - appendElementWithText(row5, "div", "opsRowLabel", "Save DMD output"); - let enableButtons = gMgr.isDMDRunning; - - let dmdButton = - appendButton(row5, enableButtons ? DMDEnabledDesc : DMDDisabledDesc, - doDMD, "Save"); - dmdButton.disabled = !enableButtons; - } - // Generate the main div, where content ("section" divs) will go. It's // hidden at first. |