https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 1ae79efc01b050c482d7875c652c6577d735f324 authored by Boris Zbarsky on 28 March 2018, 19:09:05 UTC
part 2. Add a bunch of web platform tests for load and error events on stylesheet links.
Tip revision: 1ae79ef
reftest-wait.js
function takeScreenshot() {
    document.documentElement.classList.remove("reftest-wait");
}

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