blob: a2312dd7d59c3731b349cbfdde25cf5473ccf3a4 (
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
|
<html>
<body>
<div><a href="rdar://4504805&4577323&4643028&5659812">Should not crash.</a></div>
<form name="f" method="GET" action="#a"></form>
<div id="anchors"><a name="a"></a></div>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
var stopped = false;
setTimeout("doIt()", 0);
setTimeout("stopped = true;", 100);
function doIt() {
if (stopped) {
if (window.testRunner)
testRunner.notifyDone();
return;
}
document.forms.f.submit();
var x=Math.random();
setTimeout("doIt("+x+")",10);
document.forms.f.action="#"+x;
document.getElementById("anchors").innerHTML+=
"<img width=100 height=100><a name=\""+x+"\"></a>";
}
</script>
</body>
</html>
|