Closed Bug 2067668 Opened 3 months ago Closed 2 months ago

[wpt-sync] Sync PR 62249 - Linear PredefinedColorSpaces: Add context attributes tests

Categories

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

task

Tracking

()

RESOLVED FIXED
157 Branch
Tracking Status
firefox157 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(3 files)

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

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

Christopher Cameron <ccameron@google.com> wrote:

Linear PredefinedColorSpaces: Add context attributes tests

Add tests for getContextAttributes, and that the context's value is the
default for getImageData.

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

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Component: web-platform-tests → Graphics: Canvas2D
Product: Testing → Core
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Attached file Notable wpt changes —

CI Results

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

Total 16 tests and 13 subtests

Status Summary

Firefox

OK : 3[GitHub] 14[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 16[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
PASS: 6[GitHub] 669[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 685[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
FAIL: 45[GitHub] 603[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 651[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]

Chrome

OK : 3
PASS: 51

Safari

OK : 3
PASS: 33
FAIL: 18

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

  • /html/canvas/element/manual/context-attributes/getContextAttributes.html [wpt.fyi]
    • Test context creation attributes colorSpace: 'display-p3': FAIL
    • Test context creation attributes colorSpace: 'srgb-linear': FAIL
    • Test context creation attributes colorSpace: 'display-p3-linear': FAIL
    • Test context creation attributes desynchronized: true: FAIL
  • /html/canvas/element/manual/wide-gamut-canvas/canvas-color-space-settings.html [wpt.fyi]
    • Context undefined, ImageData undefined: FAIL linked bug:Bug 1732005
    • Context undefined, ImageData srgb: FAIL linked bug:Bug 1732005
    • Context undefined, ImageData display-p3: FAIL linked bug:Bug 1732005
    • Context undefined, ImageData srgb-linear: FAIL
    • Context undefined, ImageData display-p3-linear: FAIL
    • Context srgb, ImageData undefined: FAIL linked bug:Bug 1732005
    • Context srgb, ImageData srgb: FAIL linked bug:Bug 1732005
    • Context srgb, ImageData display-p3: FAIL linked bug:Bug 1732005
    • Context srgb, ImageData srgb-linear: FAIL
    • Context srgb, ImageData display-p3-linear: FAIL
    • Context display-p3, ImageData undefined: FAIL linked bug:Bug 1732005
    • Context display-p3, ImageData srgb: FAIL linked bug:Bug 1732005
    • Context display-p3, ImageData display-p3: FAIL linked bug:Bug 1732005
    • Context display-p3, ImageData srgb-linear: FAIL
    • Context display-p3, ImageData display-p3-linear: FAIL
    • Context srgb-linear, ImageData undefined: FAIL
    • Context srgb-linear, ImageData srgb: FAIL
    • Context srgb-linear, ImageData display-p3: FAIL
    • Context srgb-linear, ImageData srgb-linear: FAIL
    • Context srgb-linear, ImageData display-p3-linear: FAIL
    • Context display-p3-linear, ImageData undefined: FAIL
    • Context display-p3-linear, ImageData srgb: FAIL
    • Context display-p3-linear, ImageData display-p3: FAIL
    • Context display-p3-linear, ImageData srgb-linear: FAIL
    • Context display-p3-linear, ImageData display-p3-linear: FAIL

(See attachment for full changes)

Attached file Notable wpt changes —

CI Results

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

Total 16 tests and 13 subtests

Status Summary

Firefox

OK : 3[GitHub] 14[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 16[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
PASS: 6[GitHub] 669[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 685[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
FAIL: 45[GitHub] 603[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 651[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]

Chrome

OK : 3
PASS: 51

Safari

OK : 3
PASS: 33
FAIL: 18

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

  • /html/canvas/element/manual/context-attributes/getContextAttributes.html [wpt.fyi]
    • Test context creation attributes colorSpace: 'display-p3': FAIL
    • Test context creation attributes colorSpace: 'srgb-linear': FAIL
    • Test context creation attributes colorSpace: 'display-p3-linear': FAIL
    • Test context creation attributes desynchronized: true: FAIL
  • /html/canvas/element/manual/wide-gamut-canvas/canvas-color-space-settings.html [wpt.fyi]
    • Context undefined, ImageData undefined: FAIL linked bug:Bug 1732005
    • Context undefined, ImageData srgb: FAIL linked bug:Bug 1732005
    • Context undefined, ImageData display-p3: FAIL linked bug:Bug 1732005
    • Context undefined, ImageData srgb-linear: FAIL
    • Context undefined, ImageData display-p3-linear: FAIL
    • Context srgb, ImageData undefined: FAIL linked bug:Bug 1732005
    • Context srgb, ImageData srgb: FAIL linked bug:Bug 1732005
    • Context srgb, ImageData display-p3: FAIL linked bug:Bug 1732005
    • Context srgb, ImageData srgb-linear: FAIL
    • Context srgb, ImageData display-p3-linear: FAIL
    • Context display-p3, ImageData undefined: FAIL linked bug:Bug 1732005
    • Context display-p3, ImageData srgb: FAIL linked bug:Bug 1732005
    • Context display-p3, ImageData display-p3: FAIL linked bug:Bug 1732005
    • Context display-p3, ImageData srgb-linear: FAIL
    • Context display-p3, ImageData display-p3-linear: FAIL
    • Context srgb-linear, ImageData undefined: FAIL
    • Context srgb-linear, ImageData srgb: FAIL
    • Context srgb-linear, ImageData display-p3: FAIL
    • Context srgb-linear, ImageData srgb-linear: FAIL
    • Context srgb-linear, ImageData display-p3-linear: FAIL
    • Context display-p3-linear, ImageData undefined: FAIL
    • Context display-p3-linear, ImageData srgb: FAIL
    • Context display-p3-linear, ImageData display-p3: FAIL
    • Context display-p3-linear, ImageData srgb-linear: FAIL
    • Context display-p3-linear, ImageData display-p3-linear: FAIL

(See attachment for full changes)

Attached file Notable wpt changes —

CI Results

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

Total 16 tests and 13 subtests

Status Summary

Firefox

OK : 3[GitHub] 14[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 16[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
PASS: 6[GitHub] 669[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 685[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
FAIL: 45[GitHub] 603[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 651[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]

Chrome

OK : 3
PASS: 51

Safari

OK : 3
PASS: 33
FAIL: 18

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

  • /html/canvas/element/manual/context-attributes/getContextAttributes.html [wpt.fyi]
    • Test context creation attributes colorSpace: 'display-p3': FAIL
    • Test context creation attributes colorSpace: 'srgb-linear': FAIL
    • Test context creation attributes colorSpace: 'display-p3-linear': FAIL
    • Test context creation attributes desynchronized: true: FAIL
  • /html/canvas/element/manual/wide-gamut-canvas/canvas-color-space-settings.html [wpt.fyi]
    • Context undefined, ImageData undefined: FAIL linked bug:Bug 1732005
    • Context undefined, ImageData srgb: FAIL linked bug:Bug 1732005
    • Context undefined, ImageData display-p3: FAIL linked bug:Bug 1732005
    • Context undefined, ImageData srgb-linear: FAIL
    • Context undefined, ImageData display-p3-linear: FAIL
    • Context srgb, ImageData undefined: FAIL linked bug:Bug 1732005
    • Context srgb, ImageData srgb: FAIL linked bug:Bug 1732005
    • Context srgb, ImageData display-p3: FAIL linked bug:Bug 1732005
    • Context srgb, ImageData srgb-linear: FAIL
    • Context srgb, ImageData display-p3-linear: FAIL
    • Context display-p3, ImageData undefined: FAIL linked bug:Bug 1732005
    • Context display-p3, ImageData srgb: FAIL linked bug:Bug 1732005
    • Context display-p3, ImageData display-p3: FAIL linked bug:Bug 1732005
    • Context display-p3, ImageData srgb-linear: FAIL
    • Context display-p3, ImageData display-p3-linear: FAIL
    • Context srgb-linear, ImageData undefined: FAIL
    • Context srgb-linear, ImageData srgb: FAIL
    • Context srgb-linear, ImageData display-p3: FAIL
    • Context srgb-linear, ImageData srgb-linear: FAIL
    • Context srgb-linear, ImageData display-p3-linear: FAIL
    • Context display-p3-linear, ImageData undefined: FAIL
    • Context display-p3-linear, ImageData srgb: FAIL
    • Context display-p3-linear, ImageData display-p3: FAIL
    • Context display-p3-linear, ImageData srgb-linear: FAIL
    • Context display-p3-linear, ImageData display-p3-linear: FAIL

(See attachment for full changes)

Test result changes from PR not available.

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

Attachment

General

Created:
Updated:
Size: