4 <script id='targetHTML' type='text/html'
>
5 <map name=
"map" title=
"map" id=
"firstmap">
6 <area shape=
"rect" coords=
"20,20,70,70" href=
"#" id=
"1">
9 <a id=
"start" href=
"a"></a>
10 <img width=
200px height=
200px
usemap=
"#map">
13 <script id='targetJS' type='text/html'
>
14 document.getElementById('start').focus();
15 eventSender.keyDown('downArrow');
18 <script src=
"../../resources/js-test.js"></script>
19 <script src=
"../../resources/leak-check.js"></script>
21 testRunner
.overridePreference('WebKitTabToLinksPreferenceKey', 1);
22 window
.internals
.settings
.setSpatialNavigationEnabled(true);
24 var target
= grabScriptText('targetHTML')+
25 '<script>'+grabScriptText('targetJS')+'<'+'/script>';
26 var tolerance
= {'numberOfLiveDocuments': 0};
28 doLeakTest(htmlToUrl(target
), tolerance
);