blob: 5e27db8fc048ea2c1f1a9e0d10e3a8faf213a503 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<link rel="stylesheet" href="../fast/js/resources/js-test-style.css">
<script>
var successfullyParsed = false;
</script>
<script src="../fast/js/resources/js-test-pre.js"></script>
</head>
<body id="body">
<select id="selectBox">
</select>
<p id="description"></p>
<div id="console"></div>
<script>
description("This tests that there's no crash when accessising the stringValue of a menu list that has no elements.");
if (window.accessibilityController) {
document.getElementById("selectBox").focus();
var selectBox = accessibilityController.focusedElement;
// this call should not crash.
var stringValue = selectBox.stringValue;
}
successfullyParsed = true;
</script>
<script src="../fast/js/resources/js-test-post.js"></script>
</body>
</html>