Bug 1125378 - indicate default e10s state in remote troubleshooting, r=gavin

This commit is contained in:
Gijs Kruitbosch 2015-01-28 17:13:42 +00:00
parent bdf9600397
commit c8d8432aba
3 changed files with 10 additions and 1 deletions

View File

@ -41,7 +41,9 @@ let snapshotFormatters = {
if (data.vendor)
version += " (" + data.vendor + ")";
$("version-box").textContent = version;
$("multiprocess-box").textContent = data.numRemoteWindows + "/" + data.numTotalWindows;
$("multiprocess-box").textContent = stringBundle().formatStringFromName("multiProcessStatus",
[data.numRemoteWindows, data.numTotalWindows, data.remoteAutoStart], 3);
},
#ifdef MOZ_CRASHREPORTER

View File

@ -86,3 +86,8 @@ loadedLibVersions = Version in use
hasSeccompBPF = Seccomp-BPF (System Call Filtering)
canSandboxContent = Content Process Sandboxing
canSandboxMedia = Media Plugin Sandboxing
# LOCALIZATION NOTE %1$S and %2$S will be replaced with the number of remote and the total number
# of windows, respectively, while %3$S will indicate whether windows are remote by default ('true'
# or 'false')
multiProcessStatus = %1$S/%2$S (default: %3$S)

View File

@ -161,6 +161,8 @@ let dataProviders = {
}
}
data.remoteAutoStart = Services.appinfo.browserTabsRemoteAutostart;
done(data);
},