Enable the GPU process test-kill button on Aurora. (bug 1335194, r=gwright)
authorDavid Anderson <danderson@mozilla.com>
Tue, 31 Jan 2017 11:06:33 -0800
changeset 331916 4e2f7287aa1a69fe4c961bdebd7f69e1acbcd3a5
parent 331915 e52daa8592322c75b243330c5f10d9ca6d2dafcb
child 331917 2c06f923117b18980a5cee8ae1c67422ef7a7f93
push id31291
push usercbook@mozilla.com
push dateWed, 01 Feb 2017 12:14:40 +0000
treeherdermozilla-central@9e7b1041929f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgwright
bugs1335194
milestone54.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Enable the GPU process test-kill button on Aurora. (bug 1335194, r=gwright)
toolkit/content/aboutSupport.js
--- a/toolkit/content/aboutSupport.js
+++ b/toolkit/content/aboutSupport.js
@@ -277,17 +277,17 @@ var snapshotFormatters = {
           $.new("td", String(val)),
         ]);
       });
       addRows("diagnostics", trs);
 
       delete data.info;
     }
 
-    if (AppConstants.NIGHTLY_BUILD) {
+    if (AppConstants.NIGHTLY_BUILD || AppConstants.MOZ_DEV_EDITION) {
       let windowUtils = window.QueryInterface(Ci.nsIInterfaceRequestor)
                               .getInterface(Ci.nsIDOMWindowUtils);
       let gpuProcessPid = windowUtils.gpuProcessPid;
 
       if (gpuProcessPid != -1) {
         let gpuProcessKillButton = $.new("button");
 
         gpuProcessKillButton.addEventListener("click", function() {