Bug 318793 - Firefox caches extension update file. patch=darin, r=bsmedberg, a1.8.1=mconnor

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@206693 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rob_strong%exchangecode.com
2006-08-06 20:42:38 +00:00
parent c1e6afceb9
commit db387cdfc3

View File

@@ -2375,7 +2375,7 @@ var Blocklist = {
.createInstance(Components.interfaces.nsIXMLHttpRequest);
request.open("GET", uri.spec, true);
request.overrideMimeType("text/xml");
request.channel.loadFlags |= Components.interfaces.nsIRequest.LOAD_BYPASS_CACHE;
request.setRequestHeader("Cache-Control", "no-cache");
var self = this;
request.onerror = function(event) { self.onXMLError(event); };
@@ -6178,7 +6178,7 @@ RDFItemUpdater.prototype = {
.createInstance(Components.interfaces.nsIXMLHttpRequest);
request.open("GET", uri.spec, true);
request.overrideMimeType("text/xml");
request.setRequestHeader("Cache-Control", "no-cache");
request.channel.loadFlags |= Components.interfaces.nsIRequest.LOAD_BYPASS_CACHE;
var self = this;
request.onerror = function(event) { self.onXMLError(event, aItem); };