Bug 1277463 - Remove unused DocumentInserted listener. r=Gijs
authorJ. Ryan Stinnett <jryans@gmail.com>
Thu, 02 Jun 2016 01:41:28 -0500
changeset 300095 a9b6393d78b0f4d3b0d8a1a80e75b76247c68ff9
parent 300094 486cf151cbef9c31e108098c9cf809da6e261225
child 300096 4f76ef821616e650c416159b7ee9442dcbd7a581
push id30308
push usercbook@mozilla.com
push dateFri, 03 Jun 2016 09:58:06 +0000
treeherdermozilla-central@718e392bad42 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs
bugs1277463
milestone49.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1277463 - Remove unused DocumentInserted listener. r=Gijs MozReview-Commit-ID: 44c1TDewSUL
toolkit/content/widgets/remote-browser.xml
--- a/toolkit/content/widgets/remote-browser.xml
+++ b/toolkit/content/widgets/remote-browser.xml
@@ -375,17 +375,16 @@
 
           // Initialize to the null principal
           let Services = Components.utils.import("resource://gre/modules/Services.jsm", {}).Services
           this._contentPrincipal = Services.scriptSecurityManager.createNullPrincipal({});
 
           this.messageManager.addMessageListener("Browser:Init", this);
           this.messageManager.addMessageListener("DOMTitleChanged", this);
           this.messageManager.addMessageListener("ImageDocumentLoaded", 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.addMessageListener("MozApplicationManifest", this);
           this.messageManager.loadFrameScript("chrome://global/content/browser-child.js", true);