OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 (function() { | 5 (function() { |
6 window.testRunner = {}; | 6 window.testRunner = {}; |
7 window.testRunner.isDone = false; | 7 window.testRunner.isDone = false; |
8 | 8 |
9 testRunner.waitUntilDone = function() {}; | 9 testRunner.waitUntilDone = function() {}; |
10 testRunner.dumpAsText = function() {}; | 10 testRunner.dumpAsText = function() {}; |
11 testRunner.notifyDone = function() { | 11 testRunner.notifyDone = function() { |
12 this.isDone = true; | 12 this.isDone = true; |
13 }; | 13 }; |
| 14 |
| 15 window.GCController = {}; |
| 16 |
| 17 GCController.collect = function() { |
| 18 gc(); |
| 19 }; |
14 })(); | 20 })(); |
OLD | NEW |