1 <!DOCTYPE HTML PUBLIC
"-//IETF//DTD HTML//EN">
4 <script src=
"../resources/js-test.js"></script>
8 <select id=
"selectBox">
10 <p id=
"description"></p>
11 <div id=
"console"></div>
15 description("This tests that there's no crash when accessising the stringValue of a menu list that has no elements.");
17 if (window
.accessibilityController
) {
18 document
.getElementById("selectBox").focus();
19 var selectBox
= accessibilityController
.focusedElement
;
21 // this call should not crash.
22 var stringValue
= selectBox
.stringValue
;