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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/require-sri-for/sri-sharedworker.js

Issue 2056183002: Implement the `require-sri-for` CSP directive (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated tests Created 4 years, 5 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/require-sri-for/sri-sharedworker.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/clients-matchall-client-types-shared-worker.js b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/require-sri-for/sri-sharedworker.js
similarity index 57%
copy from third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/clients-matchall-client-types-shared-worker.js
copy to third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/require-sri-for/sri-sharedworker.js
index 1ae72fb894453f1bbe847d239647614c45f18ce2..5c9a61ea269334cad0e28c3037c9996312308a53 100644
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/clients-matchall-client-types-shared-worker.js
+++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/require-sri-for/sri-sharedworker.js
@@ -1,4 +1,5 @@
onconnect = function(e) {
var port = e.ports[0];
- port.postMessage('started');
-};
+ port.postMessage("shared ping");
+}
+

Powered by Google App Engine
This is Rietveld 408576698