function step_timeout(func, timeout) {
        var outer_this = this;
        var args = Array.prototype.slice.call(arguments, 2);
        var local_set_timeout = typeof global_scope.setTimeout === "undefined" ? fake_set_timeout : setTimeout;
        return local_set_timeout(function() {
            func.apply(outer_this, args);
        }, timeout * tests.timeout_multiplier);
    }
Global version of :js:func:`Test.step_timeout` for use in single page tests.

@param {Function} func - Function to run after the timeout
@param {number} timeout - Time in ms to wait before running the
test step. The actual wait time is ``timeout`` x
``timeout_multiplier``.