[Pkg-privacy-commits] [xul-ext-monkeysphere] 83/296: some log cleanup
Ximin Luo
infinity0 at moszumanska.debian.org
Mon Aug 24 07:39:27 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 9b023ee6b743edd5d53c133c4122afed20e0a8ec
Author: Jameson Rollins <jrollins at finestructure.net>
Date: Mon Feb 15 22:34:44 2010 -0500
some log cleanup
---
chrome/content/monkeysphere.js | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/chrome/content/monkeysphere.js b/chrome/content/monkeysphere.js
index 6c6f820..723a5d8 100644
--- a/chrome/content/monkeysphere.js
+++ b/chrome/content/monkeysphere.js
@@ -89,7 +89,7 @@ var monkeysphere = {
monkeysphere.log("---- begin initialization ----");
monkeysphere.setStatus();
monkeysphere.messages = document.getElementById("message_strings");
- monkeysphere.log("creating listener.");
+ monkeysphere.log("creating listener");
getBrowser().addProgressListener(monkeysphere.listener,
Components.interfaces.nsIWebProgress.NOTIFY_SECURITY);
monkeysphere.log("---- initialization complete ----");
@@ -102,28 +102,27 @@ var monkeysphere = {
// https://developer.mozilla.org/en/nsIWebProgressListener
listener: {
onLocationChange: function(aWebProgress, aRequest, aLocation) {
- monkeysphere.log("++++ location change: " + aLocation + " ++++");
- return;
+ monkeysphere.log("++++ location change: " + aWebProgress.currentURI.host);
},
onStateChange: function(aWebProgress, aRequest, aStateFlags, aStatus) {
- monkeysphere.log("++++ state change: " + aStateFlags + " ++++");
+ monkeysphere.log("++++ state change: " + aWebProgress.currentURI.host + " : " + aStateFlags);
return;
},
onSecurityChange: function(aWebProgress, aRequest, aState) {
- monkeysphere.log("++++ security change: " + aState + " ++++");
+ monkeysphere.log("++++ security change: " + aWebProgress.currentURI.host + " : " + aState);
monkeysphere.updateStatus(aWebProgress, aRequest, aState);
return;
},
onStatusChange: function(aWebProgress, aRequest, aStatus, aMessage) {
- monkeysphere.log("++++ status change: " + aStatus + " ++++");
+ monkeysphere.log("++++ status change: " + aWebProgress.currentURI.host + " : " + aStatus);
return;
},
onProgressChange: function() {
- monkeysphere.log("++++ progress change ++++");
+ monkeysphere.log("++++ progress change: " + aWebProgress.currentURI.host);
return;
},
--
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