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

Side by Side Diff: LayoutTests/accessibility/axobjectcache-leaks-node.html

Issue 23005006: Fix XMLHttpRequest leak document when send() is called multiple times. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: check readyState == 4 to comply with change made in r156212 Created 7 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/editing/context-menu-leak-document.html » ('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 <select id="menu"> 5 <select id="menu">
6 <option>abcd</option> 6 <option>abcd</option>
7 <option>efgh</option> 7 <option>efgh</option>
8 </select> 8 </select>
9 </script> 9 </script>
10 <script id='targetJS' type='text/html'> 10 <script id='targetJS' type='text/html'>
11 document.getElementById('menu').focus(); 11 document.getElementById('menu').focus();
12 eventSender.keyDown('e'); 12 eventSender.keyDown('e');
13 </script> 13 </script>
14 14
15 <script src="../fast/js/resources/js-test-pre.js"></script> 15 <script src="../fast/js/resources/js-test-pre.js"></script>
16 <script src="../fast/dom/resources/leak-check.js"></script> 16 <script src="../fast/js/resources/leak-check.js"></script>
17 <script> 17 <script>
18 var target = grabScriptText('targetHTML')+ 18 var target = grabScriptText('targetHTML')+
19 '<script>'+grabScriptText('targetJS')+'<'+'/script>'; 19 '<script>'+grabScriptText('targetJS')+'<'+'/script>';
20 var tolerance = {'numberOfLiveDocuments': 0}; 20 var tolerance = {'numberOfLiveDocuments': 0};
21 21
22 doLeakTest(htmlToUrl(target), tolerance); 22 doLeakTest(htmlToUrl(target), tolerance);
23 </script> 23 </script>
24 <script src="../fast/js/resources/js-test-post.js"></script> 24 <script src="../fast/js/resources/js-test-post.js"></script>
25 </body> 25 </body>
26 </html> 26 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/editing/context-menu-leak-document.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698