blob: 66b8381ff6b66910792b02bccf1411d3023186d0 [file] [edit]
<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>