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

document.designMode = 'on';
function runtest() {
    document.execCommand("selectAll", false);
    document.execCommand("createLink", false, "test");
    document.execCommand("cut", false);
    document.write('This test passes if WebKit does not crash. PASS');
}
</script>
</head>
<body>
</a>
This test passes if WebKit does not crash.
<style onload="runtest()"></style>
</a>
<ol contenteditable="false" hidden="hidden">
<li></li>
</ol>
<iframe></iframe>
</body>
</html>
