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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/form-action-resubmission-main-page-caller.html

Issue 2737343004: CSP: A new set of test with form resubmission. (Closed)
Patch Set: Use testharness for main page form resubmission. 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: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/form-action-resubmission-main-page-caller.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/form-action-resubmission-main-page-caller.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/form-action-resubmission-main-page-caller.html
new file mode 100644
index 0000000000000000000000000000000000000000..1b35ed2b260a5835f5b685f0a4e5913babf299a5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/form-action-resubmission-main-page-caller.html
@@ -0,0 +1,13 @@
+<html>
+ <body>
+ <form
+ id="form"
+ method="post"
+ action="/security/contentSecurityPolicy/resources/form-action-resubmission-main-page-callee.html">
+ </form>
+
+ <script>
+ document.getElementById("form").submit();
+ </script>
+ </body>
+</html>
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/form-action-resubmission-main-page-callee.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698