| 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 dbe4f19fddce269a3b6051c85df6b6d74759b7e8..d6d39f30698d4795251162561e4bcf5cf8577788 100644
|
| --- a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
|
| +++ b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
|
| @@ -1040,6 +1040,10 @@ void XMLHttpRequest::createRequest(PassRefPtr<EncodedFormData> httpBody,
|
| resourceLoaderOptions.dataBufferingPolicy = DoNotBufferData;
|
| }
|
|
|
| + if (getResponseTypeCode() == ResponseTypeArrayBuffer) {
|
| + resourceLoaderOptions.dataBufferingPolicy = DoNotBufferData;
|
| + }
|
| +
|
| m_exceptionCode = 0;
|
| m_error = false;
|
|
|
|
|