blob: 1be9eaa28949d7166ae51bcda4a8ca86d4e7d33f [file] [log] [blame]
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function logFailure() {
document.getElementById("console").innerHTML = "FAIL";
}
function finishTest() {
if (window.testRunner)
testRunner.notifyDone();
}
</script>
<div id="console">PASS</div>
<embed name="plugin" src="resources/test.testnetscape" type="application/x-non-existent">
<script>
if (plugin.testCallback)
plugin.testCallback("logFailure");
finishTest();
</script>