| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | |
| <html> | |
| <head> | |
| <script src="../../resources/js-test.js"></script> | |
| </head> | |
| <body id="body"> | |
| <img src="resources/cake.png"> | |
| <p id="description"></p> | |
| <div id="console"></div> | |
| <script> | |
| description("This test makes sure the loading progress of a webpage can be retrieved."); | |
| if (window.accessibilityController) { | |
| var obj = accessibilityController.rootElement.childAtIndex(0); | |
| shouldBe("obj.role", "'AXRole: AXWebArea'"); | |
| shouldBe("obj.isAttributeSupported('AXLoadingProgress')", "true"); | |
| } | |
| </script> | |
| </body> | |
| </html> |