summaryrefslogtreecommitdiffstats
path: root/LayoutTests/http/tests/appcache/manifest-with-empty-file.html
blob: b9ae0514eba57bfdc57394fa3b56f83c526dc26e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<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>