Closed Bug 1921577 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 48367 - Make the "size" parameter a tuple in the canvas WPT generator config

Categories

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

task

Tracking

()

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

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

Make the "size" parameter a tuple in the canvas WPT generator config

This makes the size property hashable, which makes it possible to do
self._unique_param('size') to get the size of the canvases in a
variant grid and make sure all variant uses the same canvas size.
YAML doesn't support tuple natively, so the property needs to be
manually converted to a tuple.

Bug: 364549423
Change-Id: I55540ff39807b6af851d629008a50f257eeda645
Reviewed-on: https://chromium-review.googlesource.com/5894511
WPT-Export-Revision: 6a3629049615ec03d5c07c71a956d17bab16843a

Component: web-platform-tests → Graphics: Canvas2D
Product: Testing → Core
The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f3c6580c63af [wpt PR 48367] - Make the "size" parameter a tuple in the canvas WPT generator config, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
You need to log in before you can comment on or make changes to this bug.