blob: 24d035f21a67032c51cf7cc5b8e0d3a54360e79c [file] [log] [blame]
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
window.onload = 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>