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, indent) { | 6 function buildAccessibilityTree(accessibilityObject, indent) { |
7 var str = ""; | 7 var str = ""; |
8 for (var i = 0; i < indent; i++) | 8 for (var i = 0; i < indent; i++) |
9 str += " "; | 9 str += " "; |
10 str += accessibilityObject.role; | 10 str += accessibilityObject.role; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 document.body.removeChild(document.body.children[2]) | 54 document.body.removeChild(document.body.children[2]) |
55 | 55 |
56 // Build up full accessibility tree again. | 56 // Build up full accessibility tree again. |
57 document.getElementById("tree").innerText += "After:\n"; | 57 document.getElementById("tree").innerText += "After:\n"; |
58 document.body.focus(); | 58 document.body.focus(); |
59 buildAccessibilityTree(accessibilityController.focusedElement, 0); | 59 buildAccessibilityTree(accessibilityController.focusedElement, 0); |
60 } | 60 } |
61 | 61 |
62 </script> | 62 </script> |
63 | 63 |
64 <script src="../fast/js/resources/js-test-post.js"></script> | |
65 </body> | 64 </body> |
66 </html> | 65 </html> |
OLD | NEW |