3 <script type="text/javascript">
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);
16 element.attachEvent('ondragenter', showAlert);
21 <body onload="test()">
22 <p>Do the following and see if Webkit crashes.</p>
24 <li>Drag the image</li>
25 <li>Click the OK button on the alert box</li>
27 <img id="dragimage" src="resources/drag-image.png" width="32px" height="32px">