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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/navigation/form-targets-cross-site-frame.html

Issue 1989103007: Test for form submission targeting remote frame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <script>
4 if (window.testRunner) {
5 testRunner.dumpAsText();
6 testRunner.dumpChildFramesAsText();
7 }
8
9 function onLoad() {
10 if (window.testRunner) {
11 testRunner.logToStderr("Caling waitUntilDone");
12 testRunner.waitUntilDone();
13 }
14 document.forms[0].submit();
15 testRunner.logToStderr("Submitting the form");
16 }
17 </script>
18 <body onload="onLoad();">
19 <form method="POST" action="https://localhost:8443/navigation/resources/form-tar get.pl" target="foo">
20 Test field: <input name="test-field" type="text" value="test-value">
21 <input type="submit" value="Submit">
22 </form>
23 <iframe name="foo" src="https://localhost:8443/navigation/resources/form-target. pl"></iframe>
24 </body>
25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698