[wpt-sync] Sync PR 11248 - Worker: Add CSP tests for ES Modules on dedicated workers

RESOLVED FIXED in Firefox 66

Status

()

enhancement
P4
normal
RESOLVED FIXED
Last year
7 months ago

People

(Reporter: wptsync, Unassigned)

Tracking

unspecified
mozilla66
Points:
---

Firefox Tracking Flags

(firefox66 fixed)

Details

(Whiteboard: [wptsync downstream], )

Sync web-platform-tests PR 11248 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/11248
Details from upstream follow.

Hiroki Nakagawa <nhiroki@chromium.org> wrote:
>  Worker: Add CSP tests for ES Modules on dedicated workers
>  
>  Bug: 680046
>  Change-Id: I066d4b7750bbec00397466daac48e9d0a2ba70c0
>  Reviewed-on: https://chromium-review.googlesource.com/1078947
>  WPT-Export-Revision: 65cf20df6b3f3d0b5b3774fb9f7e8c87819c3b95
Component: web-platform-tests → DOM: Workers
Product: Testing → Core
Ran 1 tests and 9 subtests
OK     : 1
PASS   : 4
FAIL   : 5

New tests that have failures or other problems:
/workers/modules/dedicated-worker-import-csp.html
    script-src * directive should allow cross origin dynamic import.: FAIL
    script-src * directive should allow cross origin static import.: FAIL
    worker-src 'self' directive should not take effect on dynamic import.: FAIL
    worker-src * directive should allow cross origin static import.: FAIL
    worker-src * directive should override script-src 'self' directive and allow cross origin static import.: FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/938588f3dea7
[wpt PR 11248] - Worker: Add CSP tests for ES Modules on dedicated workers, a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/e2dc7e90f412
[wpt PR 11248] - Worker: Add CSP tests for ES Modules on dedicated workers, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/e35dd56b9bc1
[wpt PR 11248] - Update metadata, a=testonly
Flags: needinfo?(james)
https://hg.mozilla.org/mozilla-central/rev/e2dc7e90f412
https://hg.mozilla.org/mozilla-central/rev/e35dd56b9bc1
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.