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> | |
5 | |
6 function buildAccessibilityTree(accessibilityObject) { | |
7 accessibilityObject.isEnabled | |
8 | |
9 var count = accessibilityObject.childrenCount; | |
10 for (var i = 0; i < count; ++i) | |
11 buildAccessibilityTree(accessibilityObject.childAtIndex(i)); | |
12 } | |
13 </script> | |
14 <script src="../resources/js-test.js"></script> | 4 <script src="../resources/js-test.js"></script> |
| 5 <script src="../resources/accessibility-helper.js"></script> |
15 </head> | 6 </head> |
16 <body> | 7 <body> |
17 | 8 |
18 <table summary="table"> | 9 <table summary="table"> |
19 <thead> | 10 <thead> |
20 </thead> | 11 </thead> |
21 <tr><td>1</td><td>2</td></tr> | 12 <tr><td>1</td><td>2</td></tr> |
22 </table> | 13 </table> |
23 | 14 |
24 <p id="description"></p> | 15 <p id="description"></p> |
25 <div id="console"></div> | 16 <div id="console"></div> |
26 | 17 |
27 <script> | 18 <script> |
28 description("Construct accessibility objects for a table with an empty threa
d tag. This can cause a crash."); | 19 description("Construct accessibility objects for a table with an empty threa
d tag. This can cause a crash."); |
29 | 20 |
30 if (window.accessibilityController) { | 21 if (window.accessibilityController) { |
31 document.body.focus(); | 22 document.body.focus(); |
32 buildAccessibilityTree(accessibilityController.focusedElement); | 23 generateAccessibilityTree(accessibilityController.focusedElement); |
33 } | 24 } |
34 | 25 |
35 </script> | 26 </script> |
36 | 27 |
37 </body> | 28 </body> |
38 </html> | 29 </html> |
OLD | NEW |