зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
e3585b8a9e
Коммит
584e3b9e87
|
@ -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
|
||||
);
|
||||
|
|
Загрузка…
Ссылка в новой задаче