Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / accessibility / table-remove-cell-crash.html
blob8fa596c112f2cc857efb3c0523dc1bbffb79e890
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../resources/js-test.js"></script>
5 </head>
6 <body>
8 <table id=table1 tabindex=0><td rowspan=141></table>
10 <p id="description"></p>
11 <div id="console"></div>
13 <script>
14 description("This test makes sure we do not crash if javascript removes a cell.");
16 if (window.accessibilityController) {
17 var table = document.getElementById("table1");
18 table.focus();
19 tableAX = accessibilityController.focusedElement;
21 table.childNodes[0].removeChild(table.childNodes[0].childNodes[0]);
23 string = tableAX.attributesOfChildren();
25 </script>
27 </body>
28 </html>