<html>
    <body>
        <div id="test"></div>
        <div id="result"></div> 
        <script>
            if (window.testRunner)
            {
                testRunner.dumpAsText();
                testRunner.waitUntilDone();
            }

            var event = document.createEvent('KeyboardEvent');
            event.initEvent('mousedown', true, true);
            document.getElementById('test').dispatchEvent(event);

            document.getElementById('result').innerHTML = "PASS";
            if (window.testRunner)
                testRunner.notifyDone();
        </script> 
    </body> 
</html>
