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

Side by Side Diff: LayoutTests/accessibility/AccessibilityScrollbar-leak.html

Issue 1202263005: Adding Internals.numberOfLiveAXObjects to test for leaking AXObjects (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « no previous file | LayoutTests/accessibility/AccessibilityScrollbar-leak-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 <script id='targetHTML' type='text/html'> 4 <script id='targetHTML' type='text/html'>
5 <html> 5 <html>
6 <head> 6 <head>
7 <style> 7 <style>
8 html { 8 html {
9 overflow: scroll; 9 overflow: scroll;
10 } 10 }
11 ::-webkit-scrollbar { 11 ::-webkit-scrollbar {
12 width: 16px; 12 width: 16px;
13 height: 16px; 13 height: 16px;
14 } 14 }
15 </style> 15 </style>
16 </head> 16 </head>
17 </html> 17 </html>
18 </script> 18 </script>
19 19
20 <script src="../resources/js-test.js"></script> 20 <script src="../resources/js-test.js"></script>
21 <script src="../resources/leak-check.js"></script> 21 <script src="../resources/leak-check.js"></script>
22 <script> 22 <script>
23 var target = grabScriptText('targetHTML'); 23 var target = grabScriptText('targetHTML');
24 var tolerance = {'numberOfLiveDocuments': 0}; 24 var tolerance = {
25 'numberOfLiveDocuments': 0,
26 'numberOfLiveAXObjects': 0
27 };
25 28
26 doLeakTest(htmlToUrl(target), tolerance); 29 doLeakTest(htmlToUrl(target), tolerance);
27 </script> 30 </script>
28 </body> 31 </body>
29 </html> 32 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/accessibility/AccessibilityScrollbar-leak-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698