<!DOCTYPE html>
<ol contenteditable oninput="document.body.innerHTML = observerRan ? 'FAILED' : 'PASSED'; if (window.testRunner) testRunner.notifyDone()">
<li>Press enter
</ol>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
var list = document.querySelector('ol');
var observerRan = false;
var observer = new MutationObserver(function() { observerRan = true; });
observer.observe(list, {childList: true, characterData: true});
list.focus();
if (window.eventSender)
eventSender.scheduleAsynchronousKeyDown('Enter');
</script>