<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>