Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow multi-files variants to have no parameters in canvas WPT generator #50868

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Feb 21, 2025

It was already possible to have variants without parameters, but it was
only working for single-file variant layout. This CL fixed it for
multi-files, allowing tests like:

  • name: 2d.example-empty-params
    code: ctx.globalCompositeOperation = {{ variant_name }};
    variants:
    • source-over:
      source-in:
      source-out:

Change-Id: Ibf4584cb693f8e2aa2a1dc432baf303c98812cbe
Reviewed-on: https://chromium-review.googlesource.com/6227183
WPT-Export-Revision: 8079297364989c172fd4cd1f73df1f47824d1e68

It was already possible to have variants without parameters, but it was
only working for single-file variant layout. This CL fixed it for
multi-files, allowing tests like:

- name: 2d.example-empty-params
  code: ctx.globalCompositeOperation = {{ variant_name }};
  variants:
  - source-over:
    source-in:
    source-out:

Change-Id: Ibf4584cb693f8e2aa2a1dc432baf303c98812cbe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants