summaryrefslogtreecommitdiffstats
path: root/extensions/renderer/resources/browser_test_environment_specific_bindings.js
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/renderer/resources/browser_test_environment_specific_bindings.js')
-rw-r--r--extensions/renderer/resources/browser_test_environment_specific_bindings.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/extensions/renderer/resources/browser_test_environment_specific_bindings.js b/extensions/renderer/resources/browser_test_environment_specific_bindings.js
new file mode 100644
index 0000000..f540862
--- /dev/null
+++ b/extensions/renderer/resources/browser_test_environment_specific_bindings.js
@@ -0,0 +1,15 @@
+// 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 registerHooks(api) {
+}
+
+function testDone(runNextTest) {
+ // Use setTimeout here to allow previous test contexts to be
+ // eligible for garbage collection.
+ setTimeout(runNextTest, 0);
+}
+
+exports.registerHooks = registerHooks;
+exports.testDone = testDone;