summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/fetch/metadata/resources/appcache-iframe.sub.html
blob: cea9a4feaec4d7fcbf4ec977a6657ab16d67e2d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<html lang="en" manifest="{{GET[manifest]}}">
<script>
if (!window.applicationCache) {
  parent.postMessage('application cache not supported');
} else {
  applicationCache.onnoupdate =
    applicationCache.ondownloading =
    applicationCache.onobsolete =
    applicationCache.onerror = function() {
      parent.postMessage('okay');
    };
}
</script>
</html>