зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1542791 - Part 2: Add a [F] marker to fission-enabled tabs, r=mconley
This should make it easier to tell whether a particular window is fission-enabled as testing with fission enabled improves. Differential Revision: https://phabricator.services.mozilla.com/D26561 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
40f96bcf80
Коммит
f7ae25cb52
|
@ -4261,11 +4261,16 @@ window._gBrowser = {
|
|||
}
|
||||
} else {
|
||||
label = tab._fullLabel || tab.getAttribute("label");
|
||||
if (AppConstants.NIGHTLY_BUILD &&
|
||||
tab.linkedBrowser &&
|
||||
tab.linkedBrowser.isRemoteBrowser &&
|
||||
tab.linkedBrowser.frameLoader) {
|
||||
label += " (pid " + tab.linkedBrowser.frameLoader.tabParent.osPid + ")";
|
||||
if (AppConstants.NIGHTLY_BUILD) {
|
||||
if (tab.linkedBrowser &&
|
||||
tab.linkedBrowser.isRemoteBrowser &&
|
||||
tab.linkedBrowser.frameLoader) {
|
||||
label += " (pid " + tab.linkedBrowser.frameLoader.tabParent.osPid + ")";
|
||||
|
||||
if (window.docShell.QueryInterface(Ci.nsILoadContext).useRemoteSubframes) {
|
||||
label += " [F]";
|
||||
}
|
||||
}
|
||||
}
|
||||
if (tab.userContextId) {
|
||||
label = gTabBrowserBundle.formatStringFromName("tabs.containers.tooltip", [label, ContextualIdentityService.getUserContextLabel(tab.userContextId)], 2);
|
||||
|
|
Загрузка…
Ссылка в новой задаче