DescriptionCheck CSP before registering ServiceWorkers
Service Worker registrations should be subject to the same CSP checks as
other workers. The spec doesn't say this explicitly
(https://www.w3.org/TR/CSP2/#directive-child-src-workers says "Worker or
SharedWorker constructors"), but it seems to be in the spirit of things,
and it matches Firefox's behavior.
BUG=579801
Committed: https://crrev.com/5289a5d4c98681e9a0f2d28da0c7aa35e282db57
Cr-Commit-Position: refs/heads/master@{#385775}
Patch Set 1 #
Messages
Total messages: 12 (3 generated)
|