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

Add missing api.OffscreenCanvas.getContext.webgpu_context feature #21435

Conversation

queengooborg
Copy link
Collaborator

This PR is a part of a project to add missing interfaces and interface features to BCD that are from an active spec (including WICG specs) and is supported in at least one browser. This particular PR adds the missing getContext.webgpu_context member of the OffscreenCanvas API. The data was mirrored from api.HTMLCanvasElement.getContext.webgpu_context. This fixes #9815.

This PR is a part of a project to add missing interfaces and interface features to BCD that are from an active spec (including WICG specs) and is supported in at least one browser. This particular PR adds the missing `getContext.webgpu_context` member of the `OffscreenCanvas` API. The data was mirrored from api.HTMLCanvasElement.getContext.webgpu_context.  This fixes mdn#9815.
@queengooborg queengooborg added the data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Dec 3, 2023
@Elchi3 Elchi3 merged commit f3e329d into mdn:main Dec 12, 2023
5 checks passed
@queengooborg queengooborg deleted the api/OffscreenCanvas/getContext/webgpu_context/additions branch December 12, 2023 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

api.OffscreenCanvas - No information regarding WebGPU context
2 participants