[Pkg-mozext-commits] [greasemonkey] 20/41: Skip cache when downloading scripts.

David Prévot taffit at moszumanska.debian.org
Thu Apr 30 22:06:34 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 01d15c1b3d3819aebc626bf7a97c75fa99eed0d6
Author: Anthony Lieuallen <arantius at gmail.com>
Date:   Thu Apr 2 16:58:20 2015 -0400

    Skip cache when downloading scripts.
    
    Fixes #1878
---
 modules/remoteScript.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/remoteScript.js b/modules/remoteScript.js
index 3e09939..5e5a80b 100644
--- a/modules/remoteScript.js
+++ b/modules/remoteScript.js
@@ -580,6 +580,7 @@ RemoteScript.prototype._downloadFile = function(
   }
 
   var channel = ioService.newChannelFromURI(aUri);
+  channel.loadFlags |= channel.LOAD_BYPASS_CACHE;
   this._channels.push(channel);
   var dsl = new DownloadListener(
       0 == this._progressIndex,  // aTryToParse

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