Bug 1217044 - Experiment branch should be displayed in about:support. r=bsmedberg
authorFelipe Gomes <felipc@gmail.com>
Thu, 22 Oct 2015 21:37:05 -0200
changeset 304255 b17cd99e9b4e8ce762db86de9d653c2038ab7c32
parent 304254 afd47100fac370831bdf9ae0809f02b96389dbd8
child 304256 935d934a5f436ac40098d836604348042bcc14b5
push id1001
push userraliiev@mozilla.com
push dateMon, 18 Jan 2016 19:06:03 +0000
treeherdermozilla-release@8b89261f3ac4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbsmedberg
bugs1217044
milestone44.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
Bug 1217044 - Experiment branch should be displayed in about:support. r=bsmedberg
toolkit/content/aboutSupport.js
toolkit/content/aboutSupport.xhtml
toolkit/locales/en-US/chrome/global/aboutSupport.dtd
--- a/toolkit/content/aboutSupport.js
+++ b/toolkit/content/aboutSupport.js
@@ -136,16 +136,17 @@ var snapshotFormatters = {
         $.new("td", experiment.name),
         $.new("td", experiment.id),
         $.new("td", experiment.description),
         $.new("td", experiment.active),
         $.new("td", experiment.endDate),
         $.new("td", [
           $.new("a", experiment.detailURL, null, {href : experiment.detailURL,})
         ]),
+        $.new("td", experiment.branch),
       ]);
     }));
   },
 
   modifiedPreferences: function modifiedPreferences(data) {
     $.append($("prefs-tbody"), sortedArrayFromObject(data).map(
       function ([name, value]) {
         return $.new("tr", [
--- a/toolkit/content/aboutSupport.xhtml
+++ b/toolkit/content/aboutSupport.xhtml
@@ -412,16 +412,19 @@
               &aboutSupport.experimentActive;
             </th>
             <th>
               &aboutSupport.experimentEndDate;
             </th>
             <th>
               &aboutSupport.experimentHomepage;
             </th>
+            <th>
+              &aboutSupport.experimentBranch;
+            </th>
           </tr>
         </thead>
         <tbody id="experiments-tbody">
         </tbody>
       </table>
       <!-- - - - - - - - - - - - - - - - - - - - - -->
 
 #if defined(XP_LINUX) && defined(MOZ_SANDBOX)
--- a/toolkit/locales/en-US/chrome/global/aboutSupport.dtd
+++ b/toolkit/locales/en-US/chrome/global/aboutSupport.dtd
@@ -27,17 +27,17 @@ This is likely the same like id.heading 
 
 <!ENTITY aboutSupport.experimentsTitle "Experimental Features">
 <!ENTITY aboutSupport.experimentName "Name">
 <!ENTITY aboutSupport.experimentId "ID">
 <!ENTITY aboutSupport.experimentDescription "Description">
 <!ENTITY aboutSupport.experimentActive "Active">
 <!ENTITY aboutSupport.experimentEndDate "End Date">
 <!ENTITY aboutSupport.experimentHomepage "Homepage">
-
+<!ENTITY aboutSupport.experimentBranch "Branch">
 
 <!ENTITY aboutSupport.appBasicsTitle "Application Basics">
 <!ENTITY aboutSupport.appBasicsName "Name">
 <!ENTITY aboutSupport.appBasicsVersion "Version">
 <!ENTITY aboutSupport.appBasicsBuildID "Build ID">
 
 <!-- LOCALIZATION NOTE (aboutSupport.appBasicsUpdateChannel, aboutSupport.appBasicsUpdateHistory, aboutSupport.appBasicsShowUpdateHistory):
 "Update" is a noun here, not a verb. -->