[wpt-sync] Sync PR 15757 - ServiceWorker: Add CSP tests for eval() on ServiceWorkerGlobalScope
Categories
(Testing :: web-platform-tests, enhancement, P4)
Tracking
(firefox68 fixed)
| Tracking | Status | |
|---|---|---|
| firefox68 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 15757 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/15757
Details from upstream follow.
Hiroki Nakagawa <nhiroki@chromium.org> wrote:
ServiceWorker: Add CSP tests for eval() on ServiceWorkerGlobalScope
This CL adds WPTs to make sure eval() on ServiceWorkerGlobalScope is disallowed
whendefault-srcandscript-srcCSP directives are specified without
unsafe-evalkeyword.These tests are failing when off-the-main-thread worker script fetch is enabled
because of https://crbug.com/940316Bug: 937168, 940316
Change-Id: I7b02519a15aeb14c21e0b26dfad3d84014f572dfReviewed-on: https://chromium-review.googlesource.com/1514285
WPT-Export-Revision: 3fe4744024e385f3a7ce2431171a43e566b0ca7b
| Assignee | ||
Comment 1•7 years ago
|
||
| Assignee | ||
Comment 2•7 years ago
|
||
| Assignee | ||
Comment 3•7 years ago
|
||
Comment 5•7 years ago
|
||
| bugherder | ||
Description
•