| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| <html> |
| <head> |
| <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; |
| } |
| |
| </script> |
| |
| <script src="../fast/js/resources/js-test-post.js"></script> |
| </body> |
| </html> |