blob: eadda6b6006e723f29b47e74f39aa087fea62616 [file] [log] [blame]
<!DOCTYPE html>
<span style="display: grid" contenteditable=plaintext-only>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function crash() {
if (!window.eventSender)
return;
eventSender.keyDown("\t");
eventSender.keyDown("X");
document.designMode = 'on';
document.execCommand("InsertHTML", false, "<div>");
}
document.addEventListener("DOMContentLoaded", crash, false);
</script>The test checks that we don't leave stale pointers into the internal grid representation.<br> This test has PASSED if it didn't crash under ASAN.