| <script src="../../resources/js-test-pre.js"></script> |
| <script src="../../resources/accessibility-helper.js"></script> |
| a <video width=100 height=100 controls></video> b |
| a <audio width=100 height=100 controls></audio> b |
| <div id="stopElement">End of test</div> |
| description("This tests ensures that if video or audio tags are used, they will emit an object replacement character in a range for string operation.") |
| if (window.accessibilityController) { |
| // Build the accessibility tree up until 'End of test' is encountered. |
| window.stopElement = accessibilityController.accessibleElementById("stopElement"); |
| dumpAccessibilityTree(accessibilityController.focusedElement, stopElement, 0); |
| <script src="../../resources/js-test-post.js"></script> |