Bug 1588106: Don't close extension tabs during normal navigations. r=zombie

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Kris Maglione 2019-11-21 22:27:51 +00:00
parent c35a2be3f5
commit bb445b4ac3

View File

@ -241,6 +241,10 @@ class ExtensionBaseContextChild extends BaseContext {
// Called when the extension shuts down.
shutdown() {
if (this.contentWindow) {
this.contentWindow.close();
}
this.unload();
}
@ -254,10 +258,6 @@ class ExtensionBaseContextChild extends BaseContext {
return;
}
if (this.contentWindow) {
this.contentWindow.close();
}
super.unload();
}
}