blob: 89a54108c457059985e5d365c87c82a1cc4d88f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<html manifest="resources/manifest-containing-itself.manifest">
<div>This tests that a manifest can contain itself as a resource.</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);
applicationCache.addEventListener('noupdate', cached, false);
</script>
</html>
|