| 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 removeAreaElement() { | 6 function removeAreaElement() { |
| 7 document.getElementById("test").innerHTML=1 | 7 document.getElementById("test").innerHTML=1 |
| 8 } | 8 } |
| 9 | 9 |
| 10 function queryTitleOnDecendants(accessibilityObject) { | 10 function queryTitleOnDecendants(accessibilityObject) { |
| 11 accessibilityObject.title | 11 accessibilityObject.deprecatedTitle |
| 12 | 12 |
| 13 var count = accessibilityObject.childrenCount; | 13 var count = accessibilityObject.childrenCount; |
| 14 for (var i = 0; i < count; ++i) | 14 for (var i = 0; i < count; ++i) |
| 15 queryTitleOnDecendants(accessibilityObject.childAtIndex(i)); | 15 queryTitleOnDecendants(accessibilityObject.childAtIndex(i)); |
| 16 } | 16 } |
| 17 </script> | 17 </script> |
| 18 <script src="../resources/js-test.js"></script> | 18 <script src="../resources/js-test.js"></script> |
| 19 </head> | 19 </head> |
| 20 <body> | 20 <body> |
| 21 | 21 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 // Now call request the title for each accessibility object. | 38 // Now call request the title for each accessibility object. |
| 39 document.body.focus(); | 39 document.body.focus(); |
| 40 queryTitleOnDecendants(accessibilityController.focusedElement); | 40 queryTitleOnDecendants(accessibilityController.focusedElement); |
| 41 } | 41 } |
| 42 | 42 |
| 43 </script> | 43 </script> |
| 44 | 44 |
| 45 </body> | 45 </body> |
| 46 </html> | 46 </html> |
| OLD | NEW |