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

Unified Diff: content/test/data/form_submission_throttle/form_action_with_path.html

Issue 2689653003: PlzNavigate: Enforce 'form-action' CSP on the browser-side. (Closed)
Patch Set: Rebase. Created 3 years, 9 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: content/test/data/form_submission_throttle/form_action_with_path.html
diff --git a/content/test/data/form_submission_throttle/form_action_with_path.html b/content/test/data/form_submission_throttle/form_action_with_path.html
new file mode 100644
index 0000000000000000000000000000000000000000..dcaddcf8efb061ad48ef51f07ffbac88b48f1e73
--- /dev/null
+++ b/content/test/data/form_submission_throttle/form_action_with_path.html
@@ -0,0 +1,9 @@
+<html>
+ <head>
+ <meta http-equiv="Content-Security-Policy"
+ content="form-action http://*:*/file.html">
+ </head>
+ <body>
+ Only form submissions to /file.html are allowed.
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698