Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-imagemap-leak-document.html

Issue 1964403002: Retire leak-check.js. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
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">
7 </map>
8
9 <a id="start" href="a"></a>
10 <img width=200px height=200px usemap="#map">
11 </script>
12
13 <script id='targetJS' type='text/html'>
14 document.getElementById('start').focus();
15 eventSender.keyDown('downArrow');
16 </script>
17
18 <script src="../../resources/js-test.js"></script>
19 <script src="../../resources/leak-check.js"></script>
20 <script>
21 testRunner.overridePreference('WebKitTabToLinksPreferenceKey', 1);
22 window.internals.settings.setSpatialNavigationEnabled(true);
23
24 var target = grabScriptText('targetHTML')+
25 '<script>'+grabScriptText('targetJS')+'<'+'/script>';
26 var tolerance = {'numberOfLiveDocuments': 0};
27
28 doLeakTest(htmlToUrl(target), tolerance);
29 </script>
30 </body>
31 </html>
32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698