Closed Bug 2068933 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62380 - Add parameterized toBlob 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 62380 into mozilla-central (this bug is closed when the sync is complete).

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

Christopher Cameron <ccameron@google.com> wrote:

Add parameterized toBlob color conversion WPT test

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

Remove individual redundant toBlob tests superseded by this unified
test.

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

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

PR 62380 applied with additional changes from upstream: 397d01d8ee6d3e5dd7084c2462051d7882294760

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

Status Summary

Firefox

OK : 1[GitHub] 8[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 3
FAIL: 4[GitHub] 11[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.toBlob.convert.html [wpt.fyi]
    • Test toBlob color space preservation and conversion from a srgb canvas: FAIL
    • Test toBlob color space preservation and conversion from a srgb-linear canvas: FAIL
    • Test toBlob color space preservation and conversion from a display-p3 canvas: FAIL
    • Test toBlob 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.