blob: b9ae0514eba57bfdc57394fa3b56f83c526dc26e [file] [log] [blame]
<html manifest="resources/manifest-with-empty-file.manifest">
<div>This tests that a manifest that contains an empty file will not crash the browser.</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>