Title: [161042] trunk/LayoutTests
Revision
161042
Author
[email protected]
Date
2013-12-23 17:24:28 -0800 (Mon, 23 Dec 2013)

Log Message

Add a test for submitting a form targeted at an iframe
https://bugs.webkit.org/show_bug.cgi?id=126175

Reviewed by Alexey Proskuryakov.

Merge the test from https://chromium.googlesource.com/chromium/blink/+/9220cbdaae8413f3c8316c022f98579af120bf10
so that we may not introduce the same regression in WebKit.

* http/tests/misc/form-target-iframe-inline-expected.txt: Added.
* http/tests/misc/form-target-iframe-inline.html: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (161041 => 161042)


--- trunk/LayoutTests/ChangeLog	2013-12-24 01:22:49 UTC (rev 161041)
+++ trunk/LayoutTests/ChangeLog	2013-12-24 01:24:28 UTC (rev 161042)
@@ -1,3 +1,16 @@
+2013-12-23  Ryosuke Niwa  <[email protected]>
+
+        Add a test for submitting a form targeted at an iframe
+        https://bugs.webkit.org/show_bug.cgi?id=126175
+
+        Reviewed by Alexey Proskuryakov.
+
+        Merge the test from https://chromium.googlesource.com/chromium/blink/+/9220cbdaae8413f3c8316c022f98579af120bf10
+        so that we may not introduce the same regression in WebKit.
+
+        * http/tests/misc/form-target-iframe-inline-expected.txt: Added.
+        * http/tests/misc/form-target-iframe-inline.html: Added.
+
 2013-12-23  Alexey Proskuryakov  <[email protected]>
 
         svg/animations/getCurrentTime-pause-unpause.html is flaky

Added: trunk/LayoutTests/http/tests/misc/form-target-iframe-inline-expected.txt (0 => 161042)


--- trunk/LayoutTests/http/tests/misc/form-target-iframe-inline-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/http/tests/misc/form-target-iframe-inline-expected.txt	2013-12-24 01:24:28 UTC (rev 161042)
@@ -0,0 +1,2 @@
+
+This text should be visible.

Added: trunk/LayoutTests/http/tests/misc/form-target-iframe-inline.html (0 => 161042)


--- trunk/LayoutTests/http/tests/misc/form-target-iframe-inline.html	                        (rev 0)
+++ trunk/LayoutTests/http/tests/misc/form-target-iframe-inline.html	2013-12-24 01:24:28 UTC (rev 161042)
@@ -0,0 +1,18 @@
+<html>
+<body>
+<script>
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
+}
+</script>
+<iframe id="theframe" name="theframe"></iframe>
+<form action="" id="theform" method="post" name="theform" target="theframe"></form>
+<script>
+document.forms['theform'].submit();
+</script>
+<div>
+This text should be visible.
+</div>
+</body>
+</html>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to