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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/TreeWalker/TreeWalker-leak-document.html

Issue 1964403002: Retire leak-check.js. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
OLDNEW
(Empty)
1 <html>
2 <body>
3 <script id='targetJS' type='text/html'>
4 // This test asserts that document doesn't leak when a NodeFilter callba ck referencing the document is created.
5 keepTreeWalker = document.createTreeWalker(document, NodeFilter.SHOW_ELE MENT, function(node) { return NodeFilter.SHOW_ELEMENT; }, false);
6 </script>
7
8 <script src="../../../resources/js-test.js"></script>
9 <script src="../../../resources/leak-check.js"></script>
10 <script>
11 var target = '<script>'+grabScriptText('targetJS')+'<'+'/script>';
12 var tolerance = {'numberOfLiveDocuments': 0};
13
14 doLeakTest(htmlToUrl(target), tolerance);
15 </script>
16 </body>
17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698