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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/resources/postmessage-post.php

Issue 2628723004: Experiment with restricting form submission with open elements. (Closed)
Patch Set: Rebase. 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/LayoutTests/http/tests/security/resources/postmessage-post.php
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/resources/postmessage-post.php b/third_party/WebKit/LayoutTests/http/tests/security/resources/postmessage-post.php
new file mode 100644
index 0000000000000000000000000000000000000000..5f2c3f432880fb15bd78e5d919f8126331afb9f3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/security/resources/postmessage-post.php
@@ -0,0 +1,5 @@
+<script>
+top.postMessage(<?php
+ echo json_encode($_POST);
+?>, "*");
+</script>

Powered by Google App Engine
This is Rietveld 408576698