OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script> | 4 <script> |
5 | 5 |
6 function buildAccessibilityTree(accessibilityObject) { | 6 function buildAccessibilityTree(accessibilityObject) { |
7 accessibilityObject.isEnabled | 7 accessibilityObject.isEnabled |
8 | 8 |
9 var count = accessibilityObject.childrenCount; | 9 var count = accessibilityObject.childrenCount; |
10 for (var i = 0; i < count; ++i) | 10 for (var i = 0; i < count; ++i) |
(...skipping 16 matching lines...) Expand all Loading... |
27 <script> | 27 <script> |
28 description("Construct accessibility objects for a table with an empty threa
d tag. This can cause a crash."); | 28 description("Construct accessibility objects for a table with an empty threa
d tag. This can cause a crash."); |
29 | 29 |
30 if (window.accessibilityController) { | 30 if (window.accessibilityController) { |
31 document.body.focus(); | 31 document.body.focus(); |
32 buildAccessibilityTree(accessibilityController.focusedElement); | 32 buildAccessibilityTree(accessibilityController.focusedElement); |
33 } | 33 } |
34 | 34 |
35 </script> | 35 </script> |
36 | 36 |
37 <script src="../fast/js/resources/js-test-post.js"></script> | |
38 </body> | 37 </body> |
39 </html> | 38 </html> |
OLD | NEW |