Closed Bug 2072402 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62711 - [css-animation]: Fix tracking of attr-taint

Categories

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

task

Tracking

()

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

Kevin Ellis <kevers@google.com> wrote:

[css-animation]: Fix tracking of attr-taint

Attr-taint was being tracked in CSSInterpolationEnvironment and in
CSSDefaultInterpolationValue, for transition and non-transition cases,
respectively. For CSS Animations, the taint may be caught after
creating of the environment and passing as a const reference to the
interpolation code. In addition, the signature of the resolve method
suggests the same environment may be shared. It was not, and this is
now clarified by baking the PropertyHandle into the environment.
Whether the value is tainted or not is now stored directly in the
interpolation value. This addresses both constness of the environment
and consolidation of the code paths.

Thanks to Yoshisato Yanagisawa for the prototype patch, which served
as a basis for this patch including tests.

Bug: 537109293
Change-Id: Ie5ced2263c5bc64a333ba47422e3552c3a965afa

Reviewed-on: https://chromium-review.googlesource.com/8405230
WPT-Export-Revision: 27b0498b4a9a09d9295f66a0d74c5b5c824e5450

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 514 tests and 8 subtests

Status Summary

Firefox

OK : 1[GitHub] 279[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 : 6[GitHub] 22[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 5831[Gecko-windows11-32-25h2-opt] 6079[Gecko-windows11-32-25h2-debug] 6230[Gecko-windows11-64-25h2-debug] 6231[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-opt] 6244[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]
FAIL : 4321[Gecko-windows11-32-25h2-debug] 4367[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] 4382[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 4569[Gecko-windows11-32-25h2-opt]
TIMEOUT: 1

Chrome

OK : 1
PASS : 2
FAIL : 4

Safari

OK : 1
PASS : 6

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: