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

Side by Side Diff: LayoutTests/plugins/refcount-leaks.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 <script> 1 <script>
2 function noop(x) { 2 function noop(x) {
3 } 3 }
4 4
5 function doGC() { 5 function doGC() {
6 if (window.GCController) { 6 if (window.GCController) {
7 // GC twice to make sure everything is cleaned up. 7 window.GCController.collectAll();
8 for (var i = 0; i < 2; i++) {
9 window.GCController.collect();
10 }
11 } 8 }
12 } 9 }
13 10
14 function runtest() { 11 function runtest() {
15 if (window.testRunner) 12 if (window.testRunner)
16 testRunner.dumpAsText(); 13 testRunner.dumpAsText();
17 14
18 15
19 var output = document.getElementById("output"); 16 var output = document.getElementById("output");
20 output.innerHTML = ""; 17 output.innerHTML = "";
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 an NPAPI Object.<P> 71 an NPAPI Object.<P>
75 72
76 Prints "SUCCESS" on success, "FAILURE" on failure. 73 Prints "SUCCESS" on success, "FAILURE" on failure.
77 74
78 <embed name="plug" type="application/x-webkit-test-netscape"> 75 <embed name="plug" type="application/x-webkit-test-netscape">
79 76
80 <div id=output>FAILURE</div> 77 <div id=output>FAILURE</div>
81 78
82 </body> 79 </body>
83 80
OLDNEW
« no previous file with comments | « LayoutTests/plugins/npruntime/script-tests/browser-object-identity.js ('k') | LayoutTests/resources/gc.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698