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

Side by Side Diff: LayoutTests/fast/notifications/notifications-leak-document.html

Issue 22909013: Notification should not leak document. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add test expectation 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
OLDNEW
1 <!DOCTYPE html>
1 <html> 2 <html>
2 <body> 3 <body>
3 <script id='targetJS' type='text/html'>
4 eventSender.contextClick();
5 </script>
6
7 <script src="../js/resources/js-test-pre.js"></script> 4 <script src="../js/resources/js-test-pre.js"></script>
8 <script src="../dom/resources/leak-check.js"></script> 5 <script src="../dom/resources/leak-check.js"></script>
9 <script> 6 <script>
10 var target = '<script>'+grabScriptText('targetJS')+'<'+'/script>'; 7 testRunner.grantWebNotificationPermission("file://");
11 var tolerance = {'numberOfLiveDocuments': 0}; 8 var tolerance = {'numberOfLiveDocuments': 0};
12 9
13 doLeakTest(htmlToUrl(target), tolerance); 10 doLeakTest('./resources/notification-show.html', tolerance);
14 </script> 11 </script>
15 <script src="../js/resources/js-test-post.js"></script> 12 <script src="../js/resources/js-test-post.js"></script>
16 </body> 13 </body>
17 </html> 14 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/notifications/notifications-leak-document-expected.txt » ('j') | Source/web/WebNotification.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698