Bug 1696698 - Remove reader.parse-on-load.force-enabled pref. r=mconley

Differential Revision: https://phabricator.services.mozilla.com/D108353
This commit is contained in:
sagudev 2021-03-15 17:53:10 +00:00
Родитель e3585b8a9e
Коммит 584e3b9e87
2 изменённых файлов: 1 добавлений и 11 удалений

Просмотреть файл

@ -4258,10 +4258,6 @@ pref("reader.parse-on-load.enabled", true);
// because it'd slow things down too much
pref("reader.parse-node-limit", 3000);
// Force-enables reader mode parsing, even on low-memory platforms, where it
// is disabled by default.
pref("reader.parse-on-load.force-enabled", false);
// Whether we include full URLs in browser console errors. This is disabled
// by default because some platforms will persist these, leading to privacy issues.
pref("reader.errors.includeURLs", false);

Просмотреть файл

@ -21,7 +21,7 @@ function isNodeVisible(node) {
var Readerable = {
get isEnabledForParseOnLoad() {
return this.isEnabled || this.isForceEnabled;
return this.isEnabled;
},
/**
@ -84,9 +84,3 @@ XPCOMUtils.defineLazyPreferenceGetter(
"reader.parse-on-load.enabled",
true
);
XPCOMUtils.defineLazyPreferenceGetter(
Readerable,
"isForceEnabled",
"reader.parse-on-load.force-enabled",
false
);