[Pkg-privacy-commits] [xul-ext-monkeysphere] 243/296: remove printing of aLocation in onLocationChange progressListener

Ximin Luo infinity0 at moszumanska.debian.org
Mon Aug 24 07:39:44 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 74637421dd5dfdcc18690051ca7f3b5ea6323ef6
Author: Jameson Rollins <jrollins at finestructure.net>
Date:   Thu May 6 10:17:50 2010 -0400

    remove printing of aLocation in onLocationChange progressListener
    
    aLocation is sometimes null (when opening new blank tabs, for
    instance), which then causes javascript errors.  Just remove the
    printing here, since it's not really necessary anyway.
---
 chrome/content/monkeysphere.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/monkeysphere.js b/chrome/content/monkeysphere.js
index cea3864..a5d98d0 100644
--- a/chrome/content/monkeysphere.js
+++ b/chrome/content/monkeysphere.js
@@ -258,7 +258,7 @@ var monkeysphere = (function() {
     // https://developer.mozilla.org/en/nsIWebProgressListener
     progressListener: {
       onLocationChange: function(aWebProgress, aRequest, aLocation) {
-        ms.log("++++ PL location change: " + aLocation.prePath);
+        ms.log("++++ PL location change");
         updateDisplay();
       },
       onProgressChange: function(aWebProgress, aRequest, aCurSelfProgress, aMaxSelfProgress, aCurTotalProgress, aMaxTotalProgress) {},

-- 
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