OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../fast/js/resources/js-test-pre.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 | 7 |
8 <table id=table1 tabindex=0><td rowspan=141></table> | 8 <table id=table1 tabindex=0><td rowspan=141></table> |
9 | 9 |
10 <p id="description"></p> | 10 <p id="description"></p> |
11 <div id="console"></div> | 11 <div id="console"></div> |
12 | 12 |
13 <script> | 13 <script> |
14 description("This test makes sure we do not crash if javascript removes a ce
ll."); | 14 description("This test makes sure we do not crash if javascript removes a ce
ll."); |
15 | 15 |
16 if (window.accessibilityController) { | 16 if (window.accessibilityController) { |
17 var table = document.getElementById("table1"); | 17 var table = document.getElementById("table1"); |
18 table.focus(); | 18 table.focus(); |
19 tableAX = accessibilityController.focusedElement; | 19 tableAX = accessibilityController.focusedElement; |
20 | 20 |
21 table.childNodes[0].removeChild(table.childNodes[0].childNodes[0]); | 21 table.childNodes[0].removeChild(table.childNodes[0].childNodes[0]); |
22 | 22 |
23 string = tableAX.attributesOfChildren(); | 23 string = tableAX.attributesOfChildren(); |
24 } | 24 } |
25 </script> | 25 </script> |
26 | 26 |
27 <script src="../fast/js/resources/js-test-post.js"></script> | |
28 </body> | 27 </body> |
29 </html> | 28 </html> |
OLD | NEW |