[Pkg-mozext-commits] [greasemonkey] 18/24: Attach timeout handler in checkForRemoteUpdate().
David Prévot
taffit at moszumanska.debian.org
Sat May 30 13:32:06 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository greasemonkey.
commit 3c14bd61f7c891a840478307f3f52a6725621db5
Author: Anthony Lieuallen <arantius at gmail.com>
Date: Sat May 23 14:26:02 2015 -0400
Attach timeout handler in checkForRemoteUpdate().
---
modules/script.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/script.js b/modules/script.js
index 42eb6de..6b3894d 100644
--- a/modules/script.js
+++ b/modules/script.js
@@ -839,6 +839,7 @@ Script.prototype.checkForRemoteUpdate = function(aCallback, aForced) {
req.onload = GM_util.hitch(
this, "checkRemoteVersion", req, aCallback, aForced, usedMeta);
req.onerror = GM_util.hitch(null, aCallback, false);
+ req.ontimeout = GM_util.hitch(null, aCallback, false);
req.send(null);
};
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/greasemonkey.git
More information about the Pkg-mozext-commits
mailing list