| 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;
|
|
|
|
|