remote-browser.xml constructor debugging draft
authorJ. Ryan Stinnett <jryans@gmail.com>
Thu, 26 May 2016 18:54:24 -0500
changeset 375859 dd1ce3e4d5a1a67fd77b27c2e214cb919e541d99
parent 375858 c5a24d3db321a15731c1ff413cb4f56d7dd1adb0
child 375860 f14d25a1d13e034710815034c0f2cd5f5c9771cb
push id20402
push userbmo:jryans@gmail.com
push dateMon, 06 Jun 2016 20:31:20 +0000
milestone49.0a1
remote-browser.xml constructor debugging MozReview-Commit-ID: Kzxolvm6bXl
toolkit/content/widgets/remote-browser.xml
--- a/toolkit/content/widgets/remote-browser.xml
+++ b/toolkit/content/widgets/remote-browser.xml
@@ -363,16 +363,18 @@
 
       <constructor>
         <![CDATA[
           /*
            * Don't try to send messages from this function. The message manager for
            * the <browser> element may not be initialized yet.
            */
 
+          dump(`Enter remote-browser.xml constructor\n`);
+
           this._remoteWebNavigation = Components.classes["@mozilla.org/remote-web-navigation;1"]
                                                 .createInstance(Components.interfaces.nsIWebNavigation);
           this._remoteWebNavigationImpl = this._remoteWebNavigation.wrappedJSObject;
           this._remoteWebNavigationImpl.swapBrowser(this);
 
           // Initialize to the null principal
           let Services = Components.utils.import("resource://gre/modules/Services.jsm", {}).Services
           this._contentPrincipal = Services.scriptSecurityManager.createNullPrincipal({});