blob: 67752e6b27681e9d8976c93f464275732e34d1bf [file] [log] [blame]
<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>