mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 06:45:42 +00:00
Bug 1448173: Remove stylo about:support stuff. r=xidorn
Summary: I missed them while removing --enable-stylo. Reviewers: xidorn Bug #: 1448173 Differential Revision: https://phabricator.services.mozilla.com/D793 MozReview-Commit-ID: s8WwyT2aql
This commit is contained in:
parent
1270a21724
commit
d02390ae72
@ -79,28 +79,6 @@ var snapshotFormatters = {
|
||||
$("contentprocesses-row").hidden = true;
|
||||
}
|
||||
|
||||
function getReasonStringName(resultValue, defaultValue) {
|
||||
if (resultValue != defaultValue) {
|
||||
return resultValue ? "enabledByUser" : "disabledByUser";
|
||||
}
|
||||
return resultValue ? "enabledByDefault" : "disabledByDefault";
|
||||
}
|
||||
let styloReason;
|
||||
let styloChromeReason;
|
||||
if (!data.styloBuild) {
|
||||
styloReason = "disabledByBuild";
|
||||
styloChromeReason = "disabledByBuild";
|
||||
} else {
|
||||
styloReason = getReasonStringName(data.styloResult, data.styloDefault);
|
||||
styloChromeReason = getReasonStringName(data.styloChromeResult,
|
||||
data.styloChromeDefault);
|
||||
}
|
||||
styloReason = strings.GetStringFromName(styloReason);
|
||||
styloChromeReason = strings.GetStringFromName(styloChromeReason);
|
||||
$("stylo-box").textContent =
|
||||
`content = ${data.styloResult} (${styloReason}), ` +
|
||||
`chrome = ${data.styloChromeResult} (${styloChromeReason})`;
|
||||
|
||||
if (Services.policies) {
|
||||
let policiesText = "";
|
||||
switch (data.policiesStatus) {
|
||||
|
@ -237,15 +237,6 @@
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th class="column">
|
||||
Stylo
|
||||
</th>
|
||||
|
||||
<td id="stylo-box">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr id="policies-status-row">
|
||||
<th class="column">
|
||||
&aboutSupport.enterprisePolicies;
|
||||
|
@ -153,13 +153,6 @@ autoscrollEnabled = autoscroll enabled
|
||||
wheelWarning = async wheel input disabled due to unsupported pref: %S
|
||||
touchWarning = async touch input disabled due to unsupported pref: %S
|
||||
|
||||
# LOCALIZATION NOTE Strings explaining why a feature is or is not available.
|
||||
disabledByBuild = disabled by build
|
||||
enabledByDefault = enabled by default
|
||||
disabledByDefault = disabled by default
|
||||
enabledByUser = enabled by user
|
||||
disabledByUser = disabled by user
|
||||
|
||||
# LOCALIZATION NOTE Strings representing the status of the Enterprise Policies engine.
|
||||
policies.inactive = Inactive
|
||||
policies.active = Active
|
||||
|
Loading…
Reference in New Issue
Block a user