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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-csp-iframe.html

Issue 2805313003: Upstream service worker `fetch` tests to WPT (Closed)
Patch Set: Created 3 years, 8 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/serviceworker/resources/fetch-csp-iframe.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-csp-iframe.html b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-csp-iframe.html
deleted file mode 100644
index 33bf0416d5856da3f894468d39457ea7bf58a359..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-csp-iframe.html
+++ /dev/null
@@ -1,16 +0,0 @@
-<script>
-var meta = document.createElement('meta');
-meta.setAttribute('http-equiv', 'Content-Security-Policy');
-meta.setAttribute('content', decodeURIComponent(location.search.substring(1)));
-document.head.appendChild(meta);
-
-function load_image(url) {
- return new Promise(function(resolve, reject) {
- var img = document.createElement('img');
- document.body.appendChild(img);
- img.onload = resolve;
- img.onerror = reject;
- img.src = url;
- });
-}
-</script>

Powered by Google App Engine
This is Rietveld 408576698