Bug 1279140 - The label of the container in awesomebar should follow the container type. r=Gijs, a=sledru
authorAndrea Marchesini <amarchesini@mozilla.com>
Thu, 09 Jun 2016 18:28:20 +0200
changeset 342078 c2fbedd0b788bb91bf671f70b0a4b7f317f3c39d
parent 342077 cf93a3667b5b20362928c934200c87feb854f326
child 342079 cf366a3b54d26733dc13ffbd2a2c5b46e1c7df12
push id1183
push userraliiev@mozilla.com
push dateMon, 05 Sep 2016 20:01:49 +0000
treeherdermozilla-release@3148731bed45 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs, sledru
bugs1279140
milestone49.0a2
Bug 1279140 - The label of the container in awesomebar should follow the container type. r=Gijs, a=sledru
browser/base/content/browser.js
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -4126,17 +4126,17 @@ function updateUserContextUIIndicator()
 
   let identity = ContextualIdentityService.getIdentityFromId(userContextId);
   if (!identity) {
     hbox.hidden = true;
     return;
   }
 
   let label = document.getElementById("userContext-label");
-  label.value = ContextualIdentityService.getUserContextLabel(userContextId);
+  label.setAttribute('value', ContextualIdentityService.getUserContextLabel(userContextId));
   label.style.color = identity.color;
 
   let indicator = document.getElementById("userContext-indicator");
   indicator.style.listStyleImage = "url(" + identity.icon + ")";
 
   hbox.hidden = false;
 }