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

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

Issue 1861253004: Check CSP before registering ServiceWorkers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
OLDNEW
(Empty)
1 CONSOLE ERROR: Refused to create a child context containing 'http://127.0.0.1:80 00/security/contentSecurityPolicy/resources/service-worker.js' because it violat es the following Content Security Policy directive: "child-src 'none'".
2
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
5 Harness: the test ran to completion.
6
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698