<!DOCTYPE html>
<select>
<option id="opt">FAIL</option>
</select>
<script>
testRunner.waitUntilDone();
requestAnimationFrame(() => {
document.querySelector('#opt').textContent = '';
requestAnimationFrame(() => { testRunner.notifyDone(); });
});
</script>