• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html manifest="resources/manifest-containing-itself.manifest">
2
3<div>This tests that a manifest can contain itself as a resource.</div>
4<div id="result">FAILURE</div>
5
6<script>
7if (window.layoutTestController) {
8    layoutTestController.dumpAsText()
9    layoutTestController.waitUntilDone();
10}
11
12function cached()
13{
14    document.getElementById('result').innerHTML = 'SUCCESS';
15
16    if (window.layoutTestController)
17        layoutTestController.notifyDone();
18}
19
20applicationCache.addEventListener('cached', cached, false);
21applicationCache.addEventListener('noupdate', cached, false);
22
23</script>
24</html>
25