blob: 6ac7f9f672cb68515e07a3c5010ee6800a31bbef [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<script src="../../resources/js-test-pre.js"></script>
<body id="body" tabindex="0">
<div tabindex="0" id="text1">text</div>
text
<div tabindex="0" id="text2">text</div>
<p id="description"></p>
<div id="console"></div>
<script>
description("This verifies that textMarkerForIndex for not crash when given an index greater than 2^31");
if (window.accessibilityController) {
document.getElementById("text1").focus();
var item1 = accessibilityController.focusedElement;
shouldBeTrue("item1.isTextMarkerValid(item1.textMarkerForIndex(99999999999))");
}
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>