| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |