Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(331)

Side by Side Diff: LayoutTests/accessibility/file-upload-button-with-axpress.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html> 2 <html>
3 <body> 3 <body>
4 <script src="../fast/js/resources/js-test-pre.js"></script> 4 <script src="../resources/js-test.js"></script>
5 5
6 <input id="filetype" type="file"> 6 <input id="filetype" type="file">
7 7
8 <div id="description"></div> 8 <div id="description"></div>
9 <div id="console"></div> 9 <div id="console"></div>
10 10
11 <script> 11 <script>
12 12
13 description("This tests that when AXPress is used DOMActivate will be handled by the input file type.") 13 description("This tests that when AXPress is used DOMActivate will be handled by the input file type.")
14 14
15 if (window.testRunner && window.accessibilityController) { 15 if (window.testRunner && window.accessibilityController) {
16 window.testRunner.waitUntilDone(); 16 window.testRunner.waitUntilDone();
17 17
18 var inputFile = document.getElementById("filetype"); 18 var inputFile = document.getElementById("filetype");
19 19
20 inputFile.addEventListener("DOMActivate", function() { 20 inputFile.addEventListener("DOMActivate", function() {
21 debug("DOMActivate was called"); 21 debug("DOMActivate was called");
22 window.testRunner.notifyDone(); 22 window.testRunner.notifyDone();
23 }); 23 });
24 24
25 accessibilityController.accessibleElementById("filetype").press(); 25 accessibilityController.accessibleElementById("filetype").press();
26 } 26 }
27 27
28 </script> 28 </script>
29 29
30 </body> 30 </body>
31 </html> 31 </html>
OLDNEW
« no previous file with comments | « LayoutTests/accessibility/ellipsis-text.html ('k') | LayoutTests/accessibility/first-letter-text-transform-causes-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698