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

Side by Side Diff: LayoutTests/fast/events/event-sender-context-click-leak-document.html

Issue 22548008: EventSender::contextClick leaks NPObject used as its return value, leading to a leak of DOMWindow. (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/fast/events/event-sender-context-click-leak-document-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
(Empty)
1 <html>
2 <body>
3 <script id='targetJS' type='text/html'>
4 eventSender.contextClick();
5 </script>
6
7 <script src="../js/resources/js-test-pre.js"></script>
8 <script src="../dom/resources/leak-check.js"></script>
9 <script>
10 var target = '<script>'+grabScriptText('targetJS')+'<'+'/script>';
11 var tolerance = {'numberOfLiveDocuments': 0};
12
13 doLeakTest(htmlToUrl(target), tolerance);
14 </script>
15 <script src="../js/resources/js-test-post.js"></script>
16 </body>
17 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/events/event-sender-context-click-leak-document-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698