if (window.testRunner)
testRunner.waitUntilDone();
-setTimeout(function() {
+window.onload = function() {
if (location.hash == '#done') {
document.write('PASS');
if (window.testRunner) {
location.hash = 'done';
window.location.reload();
}
-}, 0);
+}
</script>
</html>