Tests that execCommand('insertHTML') on a textarea without renderer returns false and does not crash. On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". document.execCommand("insertHTML", false, "foo") PASS testArea.innerText is "" PASS testArea.value is "" PASS successfullyParsed is true TEST COMPLETE