[Pkg-privacy-commits] [xul-ext-monkeysphere] 227/296: aesthetic cleanup of progressListener definitions

Ximin Luo infinity0 at moszumanska.debian.org
Mon Aug 24 07:39:42 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 32ce32bcef7add5710ba65f9464ba58d32f77d93
Author: Jameson Rollins <jrollins at finestructure.net>
Date:   Sat May 1 19:41:56 2010 -0400

    aesthetic cleanup of progressListener definitions
---
 chrome/content/monkeysphere.js | 18 +++++-------------
 1 file changed, 5 insertions(+), 13 deletions(-)

diff --git a/chrome/content/monkeysphere.js b/chrome/content/monkeysphere.js
index 757e23d..259abde 100644
--- a/chrome/content/monkeysphere.js
+++ b/chrome/content/monkeysphere.js
@@ -255,34 +255,26 @@ var monkeysphere = (function() {
         ms.log("++++ PL location change: " + aLocation.prePath);
         updateDisplay();
       },
-
-      onProgressChange: function() {},
-      onSecurityChange: function() {},
+      onProgressChange: function(aWebProgress, aRequest, aCurSelfProgress, aMaxSelfProgress, aCurTotalProgress, aMaxTotalProgress) {},
+      onSecurityChange: function(aWebProgress, aRequest, aState) {},
       onStateChange: function(aWebProgress, aRequest, aStateFlags, aStatus) {},
       onStatusChange: function(aWebProgress, aRequest, aStatus, aMessage) {}
     },
 
     // https://developer.mozilla.org/en/Listening_to_events_on_all_tabs
     tabProgressListener: {
+      onLocationChange: function(aBrowser, aWebProgress, aRequest, aLocation) {},
+      onProgressChange: function(aBrowser, awebProgress, aRequest, curSelfProgress, maxSelfProgress, curTotalProgress, maxTotalProgress) {},
       onSecurityChange: function(aBrowser, aWebProgress, aRequest, aState) {
         ms.log("++++ tabPL security change: ");
         checkSite(aBrowser, aState);
         updateDisplay();
       },
-
-      onLocationChange: function(aBrowser, aWebProgress, aRequest, aLocation) {
-        //ms.log("++++ tabPL location change: " + aLocation.prePath);
-      },
-      onProgressChange: function(aBrowser, awebProgress, aRequest, curSelfProgress, maxSelfProgress, curTotalProgress, maxTotalProgress) {
-        //ms.log("++++ tabPL progress change: " + curSelfProgress);
-      },
       onStateChange: function(aBrowser, aWebProgress, aRequest, aStateFlags, aStatus) {
         ms.log("++++ tabPL state change: " + aRequest);
         updateDisplay();
       },
-      onStatusChange: function(aBrowser, aWebProgress, aRequest, aStatus, aMessage) {
-        //ms.log("++++ tabPL status change: " + aRequest);
-      }
+      onStatusChange: function(aBrowser, aWebProgress, aRequest, aStatus, aMessage) {}
     },
 
     ////////////////////////////////////////////////////////

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