From 6ca32d9dc4826e81ac07c319966ef75536abf3ab Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Wed, 23 Sep 2015 17:52:20 -0400 Subject: [PATCH] Bug 1206458 - Stop bypassing the cache (and service workers) when reloading content in Fennec; r=margaret --- mobile/android/chrome/content/browser.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mobile/android/chrome/content/browser.js b/mobile/android/chrome/content/browser.js index 462ee2087850..c9c813d0470c 100644 --- a/mobile/android/chrome/content/browser.js +++ b/mobile/android/chrome/content/browser.js @@ -1712,7 +1712,7 @@ var BrowserApp = { break; case "Session:Reload": { - let flags = Ci.nsIWebNavigation.LOAD_FLAGS_BYPASS_PROXY | Ci.nsIWebNavigation.LOAD_FLAGS_BYPASS_CACHE; + let flags = Ci.nsIWebNavigation.LOAD_FLAGS_BYPASS_PROXY; // Check to see if this is a message to enable/disable mixed content blocking. if (aData) { @@ -3602,8 +3602,7 @@ Tab.prototype = { return; let url = currentURI.spec; - let flags = Ci.nsIWebNavigation.LOAD_FLAGS_BYPASS_CACHE | - Ci.nsIWebNavigation.LOAD_FLAGS_REPLACE_HISTORY; + let flags = Ci.nsIWebNavigation.LOAD_FLAGS_REPLACE_HISTORY; if (this.originalURI && !this.originalURI.equals(currentURI)) { // We were redirected; reload the original URL url = this.originalURI.spec;