gecko/dom/tests/mochitest/ajax/offline/missing.html

25 lines
443 B
HTML

<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>