Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / ManualTests / drag-enter-alert.html
blobe563923eb870f00172a67dfe523c9b07275a7e4b
1 <html>
2 <head>
3 <script type="text/javascript">
4 function test() {
5 if (window.layoutTestController)
6 layoutTestController.dumpAsText();
8 var element = document.documentElement;
9 var showAlert = function() {
10 alert('Click OK button.');
13 if (element.addEventListener)
14 element.addEventListener('dragenter', showAlert, false);
15 else
16 element.attachEvent('ondragenter', showAlert);
18 </script>
20 </head>
21 <body onload="test()">
22 <p>Do the following and see if Webkit crashes.</p>
23 <ul>
24 <li>Drag the image</li>
25 <li>Click the OK button on the alert box</li>
26 </ul>
27 <img id="dragimage" src="resources/drag-image.png" width="32px" height="32px">
28 </body>
29 </html>