<!DOCTYPE html> | |
<head> | |
<script> | |
if (window.testRunner) | |
testRunner.dumpAsText(); | |
window.onload = function () { | |
document.designMode = 'on'; | |
document.body.textContent = 'aaaa'; | |
document.execCommand('SelectAll'); | |
document.execCommand('Italic'); | |
window.getSelection().deleteFromDocument(); | |
document.execCommand('Undo'); | |
window.getSelection().deleteFromDocument(); | |
document.body.textContent = 'PASS if Blink doesn\'t crash.'; | |
}; | |
</script> | |
</head> | |
<body> | |
</body> | |
</html> |