blob: 19abb3d6bf3ca751fd5efd8236b9d95a8a49560a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<!DOCTYPE HTML>
<html manifest="../resources/manifest/clock.manifest">
<head>
<title>Offline Application Cache - Event_error</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<ol>
<li>Add a dummy file in the manifest file (manifest/clock.manifest).</li>
<li>Refresh the page.</li>
</ol>
<div id="log"></div>
<script>
var t = async_test("error event test");
var cache = window.applicationCache;
cache.onerror = t.done();
</script>
</body>
</html>
|