| Index: third_party/WebKit/LayoutTests/http/tests/navigation/form-targets-cross-site-frame.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/navigation/form-targets-cross-site-frame.html b/third_party/WebKit/LayoutTests/http/tests/navigation/form-targets-cross-site-frame.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..fbccacb0c60ddb2e2e7c4a3c6a95ecf2e23256ed
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/navigation/form-targets-cross-site-frame.html
|
| @@ -0,0 +1,25 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<script>
|
| + if (window.testRunner) {
|
| + testRunner.dumpAsText();
|
| + testRunner.dumpChildFramesAsText();
|
| + }
|
| +
|
| + function onLoad() {
|
| + if (window.testRunner) {
|
| + testRunner.logToStderr("Caling waitUntilDone");
|
| + testRunner.waitUntilDone();
|
| + }
|
| + document.forms[0].submit();
|
| + testRunner.logToStderr("Submitting the form");
|
| + }
|
| +</script>
|
| +<body onload="onLoad();">
|
| +<form method="POST" action="https://localhost:8443/navigation/resources/form-target.pl" target="foo">
|
| + Test field: <input name="test-field" type="text" value="test-value">
|
| + <input type="submit" value="Submit">
|
| +</form>
|
| +<iframe name="foo" src="https://localhost:8443/navigation/resources/form-target.pl"></iframe>
|
| +</body>
|
| +</html>
|
|
|