4 <script src=
"../resources/js-test.js"></script>
6 <input id=
"filetype" type=
"file">
8 <div id=
"description"></div>
9 <div id=
"console"></div>
13 description("This tests that when AXPress is used DOMActivate will be handled by the input file type.")
15 if (window
.testRunner
&& window
.accessibilityController
) {
16 window
.testRunner
.waitUntilDone();
18 var inputFile
= document
.getElementById("filetype");
20 inputFile
.addEventListener("DOMActivate", function() {
21 debug("DOMActivate was called");
22 window
.testRunner
.notifyDone();
25 accessibilityController
.accessibleElementById("filetype").press();