Bug
1535358 [wpt PR 15757] - ServiceWorker: Add CSP tests for eval() on ServiceWorkerGlobalScope, a=testonly
Automatic update from web-platform-tests
ServiceWorker: Add CSP tests for eval() on ServiceWorkerGlobalScope
This CL adds WPTs to make sure eval() on ServiceWorkerGlobalScope is disallowed
when `default-src` and `script-src` CSP directives are specified without
`unsafe-eval` keyword.
These tests are failing when off-the-main-thread worker script fetch is enabled
or the installed script manager is used because of https://crbug.com/940316
Bug: 937168, 940316
Change-Id: I7b02519a15aeb14c21e0b26dfad3d84014f572df
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
1514285
Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Reviewed-by: Kenichi Ishibashi <bashi@chromium.org>
Reviewed-by: Hiroshige Hayashizaki <hiroshige@chromium.org>
Cr-Commit-Position: refs/heads/master@{#639810}
--
wpt-commits:
c46639d29767585e95352e6ae2c7396aede5fbf3
wpt-pr: 15757