summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/common/reftest-wait.js
blob: 87816f8345225dee5320a02f97954455713e3c78 (plain)
1
2
3
4
5
6
7
8
9
function takeScreenshot() {
    document.documentElement.classList.remove("reftest-wait");
}

function takeScreenshotDelayed(timeout) {
    setTimeout(function() {
        takeScreenshot();
    }, timeout);
}