3 if (window.layoutTestController)
4 window.layoutTestController.dumpAsText();
5 document.designMode = "on";
6 document.execCommand("SelectAll");
7 document.execCommand("CreateLink", 0, 'foo');
8 document.execCommand("SelectAll");
9 document.execCommand("JustifyCenter");
10 document.body.innerText = "This tests for a crash when performing JustifyCenter. It should not crash.";