Bug 1618322 - Merge network.preload.experimental pref to network.preload, r=dragana

Depends on D70235

Differential Revision: https://phabricator.services.mozilla.com/D70526
This commit is contained in:
Honza Bambas
2020-05-11 14:15:30 +00:00
parent 58712a68b4
commit a075a49397
9 changed files with 12 additions and 111 deletions

View File

@@ -409,8 +409,7 @@ static const DOMTokenListSupportedToken sSupportedRelValuesWithManifest[] = {
nsDOMTokenList* HTMLLinkElement::RelList() {
if (!mRelList) {
auto preload = Preferences::GetBool("network.preload") ||
StaticPrefs::network_preload_experimental();
auto preload = StaticPrefs::network_preload();
auto manifest = StaticPrefs::dom_manifest_enabled();
if (manifest && preload) {
mRelList = new nsDOMTokenList(this, nsGkAtoms::rel,