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:
Emilio Cobos Álvarez 2018-03-22 23:33:40 +01:00
parent 1270a21724
commit d02390ae72
3 changed files with 0 additions and 38 deletions

View File

@ -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) {

View File

@ -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;

View File

@ -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