Closed Bug 1697402 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 27959 - CSP: Add WPT for uri-before-redirects in spv

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

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

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

CSP: Add WPT for uri-before-redirects in spv

This adds a simple Web Platform Test for Content Security Policies
checking that if a violation occurs after a redirect, the blockedURI
contained in the securitypolicyviolation event is the original request
URI (before redirects).

Bug: 932892
Change-Id: I291caa3ea6e3a0fe003e5852518365eb5db29bbb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2744042
Auto-Submit: Antonio Sartori \<antoniosartori@chromium.org>
Reviewed-by: Arthur Sonzogni \<arthursonzogni@chromium.org>
Commit-Queue: Arthur Sonzogni \<arthursonzogni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#861141}

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 1 subtests

Status Summary

Firefox

OK : 1
PASS : 1

Chrome

OK : 1
PASS : 1

Safari

TIMEOUT: 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/13a16a0e328a
[wpt PR 27959] - CSP: Add WPT for uri-before-redirects in spv, 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.