Commit 9b8cafae authored by Alex Catarineu's avatar Alex Catarineu Committed by Georg Koppen
Browse files

Bug 33342: Avoid disconnect search addon error after removal.

We removed the addon in #32767, but it was still being loaded
from addonStartup.json.lz4 and throwing an error on startup
because its resource: location is not available anymore.
parent 60630272
...@@ -970,6 +970,12 @@ var BuiltInLocation = new (class _BuiltInLocation extends XPIStateLocation { ...@@ -970,6 +970,12 @@ var BuiltInLocation = new (class _BuiltInLocation extends XPIStateLocation {
get enumerable() { get enumerable() {
return false; return false;
} }
restore(saved) {
super.restore(saved);
// Bug 33342: avoid restoring disconnect addon from addonStartup.json.lz4.
this.removeAddon("disconnect@search.mozilla.org");
}
})(); })();
/** /**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment