LayoutTests:
[WebKit-https.git] / LayoutTests / fast / loader / resources / early-load-cancel-inner.html
1 <a id="test" onmousedown="test()">click here</a>
2 <div id="outer">
3 </div>
4 <script>
5 function test()
6 {
7     document.getElementById("outer").innerHTML = "<iframe src='other.html'></iframe>";
8     document.getElementById("outer").innerHTML = "PASSED";
9 }
10
11 if (window.eventSender) {
12     eventSender.mouseMoveTo(20, 20);
13     eventSender.mouseDown();
14 }
15
16 </script>
17