Closed Bug 1695657 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 27835 - CSP: Add WPTs for inheritance to blob URLs

Categories

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

task

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

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

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

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

b'Antonio Sartori <antoniosartori@chromium.org>' wrote:

CSP: Add WPTs for inheritance to blob URLs

This CL adds Web Platform Tests checking that we correctly inherit
Content Security Policy from the navigation initiator if a
cross-origin child frame navigates the top frame to a blob URL.

The test is currently failing, but will be fixed by
https://crrev.com/c/2667858.

Bug: 1115628,1149272
Change-Id: I3214333f61eb48542b0ba6712cfb58ee0342f796
Reviewed-on: https://chromium-review.googlesource.com/2721995
WPT-Export-Revision: 6e8fac5e9447e754778d13cbcc166ac5b0a6e212

Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]

CI Results

Ran 15 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 2 subtests

Status Summary

Firefox

OK : 1
PASS: 2

Chrome

OK : 1
PASS: 1
FAIL: 1

Safari

OK : 1
FAIL: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a99d0b6920f7
[wpt PR 27835] - CSP: Add WPTs for inheritance to blob URLs, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.