Bug 1533948, change BrowserTabChild to inherit from JSWindowActor, r=mconley

This commit is contained in:
Neil Deakin
2019-06-11 09:05:33 -04:00
parent 5d9ecb0615
commit c1eb92539d
12 changed files with 223 additions and 130 deletions

View File

@@ -325,8 +325,7 @@ var gIdentityHandler = {
},
enableMixedContentProtection() {
gBrowser.selectedBrowser.messageManager.sendAsyncMessage(
"MixedContent:ReenableProtection", {});
gBrowser.selectedBrowser.sendMessageToActor("MixedContent:ReenableProtection", {}, "BrowserTab");
BrowserReload();
PanelMultiView.hidePopup(this._identityPopup);
},