Bug 1401946 - Show profile path next to the open button. r=Mossop
authorHenri Kemppainen <mozilla@guu.fi>
Thu, 21 Sep 2017 16:31:12 +0300
changeset 426870 b5da04ce9e4372d20784eb49721210e268e91d42
parent 426869 c5c5b9eff4c09691af9e9b3b2f2b18a576c15775
child 426871 d722a5c47f8784d9369c1b0d3afc66fe394d4ad4
push id97
push userfmarier@mozilla.com
push dateSat, 14 Oct 2017 01:12:59 +0000
reviewersMossop
bugs1401946
milestone58.0a1
Bug 1401946 - Show profile path next to the open button. r=Mossop
toolkit/content/aboutSupport.js
toolkit/content/aboutSupport.xhtml
--- a/toolkit/content/aboutSupport.js
+++ b/toolkit/content/aboutSupport.js
@@ -44,16 +44,17 @@ var snapshotFormatters = {
     $("supportLink").href = data.supportURL;
     let version = AppConstants.MOZ_APP_VERSION_DISPLAY;
     if (data.vendor)
       version += " (" + data.vendor + ")";
     $("version-box").textContent = version;
     $("buildid-box").textContent = data.buildID;
     if (data.updateChannel)
       $("updatechannel-box").textContent = data.updateChannel;
+    $("profile-dir-box").textContent = Services.dirsvc.get("ProfD", Ci.nsIFile).path;
 
     let statusText = strings.GetStringFromName("multiProcessStatus.unknown");
 
     // Whitelist of known values with string descriptions:
     switch (data.autoStartStatus) {
       case 0:
       case 1:
       case 2:
--- a/toolkit/content/aboutSupport.xhtml
+++ b/toolkit/content/aboutSupport.xhtml
@@ -161,16 +161,18 @@
 #else
 #ifdef XP_MACOSX
                 &aboutSupport.showMac.label;
 #else
                 &aboutSupport.showDir.label;
 #endif
 #endif
                </button>
+               <span id="profile-dir-box">
+               </span>
             </td>
           </tr>
 
           <tr class="no-copy">
             <th class="column">
               &aboutSupport.appBasicsEnabledPlugins;
             </th>