Closed Bug 1835686 Opened 1 years ago Closed 1 year ago

[wpt-sync] Sync PR 40290 - Add a canvas_type param that can be used by Jinja templates.

Categories

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

task

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

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

Add a canvas_type param that can be used by Jinja templates.

This allows the template to know that canvas type the test is being
rendered for. For instance, templates can now do:
{% if canvas_type == 'htmlcanvas' %}

For this change to work, the rendering of the code has to be moved
to a latter point, after the canvas_type is known and added to the
params.

Change-Id: I10345785b14bfe5c62bc848098a23c9f9806ee24
Bug: 1275750
Reviewed-on: https://chromium-review.googlesource.com/4567565
WPT-Export-Revision: 458afc47de85d2eb079a222681b43f962b5924f3

Whiteboard: [wptsync downstream] → [wptsync downstream error]
PR 40290 applied with additional changes from upstream: 61df589280a49b4acd3c2cf92a95175f2733d5c5, fd4ee08a695cd64108f6aeb618df1dc26661bdf0, bf54d7cc0f0cdf30335402582552fce91e7ce4f0, 4b7da9c13ee7033e399c8db2ae9dfc6dc51ff0a1, 75d8cf5e76866b2f579e3ddcd1816cde4575b01c, 42b04adfa9dd650eb366c77d81ce76fffc7cf114
Component: web-platform-tests → Graphics: Canvas2D
Product: Testing → Core
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues
Test result changes from PR not available.
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/73256d5ad8c8 [wpt PR 40290] - Add a canvas_type param that can be used by Jinja templates., a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.