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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/service-worker-blocked-expected.txt

Issue 2480303002: CSP3: Implement 'worker-src'. (Closed)
Patch Set: feedback Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
1 CONSOLE ERROR: line 9: Refused to create a child context containing 'http://127. 0.0.1:8000/security/contentSecurityPolicy/resources/service-worker.js' because i t violates the following Content Security Policy directive: "child-src 'none'". 1 CONSOLE ERROR: line 9: Refused to create a worker from 'http://127.0.0.1:8000/se curity/contentSecurityPolicy/resources/service-worker.js' because it violates th e following Content Security Policy directive: "child-src 'none'".
2 2
3 This is a testharness.js-based test. 3 This is a testharness.js-based test.
4 PASS Test that a service worker cannot be registered if the CSP does not allow i t 4 PASS Test that a service worker cannot be registered if the CSP does not allow i t
5 Harness: the test ran to completion. 5 Harness: the test ran to completion.
6 6
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698