https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 8f1ef70886a1443ccd9980448031c88a44c3faea authored by Ben Pastene on 13 April 2018, 17:03:33 UTC
Revert "Reland: Use PostTask to schedule cross-process postMessage forwarding."
Tip revision: 8f1ef70
reftest-wait.html
<!DOCTYPE html>
<html class="reftest-wait">
<title>Test infrastructure should support 'reftest-wait'</title>
<link rel="match" href="reftest-wait-ref.html">
<style>
.marker {
    margin-bottom: 10px;
    background: red;
    height: 50px;
    width: 50px;
}
</style>
<script>
setTimeout(function() {
    document.querySelector(".marker").style.background = 'green';
    document.documentElement.classList.remove("reftest-wait");
}, 1000);
</script>
<div class="marker"></div>
<div>The box above should be green.</div>
</html>
back to top