зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1206458 - Stop bypassing the cache (and service workers) when reloading content in Fennec; r=margaret
This commit is contained in:
Родитель
a69598b275
Коммит
6ca32d9dc4
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче