1 <html> 2 <head> 3 <script> 4 function test() 5 { 6 if (window.layoutTestController) 7 layoutTestController.dumpAsText(); 8 document.getElementById('bt').focus(); 9 if (window.accessibilityController) 10 var test = accessibilityController.focusedElement.stringAttributeValue("aria-activedescendant"); 11 document.getElementById('bt').click(); 12 } 13 </script> 14 </head> 15 <body onload="test()"> 16 This tests that there is no crash if you set an aria-activedescendant attribute to an id of an element that has no renderer.<br> 17 <input type="button" id="bt" onclick="this.setAttribute('aria-activedescendant', 'hiddenElement')" value="Use VoiceOver to activate this button, and then navigate to the next element"> 18 <div id="hiddenElement" style="display:none"></div> 19 </body> 20 </html> 21