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 src="../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../resources/js-test.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 | 7 |
8 <em><code ><h4 ></em> | 8 <em><code ><h4 ></em> |
9 | 9 |
10 <p id="description"></p> | 10 <p id="description"></p> |
11 <div id="console"></div> | 11 <div id="console"></div> |
12 | 12 |
13 <script> | 13 <script> |
14 description("Child nodes should not be duplicated in the accessibility tree.
"); | 14 description("Child nodes should not be duplicated in the accessibility tree.
"); |
15 | 15 |
16 if (window.accessibilityController) { | 16 if (window.accessibilityController) { |
17 document.body.focus(); | 17 document.body.focus(); |
18 var webArea = accessibilityController.focusedElement; | 18 var webArea = accessibilityController.focusedElement; |
19 if (webArea.childrenCount > 1) | 19 if (webArea.childrenCount > 1) |
20 shouldBe("webArea.childAtIndex(0).isEqual(webArea.childAtIndex(1))",
"false"); | 20 shouldBe("webArea.childAtIndex(0).isEqual(webArea.childAtIndex(1))",
"false"); |
21 } | 21 } |
22 | 22 |
23 </script> | 23 </script> |
24 | 24 |
25 </body> | 25 </body> |
26 </html> | 26 </html> |
OLD | NEW |