<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.layoutTestController) { | |
layoutTestController.dumpAsText() | |
layoutTestController.waitUntilDone(); | |
} | |
function cached() | |
{ | |
document.getElementById('result').innerHTML = 'SUCCESS'; | |
if (window.layoutTestController) | |
layoutTestController.notifyDone(); | |
} | |
applicationCache.addEventListener('cached', cached, false); | |
</script> | |
</html> |