chromium/third_party/blink/web_tests/editing/execCommand/insert-image-with-selecting-document.html

<!DOCTYPE html>
<html>
<head>
<script>
if (window.testRunner)
    testRunner.dumpAsText();

function runTest() {
    document.designMode="on";
    document.open();
    window.getSelection().collapse(document, 0);
    document.write("x");
    document.execCommand("InsertImage");
    document.open();
    document.writeln('This test ensures WebKit does not crash when executing InsertImage with selection endpoints are the document node.<br><br>PASS');
}
</script>
</head>
<body onload="runTest()"></body>
</html>