Refactoring: Pull all fullscreen code out of Document and into its own helper class
[WebKit-https.git] / LayoutTests / accessibility / table-remove-cell-crash.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../resources/js-test-pre.js"></script>
5 </head>
6 <body>
7
8 <table id=table1 tabindex=0><td rowspan=141></table>
9
10 <p id="description"></p>
11 <div id="console"></div>
12
13 <script>
14     description("This test makes sure we do not crash if javascript removes a cell.");
15
16     if (window.accessibilityController) {
17         var table = document.getElementById("table1");
18         table.focus();
19         tableAX = accessibilityController.focusedElement;
20
21         table.childNodes[0].removeChild(table.childNodes[0].childNodes[0]);
22
23         string = tableAX.attributesOfChildren();
24     }
25 </script>
26
27 <script src="../resources/js-test-post.js"></script>
28 </body>
29 </html>