Closed Bug 2024834 Opened 2 months ago Closed 1 month ago

[wpt-sync] Sync PR 58627 - [Connection-Allowlist] Implement "redirects=" param for navigations.

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox151 fixed)

RESOLVED FIXED
151 Branch
Tracking Status
firefox151 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Andrew Verge <averge@chromium.org> wrote:

[Connection-Allowlist] Implement "redirects=" param for navigations.

Previously, we blocked all redirects for navigations when a Connection
Allowlist header was enforced. We decided to use a global header param
called redirects= instead. When the value of the param is "allow",
navigations for redirects will be allowed regardless of destination.
When the value is "block", redirects will be blocked regardless of the
destination.

A follow-up CL will implement this same logic for subresource fetch
redirects.

Bug: 492439215
Change-Id: I2f9de6c9a8f9746b2f7f5206e9476709145b77d5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7667118
Commit-Queue: Andrew Verge \<averge@chromium.org>
Reviewed-by: Shivani Sharma \<shivanisha@chromium.org>
Reviewed-by: Alex Moshchuk \<alexmos@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1602209}

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 21 tests and 7 subtests

Status Summary

Firefox

OK : 3[GitHub] 21[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt]
PASS: 2[GitHub] 49[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt]
FAIL: 7[GitHub] 71[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt]

Chrome

OK : 3
PASS: 2
FAIL: 7

Safari

OK : 3
PASS: 2
FAIL: 7

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch
You need to log in before you can comment on or make changes to this bug.