Closed Bug 1705834 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 28556 - Adding toBlob and toDataURL tests for p3 colorspace

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Yi Xu <yiyix@chromium.org>' wrote:

Adding toBlob and toDataURL tests for p3 colorspace

Adding toBlob and toDataURL tests for p3 colorspace, which does the
following:

  • create a p3 canvas, draw some image
  • getImageData from the p3 canvas
  • call toBlob/toDataURL and asking for data in p3 format
  • compare if result of toBlob/toDataURL is same as the result from
    getImageData from step 2

Bug:1178707
Change-Id: I5b5caf8321841977f4e212b3577c89496d92bb6b
Reviewed-on: https://chromium-review.googlesource.com/2832392
WPT-Export-Revision: c3ee37f58de7b00e6ea3b1a893ac75c7b536b119

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

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

Total 6 tests and 1 subtests

Status Summary

Firefox

OK : 6
PASS: 3
FAIL: 3

Chrome

OK : 6
PASS: 6

Safari

OK : 6
PASS: 3
FAIL: 3

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/html/canvas/offscreen/manual/wide-gamut-canvas/2d.color.space.p3.convertToBlobp3.canvas.html
test if toblob returns p3 data from p3 color space canvas: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/offscreen/wide-gamut-canvas/2d.color.space.p3.to.srgb.html
test getImageData with srsb and uint8 from display p3 uint8 canvas: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/offscreen/wide-gamut-canvas/2d.color.space.p3.to.srgb.worker.html
test getImageData with srsb and uint8 from display p3 uint8 canvas: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7822b09190f2 [wpt PR 28556] - Adding toBlob and toDataURL tests for p3 colorspace, a=testonly https://hg.mozilla.org/integration/autoland/rev/a0d27d72462f [wpt PR 28556] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in before you can comment on or make changes to this bug.