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

Unified Diff: Source/core/xml/XMLHttpRequest.cpp

Issue 183333005: [XHR] Reset m_downloadedBlobLength (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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
« no previous file with comments | « LayoutTests/http/tests/xmlhttprequest/response-blob-size-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XMLHttpRequest.cpp
diff --git a/Source/core/xml/XMLHttpRequest.cpp b/Source/core/xml/XMLHttpRequest.cpp
index 1d577f7bd0ab367ed93d08ca257761a94d80913b..8bae024818c2b2a4cdd127213bb5e59a38241f00 100644
--- a/Source/core/xml/XMLHttpRequest.cpp
+++ b/Source/core/xml/XMLHttpRequest.cpp
@@ -959,6 +959,7 @@ void XMLHttpRequest::clearResponse()
m_responseDocument = nullptr;
m_responseBlob = nullptr;
+ m_downloadedBlobLength = 0;
m_responseStream = nullptr;
« no previous file with comments | « LayoutTests/http/tests/xmlhttprequest/response-blob-size-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698