Refactoring: Pull all fullscreen code out of Document and into its own helper class
[WebKit-https.git] / LayoutTests / accessibility / aria-busy.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../resources/js-test-pre.js"></script>
5 <script src="../resources/accessibility-helper.js"></script>
6 </head>
7 <body>
8 <div role="listbox" id="listbox1" aria-busy="true" aria-label="listbox being populated"></div>
9 <div role="listbox" id="listbox2" aria-busy="false" aria-label="listbox already populated"></div>
10 <p id="description"></p>
11 <div id="console"></div>
12 <script>
13     description("This tests that the 'busy' state is exposed correctly.");
14     if (window.accessibilityController) {
15         var listbox = accessibilityController.accessibleElementById("listbox1");
16         debug(platformValueForW3CName(listbox) + " is busy: " + listbox.boolAttributeValue("AXElementBusy"))
17
18         listbox = accessibilityController.accessibleElementById("listbox2");
19         debug(platformValueForW3CName(listbox) + " is busy: " + listbox.boolAttributeValue("AXElementBusy"))
20     }
21 </script>
22 <script src="../resources/js-test-post.js"></script>
23 </body>
24 </html>