| Index: third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
|
| index da0221637159404b9da5884c8a01b5b888a477fa..d0a5abc9d1a71af13d059d74f18a060abc84bdd0 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
|
| @@ -1373,12 +1373,15 @@ Response InspectorNetworkAgent::replayXHR(const String& requestId) {
|
| executionContext->removeURLFromMemoryCache(xhrReplayData->url());
|
|
|
| xhr->open(xhrReplayData->method(), xhrReplayData->url(),
|
| - xhrReplayData->async(), IGNORE_EXCEPTION);
|
| + xhrReplayData->async(), IGNORE_EXCEPTION_FOR_TESTING);
|
| if (xhrReplayData->includeCredentials())
|
| - xhr->setWithCredentials(true, IGNORE_EXCEPTION);
|
| - for (const auto& header : xhrReplayData->headers())
|
| - xhr->setRequestHeader(header.key, header.value, IGNORE_EXCEPTION);
|
| - xhr->sendForInspectorXHRReplay(xhrReplayData->formData(), IGNORE_EXCEPTION);
|
| + xhr->setWithCredentials(true, IGNORE_EXCEPTION_FOR_TESTING);
|
| + for (const auto& header : xhrReplayData->headers()) {
|
| + xhr->setRequestHeader(header.key, header.value,
|
| + IGNORE_EXCEPTION_FOR_TESTING);
|
| + }
|
| + xhr->sendForInspectorXHRReplay(xhrReplayData->formData(),
|
| + IGNORE_EXCEPTION_FOR_TESTING);
|
|
|
| m_replayXHRs.add(xhr);
|
| return Response::OK();
|
|
|