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

Unified Diff: third_party/WebKit/Source/core/loader/PingLoader.cpp

Issue 2694833003: Revert of Tag CSP violation reports as CSP reports, not as ping (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « extensions/common/api/web_request.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/loader/PingLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/PingLoader.cpp b/third_party/WebKit/Source/core/loader/PingLoader.cpp
index 913a28b6056524a473e549a3c5d23ed718b2598f..eed8f67f6693885017d45206ad8931252fdc8f22 100644
--- a/third_party/WebKit/Source/core/loader/PingLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/PingLoader.cpp
@@ -510,7 +510,7 @@
: "application/json");
request.setHTTPBody(std::move(report));
finishPingRequestInitialization(request, frame,
- WebURLRequest::RequestContextCSPReport);
+ WebURLRequest::RequestContextPing);
StoredCredentials credentialsAllowed =
SecurityOrigin::create(reportURL)->isSameSchemeHostPort(
« no previous file with comments | « extensions/common/api/web_request.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698