Refactoring: Pull all fullscreen code out of Document and into its own helper class
[WebKit-https.git] / LayoutTests / accessibility / table-with-empty-thead-causes-crash.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../resources/js-test-pre.js"></script>
5 <script src="../resources/accessibility-helper.js"></script>
6 </head>
7 <body>
8
9 <table summary="table">
10     <thead>
11     </thead>
12 <tr><td>1</td><td>2</td></tr>
13 </table>
14
15 <p id="description"></p>
16 <div id="console"></div>
17
18 <script>
19     description("Construct accessibility objects for a table with an empty thread tag. This can cause a crash.");
20
21     if (window.accessibilityController) {
22         document.body.focus();
23         touchAccessibilityTree(accessibilityController.focusedElement);
24     }
25
26 </script>
27
28 <script src="../resources/js-test-post.js"></script>
29 </body>
30 </html>