mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1171677 - Part 2. Safe mode in about:support. r=MattN
This commit is contained in:
parent
49a1564da6
commit
c474a69974
@ -47,6 +47,8 @@ let snapshotFormatters = {
|
||||
|
||||
$("multiprocess-box").textContent = stringBundle().formatStringFromName("multiProcessStatus",
|
||||
[data.numRemoteWindows, data.numTotalWindows, data.remoteAutoStart], 3);
|
||||
|
||||
$("safemode-box").textContent = data.safeMode;
|
||||
},
|
||||
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
|
@ -207,6 +207,15 @@
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th class="column">
|
||||
&aboutSupport.appBasicsSafeMode;
|
||||
</th>
|
||||
|
||||
<td id="safemode-box">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
@ -61,6 +61,8 @@ Windows/Mac use the term "Folder" instead of "Directory" -->
|
||||
|
||||
<!ENTITY aboutSupport.appBasicsMultiProcessSupport "Multiprocess Windows">
|
||||
|
||||
<!ENTITY aboutSupport.appBasicsSafeMode "Safe Mode">
|
||||
|
||||
<!ENTITY aboutSupport.showDir.label "Open Directory">
|
||||
<!-- LOCALIZATION NOTE (aboutSupport.showMac.label): This is the Mac-specific
|
||||
variant of aboutSupport.showDir.label. This allows us to use the preferred
|
||||
|
@ -177,6 +177,7 @@ let dataProviders = {
|
||||
userAgent: Cc["@mozilla.org/network/protocol;1?name=http"].
|
||||
getService(Ci.nsIHttpProtocolHandler).
|
||||
userAgent,
|
||||
safeMode: Services.appinfo.inSafeMode,
|
||||
};
|
||||
|
||||
if (AppConstants.MOZ_UPDATER)
|
||||
|
@ -131,6 +131,9 @@ const SNAPSHOT_SCHEMA = {
|
||||
numRemoteWindows: {
|
||||
type: "number",
|
||||
},
|
||||
safeMode: {
|
||||
type: "boolean",
|
||||
},
|
||||
},
|
||||
},
|
||||
crashes: {
|
||||
|
Loading…
Reference in New Issue
Block a user