chromium/third_party/blink/web_tests/fast/events/initkeyboardevent-crash.html

<p>This tests that dispatching a keyboard event created via javascript does
not crash.</p>
<p id="results"></p>

<input id="1"> 
<script>
if (window.testRunner)
    testRunner.dumpAsText();

var evt = document.createEvent("KeyboardEvent");
evt.initKeyboardEvent("keydown", true, true, window, 0, 0, 0, 0, 0, 0, "a");
var elt = document.getElementById("1");
elt.focus();
elt.dispatchEvent(evt);

document.getElementById("results").innerText = "PASSED";
</script>