<html> | |
<iframe id="test"></iframe> | |
<div id="result"></div> | |
<script> | |
if (window.testRunner) | |
{ | |
testRunner.dumpAsText(); | |
testRunner.waitUntilDone(); | |
} | |
function runTest() | |
{ | |
document.getElementById("test").src = "resources/request-existent-eventsource-error.html"; | |
} | |
function finish() | |
{ | |
document.body.removeChild(document.getElementById("test")); | |
document.getElementById("result").innerHTML = "PASS"; | |
if (window.testRunner) | |
testRunner.notifyDone(); | |
} | |
runTest(); | |
</script> | |
<html> |