JS Test Harness: Remove successfullyParsed from more tests
[WebKit-https.git] / LayoutTests / platform / mac / accessibility / frame-with-title.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../../../fast/js/resources/js-test-pre.js"></script>
5 </head>
6 <body id="body">
7
8 <iframe id="frame1" src="image-map2.html" width=100 height=100 name="packageListFrame" title="All Packages">
9 </iframe>
10
11 <iframe id="frame2" src="image-map2.html" width=100 height=100 name="packageListFrame" >
12 </iframe>
13
14 <p id="description"></p>
15 <div id="console"></div>
16
17 <script>
18
19     description("This test makes sure that a frame with a title will use that value instead of the name.");
20
21     if (window.accessibilityController) {
22
23           document.getElementById("frame1").focus();
24           shouldBe("accessibilityController.focusedElement.description", "'AXDescription: All Packages'");
25
26           document.getElementById("frame2").focus();
27           shouldBe("accessibilityController.focusedElement.description", "'AXDescription: packageListFrame'");
28     }
29
30 </script>
31
32 <script src="../../../fast/js/resources/js-test-post.js"></script>
33 </body>
34 </html>