Closed Bug 1981566 Opened 6 months ago Closed 6 months ago

[wpt-sync] Sync PR 54175 - [gap-decorations] Fix underlying GapDataListInterpolationType Checkers

Categories

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

task

Tracking

()

RESOLVED FIXED
143 Branch
Tracking Status
firefox143 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Javier Contreras Tenorio <javiercon@microsoft.com> wrote:

[gap-decorations] Fix underlying GapDataListInterpolationType Checkers

This CL fixes the Underlying checkers for both GapLengthList and
GapColorList. Other InterpolationTypes (such as LengthList and Color)
don't use these either for MaybeConvertNeutral, and they were leading
to some fuzzer crashes since Equals() are marked as NOTREACHED in
BaseInterpolableColor and InterpolableLength.

The way we fix these is by making the IsValid check to simply check
that the lengths match and that he values in the lists are compatible.

Bug: 357648037
Fixed: 432924205,431949988
Change-Id: I50d0157b5514c80b0cc1b2673faf0536782007f4
Reviewed-on: https://chromium-review.googlesource.com/6777697
WPT-Export-Revision: c084b5bf12d70a18d7d783b9807e0cc68a3d98a7

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

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

Total 5 tests

Status Summary

Firefox

OK : 4
PASS : 1
FAIL : 4

Chrome

OK : 2
PASS : 2
CRASH: 3

Safari

OK : 4
PASS : 1
FAIL : 4

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

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