Closed Bug 1697395 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 27898 - CSP: Add WPT for inheritance on window.open

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 27898 into mozilla-central (this bug is closed when the sync is complete).

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

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

CSP: Add WPT for inheritance on window.open

This change adds Web Platform Tests checking that Content Security
Policies are correctly inherited from the navigation initiator when a
popup is navigated via window.open() to "about:blank".

Bug: 1149272
Change-Id: I12154466d6d8fc3a620f585cfabaa6a0b5fcfa98
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2735814
Reviewed-by: Arthur Sonzogni \<arthursonzogni@chromium.org>
Commit-Queue: Antonio Sartori \<antoniosartori@chromium.org>
Cr-Commit-Position: refs/heads/master@{#861089}

Component: web-platform-tests → DOM: Security
Product: Testing → Core

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
PASS: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/172da31ce8ea
[wpt PR 27898] - CSP: Add WPT for inheritance on window.open, 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.