blob: 67752e6b27681e9d8976c93f464275732e34d1bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<html manifest="resources/empty.manifest">
<div>This tests that the cached event gets sent even if the manifest is empty.</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>
|