blob: 1fe0469a9f8cb5bf81f2bf287df0d93c8d8cdbf7 [file] [log] [blame]
<!DOCTYPE HTML>
<html>
<body onload="go()">
Test InsertLineBreak is called correctly without any exception.
<script>
function go() {
document.designMode="on";
document.write("</");
document.getSelection().addRange(document.createRange());
document.execCommand("InsertLineBreak");
var result = "PASS";
if (window.testRunner) {
document.write("<html>" + result + "<html>");
testRunner.dumpAsText();
} else
document.write("<html>" + result + "<html>");
}
</script>
</body>
</html>