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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/worker-blob-inherits-csp.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/worker-blob-inherits-csp.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/worker-blob-inherits-csp.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/worker-blob-inherits-csp.html
deleted file mode 100644
index f7d2073decc7348e148113df23e6cc340a7d07a6..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/worker-blob-inherits-csp.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <meta http-equiv="Content-Security-Policy" content="script-src 'unsafe-inline' http://127.0.0.1:8000"/>
- <script src="/resources/testharness.js"></script>
- <script src="/resources/testharnessreport.js"></script>
-</head>
-<body>
- <script>
- async_test(function () {
- var blob = new Blob([
- "try {" +
- " importScripts('http://localhost:8000/security/contentSecurityPolicy/resources/post-message.js');" +
- "} catch (err) { }" +
- "postMessage('done');"
- ]);
- var worker = new Worker(window.URL.createObjectURL(blob));
- worker.onmessage = this.step_func(function (evt) {
- this.done();
- });
- }, "Blob worker inherits CSP");
- </script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698