Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/cachestorage/resources/iframe.html

Issue 2790143003: Cache Storage API tests: Fix WPT test bugs, remove redundant local copies (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/cachestorage/resources/iframe.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/cachestorage/resources/iframe.html b/third_party/WebKit/LayoutTests/http/tests/cachestorage/resources/iframe.html
deleted file mode 100644
index a2f1e502bb392bbdf443b7de86e730a8e6085af8..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/cachestorage/resources/iframe.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!DOCTYPE html>
-<title>ok</title>
-<script>
-window.onmessage = function(e) {
- var id = e.data.id;
- try {
- var name = 'checkallowed';
- self.caches.open(name).then(function (cache) {
- self.caches.delete(name);
- window.parent.postMessage({id: id, result: 'allowed'}, '*');
- }).catch(function(e) {
- window.parent.postMessage({id: id, result: 'denied', name: e.name, message: e.message}, '*');
- });
- } catch (e) {
- window.parent.postMessage({id: id, result: 'unexpecteddenied', name: e.name, message: e.message}, '*');
- }
-};
-</script>

Powered by Google App Engine
This is Rietveld 408576698