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

Side by Side Diff: LayoutTests/fast/forms/get-forms-to-about-blank.html

Issue 14195011: Removed WONTFIX tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../../fast/js/resources/js-test-pre.js"></script>
5 <script>
6
7 function run() {
8 if (window.testRunner) {
9 window.testRunner.dumpAsText();
10 window.testRunner.waitUntilDone();
11 }
12
13 description('Submitting a GET form to &lt;about:blank&gt; should redirect th e browser to &lt;about:blank?&gt;.');
14 document.getElementById('form').submit();
15 }
16
17 var initialFrameLoaded = false;
18 var iframe;
19 function onFrameLoad()
20 {
21 iframe = document.getElementById('iframe');
22 if (!initialFrameLoaded) {
23 shouldBe('iframe.contentDocument.URL', '"about:blank"');
24 initialFrameLoaded = true;
25 return;
26 }
27
28 shouldBe('iframe.contentDocument.URL', '"about:blank?"');
29 isSuccessfullyParsed();
30 if (window.testRunner)
31 window.testRunner.notifyDone();
32 }
33 </script>
34 </head>
35 <body onload="run();">
36 <iframe id="iframe" name="iframe" onload="onFrameLoad();" style="display: no ne;"></iframe>
37 <form id="form" action="about:blank" method="GET" target="iframe" style="dis play: none;"></form>
38 </body>
39 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698