<!DOCTYPE html>
<body>
Passes if it does not crash.
<div id="sample" contenteditable="true"><ol><li><br></li></ol></div>
</body>
<script>
if (window.testRunner)
    testRunner.dumpAsText();
var sample = document.getElementById('sample');
getSelection().selectAllChildren(sample);
document.execCommand('InsertHTML', false, '<ul>');
sample.outerHTML = '';
</script>
