Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1263)

Unified Diff: Source/core/loader/DocumentLoader.cpp

Issue 318673002: Use the ReloadBypassingCache policy (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/loader/DocumentLoader.cpp
diff --git a/Source/core/loader/DocumentLoader.cpp b/Source/core/loader/DocumentLoader.cpp
index db2b2ce35833cd725be34e5edd301bd5b2f3f703..be435a98c8f85d963c4048cf1e45f0e563f569db 100644
--- a/Source/core/loader/DocumentLoader.cpp
+++ b/Source/core/loader/DocumentLoader.cpp
@@ -371,7 +371,7 @@ void DocumentLoader::willSendRequest(ResourceRequest& newRequest, const Resource
// this is a common site technique to return to a page viewing some data that the POST
// just modified.
if (newRequest.cachePolicy() == UseProtocolCachePolicy && isRedirectAfterPost(newRequest, redirectResponse))
- newRequest.setCachePolicy(ReloadIgnoringCacheData);
+ newRequest.setCachePolicy(ReloadBypassingCache);
ppi 2014/06/04 16:23:59 Do we currently get a load with net::LOAD_BYPASS_C
clamy 2014/06/04 16:39:25 It would seem that we end up with a net::LOAD_VALI
// If this is a sub-frame, check for mixed content blocking against the top frame.
if (m_frame->tree().parent()) {

Powered by Google App Engine
This is Rietveld 408576698