<html manifest="resources/empty.manifest"> | |
<div>This tests that the cached event gets sent even if the manifest is empty.</div> | |
<div id="result">FAILURE</div> | |
<script> | |
if (window.testRunner) { | |
testRunner.dumpAsText() | |
testRunner.waitUntilDone(); | |
} | |
function cached() | |
{ | |
document.getElementById('result').innerHTML = 'SUCCESS'; | |
if (window.testRunner) | |
testRunner.notifyDone(); | |
} | |
applicationCache.addEventListener('cached', cached, false); | |
</script> | |
</html> |