https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 0c93c0877c816f3b565eaaab7987e9c131475c1c authored by James Graham on 12 April 2018, 12:48:29 UTC
Use version-specific prefs files when running Firefox
Tip revision: 0c93c08
reftest-wait.js
function takeScreenshot() {
    document.documentElement.classList.remove("reftest-wait");
}

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