33 lines
907 B
HTML
33 lines
907 B
HTML
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
|
<html>
|
|
<head>
|
|
<script src="../resources/js-test-pre.js"></script>
|
|
<script src="../resources/accessibility-helper.js"></script>
|
|
</head>
|
|
<body>
|
|
|
|
<span><div></div></span><span>x<div>y</div>z</span>
|
|
|
|
<div id="stopElement">End of test</div>
|
|
|
|
<p id="description"></p>
|
|
<pre id="tree"></pre>
|
|
<div id="console"></div>
|
|
|
|
<script>
|
|
description("Make sure that a debug assert is not triggered when constructing the accessibility tree for this page.");
|
|
|
|
if (window.accessibilityController) {
|
|
// Build the accessibility tree up until 'End of test' is encountered.
|
|
window.stopElement = accessibilityController.accessibleElementById("stopElement")
|
|
|
|
document.body.focus();
|
|
dumpAccessibilityTree(accessibilityController.focusedElement, stopElement, 0);
|
|
}
|
|
|
|
</script>
|
|
|
|
<script src="../resources/js-test-post.js"></script>
|
|
</body>
|
|
</html>
|