Mike de Boer 9e0ef2b077 Bug 1347226 - prevent an error thrown by LightWeightThemeManager when a temporary WebExtension theme addon is installed and make sure it's enabled correctly in the Addon Manager. r=mossop
This is done by adding a check to LWTManager that ensures only valid LWTs are
enabled/ disabled there.
The temporary addon install flow never had to deal with addons that would be
disabled by default before. Since WebExtension themes are, we need to explicitly
set `userDisabled = true`.

MozReview-Commit-ID: IkdNAq97cxI

--HG--
extra : rebase_source : 7e78db34cbf20a8ff6e6f1574581ff15fba3a37e
2017-04-05 16:27:25 +02:00
..
2017-04-05 21:35:03 -07:00