Closed Bug 1963036 Opened 18 days ago Closed 9 days ago

[wpt-sync] Sync PR 52191 - Return the empty string for UA-Platform-Version hint on Linux

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
140 Branch
Tracking Status
firefox140 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(2 files)

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

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

Anton Bershanskyi <bershanskyi@gmail.com> wrote:

Return the empty string for UA-Platform-Version hint on Linux

Per https://github.com/WICG/ua-client-hints/commit/56df868c6c3564461b4c0a42ea603b80fa94c8d2

Prior to this commit, UA-Platform-Version HTTP header and User-Agent
high entropy hints revealed Linux kernel version number. This
information has no legitimate use on the web and is useful only for
fingerprinting. This commit replaces real Linux version with an empty
string, matching the current specification.

Original patch proposed in
https://chromium-review.googlesource.com/c/chromium/src/+/4005183

Bug: 40245146
Change-Id: I2781aea3eac37ae71a9f3c8e85985d9ad25a45da
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6061517
Commit-Queue: Anton Bershanskyi \<bershanskyi@gmail.com>
Reviewed-by: Mike Taylor \<miketaylr@chromium.org>
Reviewed-by: Victor Tan \<victortan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1452234}

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 3 tests and 1 subtests

Status Summary

Firefox

OK : 3
FAIL: 3

Chrome

OK : 3
FAIL: 3

Safari

OK : 3
FAIL: 3

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Automatic update from web-platform-tests
Return the empty string for UA-Platform-Version hint on Linux

Per https://github.com/WICG/ua-client-hints/commit/56df868c6c3564461b4c0a42ea603b80fa94c8d2

Prior to this commit, UA-Platform-Version HTTP header and User-Agent
high entropy hints revealed Linux kernel version number. This
information has no legitimate use on the web and is useful only for
fingerprinting. This commit replaces real Linux version with an empty
string, matching the current specification.

Original patch proposed in
https://chromium-review.googlesource.com/c/chromium/src/+/4005183

Bug: 40245146
Change-Id: I2781aea3eac37ae71a9f3c8e85985d9ad25a45da
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6061517
Commit-Queue: Anton Bershanskyi <bershanskyi@gmail.com>
Reviewed-by: Mike Taylor <miketaylr@chromium.org>
Reviewed-by: Victor Tan <victortan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1452234}

--

wpt-commits: 4d8095e67bd20f37e712a3ca1da5fc10fd9a12ae
wpt-pr: 52191

Pushed by aborovova@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5df08f6654b8 [wpt PR 52191] - Return the empty string for UA-Platform-Version hint on Linux, https://hg.mozilla.org/integration/autoland/rev/43717c46ac75 [wpt PR 52191] - Update wpt metadata,
Status: NEW → RESOLVED
Closed: 9 days ago
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: