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

Side by Side Diff: LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-detached-dom-tree.html

Issue 211933008: Remove multiple GC calls and replace GCController.collect calls with GCController.collectAll (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: revert change to worker-event-listener Created 6 years, 9 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 <html> 1 <html>
2 <head> 2 <head>
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto r-protocol-test.js"></script> 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto r-protocol-test.js"></script>
4 <script> 4 <script>
5 if (window.testRunner) { 5 if (window.testRunner) {
6 testRunner.dumpAsText(); 6 testRunner.dumpAsText();
7 testRunner.waitUntilDone(); 7 testRunner.waitUntilDone();
8 } 8 }
9 9
10 function createDetachedDomTreeAndRunTest() 10 function createDetachedDomTreeAndRunTest()
11 { 11 {
12 gc(); 12 gc();
13 gc();
14 window.retaining_wrapper = document.createElement("div"); 13 window.retaining_wrapper = document.createElement("div");
15 var t = document.createElement("div"); 14 var t = document.createElement("div");
16 retaining_wrapper.appendChild(t); 15 retaining_wrapper.appendChild(t);
17 t.appendChild(document.createElement("div")); 16 t.appendChild(document.createElement("div"));
18 17
19 runTest(); 18 runTest();
20 } 19 }
21 20
22 function test() 21 function test()
23 { 22 {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 } 71 }
73 72
74 InspectorTest.takeHeapSnapshot(checkHeapSnapshot); 73 InspectorTest.takeHeapSnapshot(checkHeapSnapshot);
75 } 74 }
76 </script> 75 </script>
77 </head> 76 </head>
78 <body onload="createDetachedDomTreeAndRunTest()"> 77 <body onload="createDetachedDomTreeAndRunTest()">
79 <p>Test that all nodes from the detached DOM tree will get into one group in the heap snapshot. <a href="https://bugs.webkit.org/show_bug.cgi?id=107819">Bug 107 819.</p> 78 <p>Test that all nodes from the detached DOM tree will get into one group in the heap snapshot. <a href="https://bugs.webkit.org/show_bug.cgi?id=107819">Bug 107 819.</p>
80 </body> 79 </body>
81 </html> 80 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698