OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../fast/js/resources/js-test-pre.js"></script> | 3 <script src="../resources/js-test.js"></script> |
4 <script> | 4 <script> |
5 function runTest() { | 5 function runTest() { |
6 window.jsTestIsAsync = true; | 6 window.jsTestIsAsync = true; |
7 | 7 |
8 description("This tests that checking of an aria checkbox sends a notifi
cation."); | 8 description("This tests that checking of an aria checkbox sends a notifi
cation."); |
9 | 9 |
10 var accessibleCheckbox = accessibilityController.accessibleElementById("
checkbox1"); | 10 var accessibleCheckbox = accessibilityController.accessibleElementById("
checkbox1"); |
11 var notificationCount = 0; | 11 var notificationCount = 0; |
12 | 12 |
13 function listener(notification) { | 13 function listener(notification) { |
(...skipping 19 matching lines...) Expand all Loading... |
33 | 33 |
34 <div id="checkbox1" tabindex=0 role="checkbox" aria-checked="false">Test Checkbo
x</div> | 34 <div id="checkbox1" tabindex=0 role="checkbox" aria-checked="false">Test Checkbo
x</div> |
35 | 35 |
36 <p id="description"></p> | 36 <p id="description"></p> |
37 <div id="console"></div> | 37 <div id="console"></div> |
38 <script> | 38 <script> |
39 runTest(); | 39 runTest(); |
40 </script> | 40 </script> |
41 </body> | 41 </body> |
42 </html> | 42 </html> |
OLD | NEW |