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 340065 c2fbedd0b788bb91bf671f70b0a4b7f317f3c39d
parent 340064 cf93a3667b5b20362928c934200c87feb854f326
child 340066 cf366a3b54d26733dc13ffbd2a2c5b46e1c7df12
push id6249
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 13:59:36 +0000
treeherdermozilla-beta@bad9d4f5bf7e [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;
 }