blob: 84ece9a0689d77eaefc95520e532a8bbe9ee6767 [file] [log] [blame]
<!DOCTYPE HTML>
<html>
<style>
#crasher {
width: 200px;
height: 200px;
background-color: tomato;
}
</style>
Test for crbug.com/354373: This test passes if it does not crash.<br/>
<div id="crasher" draggable="true"></div>
<script>
onload = function() {
document.getElementById('crasher').addEventListener('dragstart', function() {
this.style.opacity = '0.5';
});
eventSender.mouseMoveTo(75, 75);
eventSender.mouseDown();
eventSender.mouseMoveTo(500, 400);
eventSender.mouseUp();
if (window.testRunner)
testRunner.dumpAsText();
}
</script>
</html>