https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 59747ef8edab507c19e871c05ace8e70c747f01c authored by James Graham on 09 May 2015, 00:48:22 UTC
fixup! fixup! Replace usage of setTimeout with step_timeout.
Tip revision: 59747ef
reftest-wait.js
function takeScreenshot() {
    document.documentElement.classList.remove("reftest-wait");
}

function takeScreenshotDelayed(timeout) {
    setTimeout(function() {
        takeScreenshot();
    }, timeout);
}
back to top