mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +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;
|
$("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) {
|
if (Services.policies) {
|
||||||
let policiesText = "";
|
let policiesText = "";
|
||||||
switch (data.policiesStatus) {
|
switch (data.policiesStatus) {
|
||||||
|
@ -237,15 +237,6 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
|
||||||
<th class="column">
|
|
||||||
Stylo
|
|
||||||
</th>
|
|
||||||
|
|
||||||
<td id="stylo-box">
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr id="policies-status-row">
|
<tr id="policies-status-row">
|
||||||
<th class="column">
|
<th class="column">
|
||||||
&aboutSupport.enterprisePolicies;
|
&aboutSupport.enterprisePolicies;
|
||||||
|
@ -153,13 +153,6 @@ autoscrollEnabled = autoscroll enabled
|
|||||||
wheelWarning = async wheel input disabled due to unsupported pref: %S
|
wheelWarning = async wheel input disabled due to unsupported pref: %S
|
||||||
touchWarning = async touch 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.
|
# LOCALIZATION NOTE Strings representing the status of the Enterprise Policies engine.
|
||||||
policies.inactive = Inactive
|
policies.inactive = Inactive
|
||||||
policies.active = Active
|
policies.active = Active
|
||||||
|
Loading…
Reference in New Issue
Block a user