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

Side by Side Diff: LayoutTests/accessibility/accessibility-controller-notificationlistener-leak-callback.html

Issue 23071004: AccessibilityController::reset() should reset all notification listener callbacks. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/accessibility/accessibility-controller-notificationlistener-leak-callback-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'>
5 <select id="menu">
6 <option>abcd</option>
7 <option>efgh</option>
8 </select>
9 </script>
10 <script id='targetJS' type='text/html'> 4 <script id='targetJS' type='text/html'>
11 document.getElementById('menu').focus(); 5 accessibilityController.addNotificationListener(function() {});
12 eventSender.keyDown('e');
13 </script> 6 </script>
14 7
15 <script src="../fast/js/resources/js-test-pre.js"></script> 8 <script src="../fast/js/resources/js-test-pre.js"></script>
16 <script src="../fast/js/resources/leak-check.js"></script> 9 <script src="../fast/js/resources/leak-check.js"></script>
17 <script> 10 <script>
18 var target = grabScriptText('targetHTML')+ 11 var target = '<script>'+grabScriptText('targetJS')+'<'+'/script>';
19 '<script>'+grabScriptText('targetJS')+'<'+'/script>';
20 var tolerance = {'numberOfLiveDocuments': 0}; 12 var tolerance = {'numberOfLiveDocuments': 0};
21 13
22 doLeakTest(htmlToUrl(target), tolerance); 14 doLeakTest(htmlToUrl(target), tolerance);
23 </script> 15 </script>
24 <script src="../fast/js/resources/js-test-post.js"></script> 16 <script src="../fast/js/resources/js-test-post.js"></script>
25 </body> 17 </body>
26 </html> 18 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/accessibility/accessibility-controller-notificationlistener-leak-callback-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698