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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/service-worker-blocked.html

Issue 2533313002: CSP: Move 'worker-src' onto 'script-src' (Closed)
Patch Set: WPT. 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/security/contentSecurityPolicy/service-worker-blocked.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/service-worker-blocked.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/service-worker-blocked.html
deleted file mode 100644
index ba630374160037b637e9a76b263334e867d7d960..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/service-worker-blocked.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<meta http-equiv="Content-Security-Policy" content="child-src 'none';">
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
-<script>
- var t = async_test('Test that a service worker cannot be registered if the CSP does not allow it');
- navigator.serviceWorker.register("resources/service-worker.js").then(function (registration) {
- }).catch(function (error) {
- t.done();
- });
-</script>
-</head>
-<body>

Powered by Google App Engine
This is Rietveld 408576698