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

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

Issue 562563003: [XHR] Accept data on didReceiveData call even if responseType is set to Blob (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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/xml/XMLHttpRequest.h
diff --git a/Source/core/xml/XMLHttpRequest.h b/Source/core/xml/XMLHttpRequest.h
index f254b160ab04d5b37c351009e02e881876534b1f..ad07376004261e2f43046433dcaadf657ac4f0e2 100644
--- a/Source/core/xml/XMLHttpRequest.h
+++ b/Source/core/xml/XMLHttpRequest.h
@@ -264,7 +264,7 @@ private:
RefPtrWillBeMember<DocumentParser> m_responseDocumentParser;
RefPtr<SharedBuffer> m_binaryResponseBuilder;
- long long m_downloadedBlobLength;
+ long long m_lengthDownloadedToFile;
RefPtr<ArrayBuffer> m_responseArrayBuffer;
@@ -293,6 +293,9 @@ private:
bool m_uploadEventsAllowed;
bool m_uploadComplete;
bool m_sameOriginRequest;
+ // True iff the ongoing resource loading is using the downloadToFile
+ // option.
+ bool m_downloadingToFile;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698