Closed Bug 2018674 Opened 9 months ago Closed 8 months ago

[wpt-sync] Sync PR 57986 - GetOrCreate the PaintCanvas after resolving the filter in beginLayer

Categories

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

task

Tracking

()

RESOLVED FIXED
150 Branch
Tracking Status
firefox150 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Jean-Philippe Gravel <jpgravel@chromium.org> wrote:

GetOrCreate the PaintCanvas after resolving the filter in beginLayer

Layer filter definition can have custom property getters, and these
getters could possibly resize the canvas. We must therefore get the
PaintCanvas after resolving the filter.

Fixed: 485677960
Change-Id: I2dd7f3d774ecfa4727e64d392b537146f8da11d0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7596012
Reviewed-by: Colin Blundell \<blundell@chromium.org>
Commit-Queue: Jean-Philippe Gravel \<jpgravel@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1588708}

Component: web-platform-tests → Graphics: Canvas2D
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 6 tests

Status Summary

Firefox

PASS : 2
FAIL : 2
TIMEOUT: 2

Chrome

PASS : 3
CRASH : 3

Safari

PASS : 2
FAIL : 2
TIMEOUT: 2

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

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