• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html manifest="resources/manifest-with-empty-file.manifest">
2<div>This tests that a manifest that contains an empty file will not crash the browser.</div>
3<div id="result">FAILURE</div>
4<script>
5if (window.layoutTestController) {
6    layoutTestController.dumpAsText();
7    layoutTestController.waitUntilDone();
8}
9
10function cached()
11{
12    document.getElementById('result').innerHTML = 'SUCCESS';
13    if (window.layoutTestController)
14        layoutTestController.notifyDone();
15}
16
17applicationCache.addEventListener('cached', cached, false);
18
19</script>
20
21</html>
22