[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r13708: Some log messages around popup windows. (torbutton/trunk/src/chrome/content)



Author: mikeperry
Date: 2008-02-24 18:54:07 -0500 (Sun, 24 Feb 2008)
New Revision: 13708

Modified:
   torbutton/trunk/src/chrome/content/torbutton.js
Log:

Some log messages around popup windows.



Modified: torbutton/trunk/src/chrome/content/torbutton.js
===================================================================
--- torbutton/trunk/src/chrome/content/torbutton.js	2008-02-24 23:50:37 UTC (rev 13707)
+++ torbutton/trunk/src/chrome/content/torbutton.js	2008-02-24 23:54:07 UTC (rev 13708)
@@ -1528,10 +1528,12 @@
                 && chanreq instanceof Components.interfaces.nsIChannel
                 && aRequest.isPending()) {
 
-            torbutton_eclog(3, 'Pending request: '+aRequest.name);
+            torbutton_eclog(2, 'Pending request: '+aRequest.name);
 
             if(DOMWindow && DOMWindow.opener 
                && m_tb_prefs.getBoolPref("extensions.torbutton.isolate_content")) {
+            
+                torbutton_eclog(3, 'Popup request: '+aRequest.name);
                 
                 if(!(DOMWindow.top instanceof Components.interfaces.nsIDOMChromeWindow)) {
                     // Workaround for Firefox bug 409737
@@ -1543,6 +1545,7 @@
                         .wrappedJSObject;
 
                     var browser = wm.getBrowserForContentWindow(DOMWindow.opener);
+                    torbutton_eclog(3, 'Got browser for request: ' + (browser != null));
 
                     if(browser && browser.__tb_tor_fetched != m_tb_prefs.getBoolPref("extensions.torbutton.tor_enabled")) {
                         torbutton_eclog(3, 'Stopping document: '+DOMWindow.location);