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

@@ -1458,7 +1458,7 @@ nsContextMenu.prototype = {
},
switchPageDirection: function CM_switchPageDirection() {
this.browser.messageManager.sendAsyncMessage("SwitchDocumentDirection");
gBrowser.selectedBrowser.sendMessageToActor("SwitchDocumentDirection", {}, "SwitchDocumentDirection", true);
},
mediaCommand: function CM_mediaCommand(command, data) {