mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
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:
parent
c35a2be3f5
commit
bb445b4ac3
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user