Skip media source tests since the feature is not enabled on Windows.
[WebKit-https.git] / LayoutTests / fast / forms / submit-to-url-fragment.html
1 <html>
2 <head>
3 <title>Test for Bug 20038: REGRESSION (r35151): Can't post comments on flickr.com</title>
4 <script>
5 if (window.testRunner) {
6     testRunner.dumpAsText();
7     testRunner.waitUntilDone();
8 }
9
10 function runTest() {
11     if (document.location.hash != "#preview") {
12         document.getElementById("mysubmit").click();
13         setTimeout('if (window.testRunner) { testRunner.notifyDone(); }', 5000);
14     }
15 }
16 </script>
17 </head>
18 <body onload="runTest()">
19 <p>
20 Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=20038">Bug 20038: REGRESSION (r35151): Can't post comments on flickr.com</a>
21 </p>
22 <form action="#preview" method="post">
23 <input id="mysubmit" type="submit" name="Submit" value="Submit">
24 </form>
25 <div id="preview">
26 <script>
27 if (document.location.hash != "#preview") {
28     document.write("FAIL");
29 } else {
30     document.write("PASS");
31     if (window.testRunner) {
32         testRunner.notifyDone();
33     }
34 }
35 </script>
36 </div>
37 <div style="min-height: 1000px;"></div>
38 </body>
39 </html>