mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 22:25:30 +00:00
Bug 1242752 - Fix exception raised when a WebExtension iframe is destroyed. r=kmag
--HG-- extra : commitid : OWlweEhPgN extra : histedit_source : 80a0cb88697493d72df763a4950c2efbd240f943
This commit is contained in:
parent
da47b8d03f
commit
2528d1ad29
@ -429,7 +429,7 @@ var DocumentManager = {
|
||||
|
||||
// Close any existent iframe extension page context for the destroyed window.
|
||||
if (this.extensionPageWindows.has(windowId)) {
|
||||
let context = this.extensionWindows.get(windowId);
|
||||
let context = this.extensionPageWindows.get(windowId);
|
||||
context.close();
|
||||
this.extensionPageWindows.delete(windowId);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user