3 window
.onload = function () {
5 testRunner
.dumpAsText();
7 var abe
= document
.getElementById("abe");
8 var dragTarget
= document
.getElementById("dragTarget");
10 eventSender
.mouseMoveTo(abe
.offsetLeft
+ 50, abe
.offsetTop
+ 50);
11 eventSender
.mouseDown();
12 eventSender
.leapForward(500);
13 eventSender
.mouseMoveTo(dragTarget
.offsetLeft
+ 10, dragTarget
.offsetTop
+ 10);
14 eventSender
.mouseUp();
19 <p>This page tests that we don't crash if we drag something to an iframe that has an invalid source.
</p>
20 <img id=
"abe" src=
"http://127.0.0.1:8000/security/resources/abe.png">
21 <div>SUCCESS - didn't crash
</div>
22 <iframe id=
"dragTarget" src=
"file:"></iframe>