From 41c4167a5e60344e6b1002c45a6c040ab492f60a Mon Sep 17 00:00:00 2001 From: James Graham Date: Fri, 8 May 2015 22:13:30 +0100 Subject: [PATCH] fixup! fixup! Add after_timeout function --- testharness.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testharness.js b/testharness.js index 9edf118..d8eba1e 100644 --- a/testharness.js +++ b/testharness.js @@ -1376,7 +1376,7 @@ policies and contribution forms [3]. var test_this = this; return setTimeout(this.step_func(function() { - return f.call(test_this); + return f.apply(test_this, Array.prototype.slice.call(arguments, 2)); }, timeout * tests.timeout_multiplier)); }