null null null null null null "" "" null null null null 1 1 false element may not be initialized yet. */ let jsm = "resource://gre/modules/RemoteWebNavigation.jsm"; let RemoteWebNavigation = Cu.import(jsm, {}).RemoteWebNavigation; this._remoteWebNavigation = new RemoteWebNavigation(this); this.messageManager.addMessageListener("Browser:Init", this); this.messageManager.addMessageListener("DOMTitleChanged", this); this.messageManager.addMessageListener("ImageDocumentLoaded", this); this.messageManager.addMessageListener("SetSyncHandler", this); this.messageManager.addMessageListener("DocumentInserted", this); this.messageManager.addMessageListener("FullZoomChange", this); this.messageManager.addMessageListener("TextZoomChange", this); this.messageManager.addMessageListener("ZoomChangeUsingMouseWheel", this); this.messageManager.addMessageListener("DOMFullscreen:RequestExit", this); this.messageManager.addMessageListener("DOMFullscreen:RequestRollback", this); this.messageManager.loadFrameScript("chrome://global/content/browser-child.js", true); if (this.hasAttribute("selectpopup")) { this.messageManager.addMessageListener("Forms:ShowDropDown", this); this.messageManager.addMessageListener("Forms:HideDropDown", this); this.messageManager.loadFrameScript("chrome://global/content/select-child.js", true); } jsm = "resource://gre/modules/RemoteController.jsm"; let RemoteController = Components.utils.import(jsm, {}).RemoteController; this._controller = new RemoteController(this); this.controllers.appendController(this._controller); Services.obs.addObserver(this, "ask-children-to-exit-fullscreen", false); ]]>