[Pkg-privacy-commits] [xul-ext-monkeysphere] 108/296: more logging on what the listeners hear

Ximin Luo infinity0 at moszumanska.debian.org
Mon Aug 24 07:39:30 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch debian
in repository xul-ext-monkeysphere.

commit 4c1e2e0c82ac2c1956a0e6c2a73034389ab3ffff
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date:   Wed Feb 24 02:24:46 2010 -0500

    more logging on what the listeners hear
---
 chrome/content/monkeysphere.js | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

diff --git a/chrome/content/monkeysphere.js b/chrome/content/monkeysphere.js
index 26315df..ca85f39 100644
--- a/chrome/content/monkeysphere.js
+++ b/chrome/content/monkeysphere.js
@@ -113,7 +113,7 @@ var monkeysphere = {
   // https://developer.mozilla.org/en/nsIWebProgressListener
   progressListener: {
     onLocationChange: function(aWebProgress, aRequest, aLocation) {
-      monkeysphere.log("++++ location change: " + aLocation);
+      monkeysphere.log("++++ location change: " + aLocation.prePath);
     },
 
     onProgressChange: function() {},
@@ -125,14 +125,22 @@ var monkeysphere = {
   // https://developer.mozilla.org/en/Listening_to_events_on_all_tabs
   tabProgressListener: {
     onSecurityChange: function(aBrowser, aWebProgress, aRequest, aState) {
-      monkeysphere.log("++++ security change: ");
+      monkeysphere.log("++++ tabPL security change: ");
       monkeysphere.checkSite(aBrowser, aState);
     },
 
-    onLocationChange: function() {},
-    onProgressChange: function() {},
-    onStateChange: function() {},
-    onStatusChange: function() {}
+    onLocationChange: function(aBrowser, aWebProgress, aRequest, aLocation) {
+      monkeysphere.log("++++ tabPL location change: " + aLocation.prePath);
+    },
+    onProgressChange: function() {
+      monkeysphere.log("++++ tabPL progress change: " + aLocation.prePath);
+    },
+    onStateChange: function() {
+      monkeysphere.log("++++ tabPL status change: " + aLocation.prePath);
+    },
+    onStatusChange: function() {
+      monkeysphere.log("++++ tabPL status change: " + aLocation.prePath);
+    }
   },
 
 ////////////////////////////////////////////////////////////

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/xul-ext-monkeysphere.git



More information about the Pkg-privacy-commits mailing list