<!DOCTYPE html>
<html>
<body>
Pass. WebKit didn't crash.<ul><br><summary>
<br><rt/>
<script>
if (window.testRunner)
    testRunner.dumpAsText();

function editingTest() {
    document.execCommand("SelectAll");
    document.designMode = "on";
    document.execCommand("JustifyRight", true, "Arial");
}
editingTest();
</script>
</body>
</html>