Closed Bug 2068968 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62393 - Add parameterized toDataURL color conversion WPT test

Categories

(Core :: Graphics: Canvas2D, task, P4)

task

Tracking

()

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Christopher Cameron <ccameron@google.com> wrote:

Add parameterized toDataURL color conversion WPT test

Use the same parameter set and test pattern as the getImageData tests.

Remove individual redundant toDataURL tests superseded by this unified
test.

TAG=agy
CONV=3da4bac4-8ad7-46e9-969f-5aa84b7a5620

Bug: 454152417
Change-Id: Ic2be8b406008168419241eef199e16a3ffbbc969
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8314209
Reviewed-by: Philip Rogers \<pdr@chromium.org>
Commit-Queue: ccameron chromium \<ccameron@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1690327}

PR 62393 applied with additional changes from upstream: 397d01d8ee6d3e5dd7084c2462051d7882294760, 13a6aa64b41cdbac83569ba7665f3a81e658fc4d

Component: web-platform-tests → Graphics: Canvas2D
Product: Testing → Core

CI Results

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

Total 6 tests and 4 subtests

Status Summary

Firefox

OK : 1[GitHub] 6[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 4[GitHub] 15[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

OK : 1
PASS: 4

Safari

OK : 1
PASS: 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

  • /html/canvas/element/wide-gamut-canvas/2d.color.space.toDataURL.convert.html [wpt.fyi]
    • Test toDataURL color space preservation and conversion from a srgb canvas: FAIL
    • Test toDataURL color space preservation and conversion from a srgb-linear canvas: FAIL
    • Test toDataURL color space preservation and conversion from a display-p3 canvas: FAIL
    • Test toDataURL color space preservation and conversion from a display-p3-linear canvas: FAIL

New Tests That Don't Pass

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.