--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/WebCore/manual-tests/drag-enter-alert.html Fri Sep 17 09:02:29 2010 +0300
@@ -0,0 +1,29 @@
+<html>
+<head>
+<script type="text/javascript">
+function test() {
+ if (window.layoutTestController)
+ layoutTestController.dumpAsText();
+
+ var element = document.documentElement;
+ var showAlert = function() {
+ alert('Click OK button.');
+ };
+
+ if (element.addEventListener)
+ element.addEventListener('dragenter', showAlert, false);
+ else
+ element.attachEvent('ondragenter', showAlert);
+}
+</script>
+
+</head>
+<body onload="test()">
+ <p>Do the following and see if Webkit crashes.</p>
+ <ul>
+ <li>Drag the image</li>
+ <li>Click the OK button on the alert box</li>
+ </ul>
+ <img id="dragimage" src="resources/drag-image.png" width="32px" height="32px">
+</body>
+</html>