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

Unified Diff: chrome/test/data/extensions/api_test/webrequest/csp/violation.html

Issue 2402233002: Tag CSP violation reports as CSP reports, not as ping (Closed)
Patch Set: Rebase on patch for crbug.com/129353 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 | « no previous file | chrome/test/data/extensions/api_test/webrequest/csp/violation.html.mock-http-headers » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/webrequest/csp/violation.html
diff --git a/chrome/test/data/extensions/api_test/webrequest/csp/violation.html b/chrome/test/data/extensions/api_test/webrequest/csp/violation.html
new file mode 100644
index 0000000000000000000000000000000000000000..de4cfe3796928c2545d6c6446e291409247c54c1
--- /dev/null
+++ b/chrome/test/data/extensions/api_test/webrequest/csp/violation.html
@@ -0,0 +1,4 @@
+This page is served with a report-uri in its CSP header, and content that violates the policy.
+<script>
+console.log('This should be blocked by the Content-Security-Policy, and reported to the value in report-uri.');
+</script>
« no previous file with comments | « no previous file | chrome/test/data/extensions/api_test/webrequest/csp/violation.html.mock-http-headers » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698