Index: LayoutTests/http/tests/cachestorage/resources/iframe.html |
diff --git a/LayoutTests/http/tests/cachestorage/resources/iframe.html b/LayoutTests/http/tests/cachestorage/resources/iframe.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f4f418b8ddb44e1a95afe126a9023b31b79592bd |
--- /dev/null |
+++ b/LayoutTests/http/tests/cachestorage/resources/iframe.html |
@@ -0,0 +1,13 @@ |
+<!DOCTYPE html> |
+<title>ok</title> |
+<script> |
+window.onmessage = function(e) { |
+ var id = e.data.id; |
+ try { |
+ self.caches; |
+ window.parent.postMessage({id: id, result: 'allowed'}, '*'); |
+ } catch (e) { |
+ window.parent.postMessage({id: id, result: 'denied', name: e.name, message: e.message}, '*'); |
+ } |
+}; |
+</script> |