blob: ca4019aa7093b1aee14186953bce0950bc58ba4d [file] [log] [blame]
commit-queue@webkit.org177e37c2011-09-09 18:06:22 +00001<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2<html>
3<head>
mark.lam@apple.coma931ab22013-09-08 01:18:24 +00004<script src="../resources/js-test-pre.js"></script>
mario.prada@samsung.comc2850872014-07-04 15:31:57 +00005<script src="../resources/accessibility-helper.js"></script>
commit-queue@webkit.org177e37c2011-09-09 18:06:22 +00006</head>
7<body>
8
9<span><div></div></span><span>x<div>y</div>z</span>
10
mario.prada@samsung.comc2850872014-07-04 15:31:57 +000011<div id="stopElement">End of test</div>
commit-queue@webkit.org177e37c2011-09-09 18:06:22 +000012
13<p id="description"></p>
14<pre id="tree"></pre>
15<div id="console"></div>
16
17<script>
18 description("Make sure that a debug assert is not triggered when constructing the accessibility tree for this page.");
19
20 if (window.accessibilityController) {
21 // Build the accessibility tree up until 'End of test' is encountered.
mario.prada@samsung.comc2850872014-07-04 15:31:57 +000022 window.stopElement = accessibilityController.accessibleElementById("stopElement")
23
commit-queue@webkit.org177e37c2011-09-09 18:06:22 +000024 document.body.focus();
mario.prada@samsung.comc2850872014-07-04 15:31:57 +000025 dumpAccessibilityTree(accessibilityController.focusedElement, stopElement, 0);
commit-queue@webkit.org177e37c2011-09-09 18:06:22 +000026 }
27
commit-queue@webkit.org177e37c2011-09-09 18:06:22 +000028</script>
29
mark.lam@apple.coma931ab22013-09-08 01:18:24 +000030<script src="../resources/js-test-post.js"></script>
commit-queue@webkit.org177e37c2011-09-09 18:06:22 +000031</body>
32</html>