summaryrefslogtreecommitdiffstats
path: root/LayoutTests/http/tests/appcache/resources/origins-with-appcache-iframe.html
blob: 92cf1ffe6ba5034ebdf5c65d9183d6bee2ed1009 (plain)
1
2
3
4
5
6
7
8
9
<html manifest="origins-with-appcache-iframe.manifest">
<script>
// iframe-1 is expected to succeed.
applicationCache.oncached = function() { parent.postMessage("created_cache", "*"); };
applicationCache.onerror = function() { parent.postMessage("FAIL - error caching iframe, expected this to succeed", "*"); };
applicationCache.onnoupdate = function() { parent.postMessage("FAIL - no update iframe, all caches should have been deleted before this test", "*"); };

</script>
</html>