<head> | |
<script> | |
if (window.testRunner) { | |
testRunner.dumpAsText(); | |
testRunner.waitUntilDone(); | |
} | |
function test() { | |
document.write("Should say SUCCESS:<p>SUCCESS"); | |
setTimeout("testRunner.notifyDone()", 1); | |
} | |
</script> | |
</head> | |
<body onload="test()"> | |
</body> |