Closed Bug 1618467 Opened 8 months ago Closed 8 months ago

[wpt-sync] Sync PR 22001 - MixedContent: Add WPTs for subresource fetching from workers

Categories

(Core :: DOM: Security, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream][domsecurity-backlog])

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

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

Eriko Kurimoto <elkurin@google.com> wrote:

MixedContent: Add WPTs for subresource fetching from workers

This CL adds tests for subresource fetching from HTTP(S) scheme url
dedicated workers and shared workers.

Currently, we have subresource fetching tests from ONLY data: URL
dedicated workers and shared workers. In this CL, we improve the test
coverage by adding subresource fetching tests from HTTP(S) scheme url
workers which are more normal.

Dedicated workers inherit the parent document's CSP headers for inside
settings, so worker scripts don't need to include policyDeliveries.
On the other hand, shared workers use the CSP headers specified by
worker scripts as inside settings, so worker scripts need to include
policyDeliveries. Here, policyDeliveries means:
Content-Security-Policy: block-all-mixed-content

Bug: 1056500
Change-Id: I1881a5609a08c96f8d358e26673efac0ad70e6b2
Reviewed-on: https://chromium-review.googlesource.com/2077319
WPT-Export-Revision: 8bee96e31d6d3d9b62b2eeeb2acda97912417f5a

Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
PR 22001 applied with additional changes from upstream: 6d7f862e4afa43d45bb3f800c457e9f746cd8730
Component: DOM: Security → web-platform-tests
Product: Core → Testing
Component: web-platform-tests → DOM: Security
Product: Testing → Core
Test result changes from PR not available.
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e444034cc829
[wpt PR 22001] - MixedContent: Add WPTs for subresource fetching from workers, a=testonly
https://hg.mozilla.org/integration/autoland/rev/615472b72a74
[wpt PR 22001] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in before you can comment on or make changes to this bug.