chromium/third_party/blink/web_tests/fast/events/drag-remove-iframe-crash.html

<!DOCTYPE html>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<body onload="run_test()"> </body>
<script>
var t = async_test("Remove iframe when start dragging should not crash")

function run_test() {
    var fr = document.createElement('iframe');
    document.body.appendChild(fr);
    fr.contentDocument.body.innerHTML = '<div draggable="true" id="target" style="margin: 0px; width: 100px; height: 100px; background-color:red"></div>';

    fr.contentDocument.getElementById("target").ondragstart = function(event) {
        document.body.removeChild(fr);
        t.done();
    };

    if (window.eventSender) {
      eventSender.mouseMoveTo(50, 50);
      eventSender.mouseDown();
      eventSender.mouseMoveTo(80, 80);
      eventSender.mouseUp();
    }
}

</script>