summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/ajax/offline/missing.html
blob: 3e4fef759dea38fa7b43b525a2e7aefaf9176d47 (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="missing.cacheManifest">
<head>
<title>missing test</title>
<script type="text/javascript">

function obsolete(evt)
{
  window.opener.ok(false, "Got an 'obsolete' event");
  window.opener.finish();
}

function error(evt) {
  window.opener.ok(true, "Got an 'error' event");
  window.opener.finish();
}

applicationCache.onobsolete = obsolete;
applicationCache.onerror = error;
</script>
</head>

<body>
<h1></h1>
</body> </html>