Closed Bug 2071452 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62631 - Prevent flood/lighting/stop-color from leaking :visited

Categories

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

task

Tracking

()

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

Ari Chivukula <arichiv@chromium.org> wrote:

Prevent flood/lighting/stop-color from leaking :visited

As demonstrated in the added tests, it was possible to use
animations/transitions to extract :visited status of links via
properties readable in JavaScript. This is disallowed per:
https://drafts.csswg.org/css-pseudo/#highlight-security

This CL splits off visited properties into their own internal records,
following the pattern for all other properties in Set/GetVisitedColor.

NO_IFTTT=No enums generated for internal entries

Skip-Clang-Tidy-Checks: google-default-arguments
Fixed: 517708426
Change-Id: I02b4862843723b5d76e391d7dcf39a001ed9af63
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8373342
Reviewed-by: Kevin Ellis \<kevers@chromium.org>
Commit-Queue: Ari Chivukula \<arichiv@chromium.org>
Auto-Submit: Ari Chivukula \<arichiv@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1696291}

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Attached file Notable wpt changes —

CI Results

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

Total 587 tests

Status Summary

Firefox

OK : 1[GitHub] 191[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-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 3[GitHub] 46[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 12834[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 13166[Gecko-linux2404-64-debug] 13167[Gecko-android-em-14-x86_64-debug-geckoview] 13168[Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug] 13169[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 13170[Gecko-windows11-64-25h2-opt]
FAIL : 1[GitHub] 1244[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 1257[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 1258[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] 1259[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
ERROR: 2

Chrome

OK : 1
PASS : 1
FAIL : 3

Safari

OK : 1
PASS : 3
FAIL : 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

(See attachment for full changes)

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

Attachment

General

Created:
Updated:
Size: