blob: 90e72255caa9885bfee5f31c5f9098ba0994d0d9 [file] [log] [blame]
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
window.onload = function() {
setTimeout(function() {
window.addEventListener('hashchange', function() {
document.body.appendChild(document.createTextNode(history.state == "FAIL" ? "FAIL" : "PASS"));
if (window.testRunner)
testRunner.notifyDone();
});
history.replaceState("FAIL", null);
location.href = "#test";
}, 0);
}
</script>