Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / misc / drag-over-iframe-invalid-source-crash.html
blobbe0bbbd781067ae95a7cc01f6841f24ac34675aa
1 <head>
2 <script>
3 window.onload = function () {
4 if (window.testRunner)
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();
16 </script>
17 </head>
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>