Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <script> | |
| 3 if (window.testRunner) | |
| 4 { | |
|
yosin_UTC9
2014/11/20 01:26:41
nit: Move |{| to end of |if| line.
Basically, plea
| |
| 5 window.testRunner.dumpAsText(); | |
| 6 testRunner.waitUntilDone(); | |
|
yosin_UTC9
2014/11/20 01:26:41
Please add |window.jsTestAsync = true;|, when we c
| |
| 7 } | |
| 8 window.onload = function() { | |
|
yosin_UTC9
2014/11/20 01:26:41
Do we really need to wait "load" event for this te
| |
| 9 document.execCommand("SelectAll",false); | |
|
yosin_UTC9
2014/11/20 01:26:41
nit: You don't need to have |,false|.
| |
| 10 document.execCommand("Indent", false); | |
|
yosin_UTC9
2014/11/20 01:26:41
nit: You don't need to have |,false|.
| |
| 11 setTimeout(function() { | |
| 12 document.getElementById("body").innerHTML = "This test passes if it does n't crash"; | |
| 13 testRunner.notifyDone(); | |
| 14 }, 0); | |
| 15 }; | |
| 16 </script> | |
| 17 <body id="body" contenteditable> | |
| 18 <object> | |
| 19 This test passes if it doesn't crash | |
| 20 </body> | |
| OLD | NEW |