blob: ac24b2ab9c28eeb8746178fc7f51d9beed259c42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
<html>
<head>
<title>Test for Bug 20038: REGRESSION (r35151): Can't post comments on flickr.com</title>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function runTest() {
if (document.location.hash != "#preview") {
document.getElementById("mysubmit").click();
setTimeout('if (window.testRunner) { testRunner.notifyDone(); }', 5000);
}
}
</script>
</head>
<body onload="runTest()">
<p>
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>
</p>
<form action="#preview" method="post">
<input id="mysubmit" type="submit" name="Submit" value="Submit">
</form>
<div id="preview">
<script>
if (document.location.hash != "#preview") {
document.write("FAIL");
} else {
document.write("PASS");
if (window.testRunner) {
testRunner.notifyDone();
}
}
</script>
</div>
<div style="min-height: 1000px;"></div>
</body>
</html>
|