29 lines
667 B
HTML
29 lines
667 B
HTML
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
|
<html>
|
|
<head>
|
|
<script src="../../resources/js-test-pre.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>
|
|
|
|
<script src="../../resources/js-test-post.js"></script>
|
|
</body>
|
|
</html>
|