Bug 1531359 - Don't warn about built-in system addons file. r=mixedpuppy

Differential Revision: https://phabricator.services.mozilla.com/D65396

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Agi Sferro 2020-03-05 16:11:36 +00:00
parent 20dae409e2
commit dfaa4842cc

View File

@ -1128,7 +1128,7 @@ class SystemAddonDefaults extends DirectoryLocation {
let manifest = XPIProvider.builtInAddons;
if (!("system" in manifest)) {
logger.warn("No list of valid system add-ons found.");
logger.debug("No list of valid system add-ons found.");
return addons;
}
@ -2372,7 +2372,7 @@ var XPIProvider = {
let data = Cu.readUTF8URI(url);
this.builtInAddons = JSON.parse(data);
} catch (e) {
logger.warn("List of valid built-in add-ons could not be parsed.", e);
logger.debug("List of valid built-in add-ons could not be parsed.", e);
}
this.registerBuiltinDictionaries();