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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp

Issue 2615953003: Rename IGNORE_EXCEPTION to IGNORE_EXCEPTION_FOR_TESTING (Closed)
Patch Set: temp Created 3 years, 11 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: 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();
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorHistory.cpp ('k') | third_party/WebKit/Source/core/loader/HttpEquiv.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698