Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/service-worker-blocked-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/service-worker-blocked-expected.txt b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/service-worker-blocked-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c13ecd8b5cb514b03dcf12573b424914e04f3ca7 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/service-worker-blocked-expected.txt |
@@ -0,0 +1,6 @@ |
+CONSOLE ERROR: Refused to create a child context containing 'http://127.0.0.1:8000/security/contentSecurityPolicy/resources/service-worker.js' because it violates the following Content Security Policy directive: "child-src 'none'". |
+ |
+This is a testharness.js-based test. |
+PASS Test that a service worker cannot be registered if the CSP does not allow it |
+Harness: the test ran to completion. |
+ |