<!DOCTYPE html>
<html>
Test passes if it does not crash.
<input id="test" contenteditable="true">
<script src="../editing.js"></script>
<script>
if (window.testRunner)
    testRunner.dumpAsText();

var e = document.getElementById("test");
var s = window.getSelection();

s.setPosition(e, 0);
insertHTMLCommand("<noscript>baz");
</script>
</html>
