https://github.com/web-platform-tests/wpt
Raw File
Tip revision: bf540583adfc6640f9275d937a58302df1391d82 authored by Domenic Denicola on 15 September 2016, 17:21:50 UTC
Update and add tests for navigation during unload
Tip revision: bf54058
reftest-wait.js
function takeScreenshot() {
    document.documentElement.classList.remove("reftest-wait");
}

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