Fix the build
[WebKit-https.git] / LayoutTests / fast / events / tab-is-focusable-assert.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 <script>
8 description('Making sure that the assert in Node::isFocusable does not fail. ' +
9             'https://bugs.webkit.org/show_bug.cgi?id=29210');
10
11 var div = document.createElement('div');
12 div.style.display = 'none';
13
14 var a = document.createElement('a');
15 a.href = 'http://webkit.org';
16 div.appendChild(a);
17
18 document.body.appendChild(div);
19
20 if (window.eventSender)
21     eventSender.keyDown('\t');
22
23 testPassed('No crash');
24 </script>
25 <script src="../../resources/js-test-post.js"></script>
26 </body>
27 </html>