blob: 54909c6d3dbf8793eeea37e54630333d94ca856d [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../resources/js-test.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;
}
</script>
</body>
</html>