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, targetObject, t
argetString) { | 6 function buildAccessibilityTree(accessibilityObject, indent, targetObject, t
argetString) { |
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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 // which should be in the last descendant regardless of platform. | 59 // which should be in the last descendant regardless of platform. |
60 shouldBeTrue("titleUIElement != null"); | 60 shouldBeTrue("titleUIElement != null"); |
61 var titleUIElementText = titleUIElement; | 61 var titleUIElementText = titleUIElement; |
62 while (titleUIElementText && titleUIElementText.childrenCount) | 62 while (titleUIElementText && titleUIElementText.childrenCount) |
63 titleUIElementText = titleUIElementText.childAtIndex(0); | 63 titleUIElementText = titleUIElementText.childAtIndex(0); |
64 | 64 |
65 shouldBe("titleUIElementText.stringValue", "'AXValue: Choose a shipping
method:'"); | 65 shouldBe("titleUIElementText.stringValue", "'AXValue: Choose a shipping
method:'"); |
66 } | 66 } |
67 </script> | 67 </script> |
68 | 68 |
69 <script src="../fast/js/resources/js-test-post.js"></script> | |
70 </body> | 69 </body> |
71 </html> | 70 </html> |
OLD | NEW |