https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 5276c19613837f7c1cee3f7d2c3cffbc75367a88 authored by Luke Bjerring on 28 March 2018, 14:30:14 UTC
Changes as per review
Tip revision: 5276c19
reftest-wait.js
function takeScreenshot() {
    document.documentElement.classList.remove("reftest-wait");
}

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