Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / http / tests / appcache / resources / obsolete-error-events-frame.html
1 <html manifest="fail-on-update.php">
2 <script>
3
4 applicationCache.addEventListener('obsolete', function(e) {
5     window.parent.postMessage({
6         type: e.type
7     }, '*');
8 });
9
10 applicationCache.addEventListener('error', function(e) {
11     window.parent.postMessage({
12         type: e.type,
13         reason: e.reason,
14         url: e.url,
15         status: e.status
16     }, '*');
17 });
18 </script>
19 </html>