<p>
    Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=11449">http://bugs.webkit.org/show_bug.cgi?id=11449</a>
    Type-to-select in unopened popups doesn't work with Hebrew</i>.
</p>
<select id="menu"><option>&#x05e9;</option><option>&#x05d3;</option><option>&#x05d2;</option><option>&#x05db;</option><option>&#x05e2;</option></select>
<div id="result">Cannot run interactively.</div>
<script>
    if (window.testRunner) {
        testRunner.dumpAsText();
        var menu = document.getElementById("menu");
        menu.focus();
        eventSender.keyDown("\u05d2");
        var result = document.getElementById("result");
        result.innerText = menu.value == "\u05d2" ? "SUCCESS" : "FAIL";
    }
</script>
