[wpt-sync] Sync PR 47996 - Moved param initialization into finalize() in the Canvas WPT generator
Categories
(Core :: Graphics: Canvas2D, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox132 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 47996 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/47996
Details from upstream follow.
Jean-Philippe Gravel <jpgravel@chromium.org> wrote:
Moved param initialization into finalize() in the Canvas WPT generator
Before this CL, the variant grid's params was initialized the first
time the grid'sparams
property was used. This implicit
initialization was confusing because it meant we had to first use
params
at the exact right time. Using it too soon was a bug (before
the variant'sexpected_img
param is configured for instance).This CL moves the grid's param creation into the
finalize()
method,
removing this confusion.Bug: 364549423
Change-Id: I00bee16fe9f2d8ab13f5b05b49b511ffa642e746
Reviewed-on: https://chromium-review.googlesource.com/5836568
WPT-Export-Revision: 45b13c1ae7758451d59514f929780e2bc41c14fb
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Comment 3•11 months ago
|
||
Comment 4•11 months ago
|
||
bugherder |
Description
•