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

Unified Diff: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp

Issue 2460573002: Disable memory caching of XHRs (Closed)
Patch Set: reload-from-cache test uses <script> Created 4 years, 1 month 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
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
diff --git a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
index a5f3a481a25d3a0fd03dbc41abce24abaf38ab11..0982a5e965c817b4fcd396e7e0e05014bd2e1803 100644
--- a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
+++ b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
@@ -1022,6 +1022,10 @@ void XMLHttpRequest::createRequest(PassRefPtr<EncodedFormData> httpBody,
resourceLoaderOptions.dataBufferingPolicy = DoNotBufferData;
}
+ if (m_async) {
+ resourceLoaderOptions.dataBufferingPolicy = DoNotBufferData;
+ }
+
m_exceptionCode = 0;
m_error = false;
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698