[Pkg-mozext-commits] [requestpolicy] 66/100: revert mistakenly committed change

David Prévot taffit at moszumanska.debian.org
Fri Dec 12 22:56:59 UTC 2014


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

taffit pushed a commit to branch master
in repository requestpolicy.

commit 8af2195a94264e6391c1ac04b14d0be458797dc1
Author: myrdd <myrdd at users.noreply.github.com>
Date:   Thu Nov 6 00:05:16 2014 +0100

    revert mistakenly committed change
---
 src/modules/DomainUtil.jsm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/modules/DomainUtil.jsm b/src/modules/DomainUtil.jsm
index a35cb19..dbecd95 100644
--- a/src/modules/DomainUtil.jsm
+++ b/src/modules/DomainUtil.jsm
@@ -297,9 +297,9 @@ DomainUtil.destinationIsSubdomainOfOrigin = function(destinationHost,
  *
  * @param {String}
  *          refreshString The original content of a refresh header or meta tag.
- * @return {Object} The delay in seconds and the url to refresh to.
- *                  The url may be an empty string if the current url should be
- *                  refreshed.
+ * @return {Array} First element is the delay in seconds, second element is the
+ *         url to refresh to. The url may be an empty string if the current url
+ *         should be refreshed.
  * @throws Generic
  *           exception if the refreshString has an invalid format, including if
  *           the seconds can't be parsed as a float.
@@ -322,7 +322,7 @@ DomainUtil.parseRefresh = function(refreshString) {
       url = url.substring(1, url.length - 1);
     }
   }
-  return {delay: delay, destURI: url};
+  return [delay, url];
 }
 
 /**

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/requestpolicy.git



More information about the Pkg-mozext-commits mailing list