JS Test Harness: Remove successfullyParsed from more tests
[WebKit-https.git] / LayoutTests / platform / mac / accessibility / button-shouldnot-have-axvalue.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 <input tabindex=0 id="button" type="button" value="test">
9
10 <p id="description"></p>
11 <div id="console"></div>
12
13 <script>
14
15     description("This tests that a button should not have AXRequired and should not have AXValue returned.");
16
17     if (window.accessibilityController) {
18
19           document.getElementById("button").focus();
20           var button = accessibilityController.focusedElement;
21
22           shouldBe("button.isAttributeSupported('AXValue')", "false");
23           shouldBe("button.isAttributeSupported('AXRequired')", "false");
24     }
25
26 </script>
27
28 <script src="../../../fast/js/resources/js-test-post.js"></script>
29 </body>
30 </html>