| <input type="text" onfocus="this.value=''" value="click to edit"> | |
| <p>Tests clicking on an input element that has a value that self-destructs. If the test succeeds, there should be a blinking caret in the text field.</p> | |
| <script> | |
| onload = async () => { | |
| if (!window.testRunner) | |
| return; | |
| testRunner.waitUntilDone(); | |
| if (window.eventSender) { | |
| await eventSender.asyncMouseMoveTo(15, 15); | |
| await eventSender.asyncMouseDown(); | |
| await eventSender.asyncMouseUp(); | |
| } | |
| testRunner.notifyDone(); | |
| } | |
| </script> |