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:
Luca Greco 2016-01-26 13:30:17 +01:00
parent da47b8d03f
commit 2528d1ad29

View File

@ -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);
}