blob: 465e1ffd7409837bc95bf5c05a6b1e3f49718e84 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
(function() {
window.testRunner = {};
window.testRunner.isDone = false;
testRunner.waitUntilDone = function() {};
testRunner.dumpAsText = function() {};
testRunner.notifyDone = function() {
this.isDone = true;
};
window.GCController = {};
GCController.collect = function() {
gc();
};
GCController.collectAll = function() {
for (var i = 0; i < 7; ++i)
gc();
};
})();