Bug 1318491 - Adding in container name to the tab title tooltip
MozReview-Commit-ID: HIbNXzWKlZl
--- a/browser/base/content/tabbrowser.xml
+++ b/browser/base/content/tabbrowser.xml
@@ -4586,16 +4586,20 @@
}
label = this.mStringBundle.getString(stringID);
}
} else {
label = tab.getAttribute("label") +
(this.AppConstants.E10S_TESTING_ONLY && tab.linkedBrowser && tab.linkedBrowser.isRemoteBrowser ? " - e10s" : "");
}
+
+ if (tab.userContextId) {
+ label += " - " + ContextualIdentityService.getUserContextLabel(tab.userContextId);
+ }
event.target.setAttribute("label", label);
]]></body>
</method>
<method name="handleEvent">
<parameter name="aEvent"/>
<body><![CDATA[
switch (aEvent.type) {