Bug 1169209 - about:performance should not be listed for non-Nightly. r=Yoric
authorYFdyh000 <yfdyh000@gmail.com>
Mon, 24 Aug 2015 07:01:00 -0400
changeset 259345 c1c2b9fbd66fb4261dd6ee9494298e815c830461
parent 259344 a61510583296c98d0141b47d02451d56698cfa6c
child 259346 bb27412c9a7969f0f13c7cba34f075871de83efb
push id14850
push userryanvm@gmail.com
push dateWed, 26 Aug 2015 16:48:44 +0000
treeherderfx-team@bb27412c9a79 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersYoric
bugs1169209
milestone43.0a1
Bug 1169209 - about:performance should not be listed for non-Nightly. r=Yoric
docshell/base/nsAboutRedirector.cpp
--- a/docshell/base/nsAboutRedirector.cpp
+++ b/docshell/base/nsAboutRedirector.cpp
@@ -69,20 +69,22 @@ static RedirEntry kRedirMap[] = {
       nsIAboutModule::URI_CAN_LOAD_IN_CHILD |
       nsIAboutModule::ALLOW_SCRIPT |
       nsIAboutModule::HIDE_FROM_ABOUTABOUT
   },
   {
     "memory", "chrome://global/content/aboutMemory.xhtml",
     nsIAboutModule::ALLOW_SCRIPT
   },
+#ifdef NIGHTLY_BUILD
   {
     "performance", "chrome://global/content/aboutPerformance.xhtml",
     nsIAboutModule::ALLOW_SCRIPT
   },
+#endif
   {
     "addons", "chrome://mozapps/content/extensions/extensions.xul",
     nsIAboutModule::ALLOW_SCRIPT
   },
   {
     "newaddon", "chrome://mozapps/content/extensions/newaddon.xul",
     nsIAboutModule::ALLOW_SCRIPT |
       nsIAboutModule::HIDE_FROM_ABOUTABOUT