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

Chrome 131 adds some WebHID API support for web workers #24538

Merged
merged 8 commits into from
Oct 9, 2024

Conversation

chrisdavidmills
Copy link
Collaborator

Summary

The WebHID API is now available in web workers in Chrome 131. See this spec thread, the landing commit message, and the associated ChromeStatus entry.

This PR:

  • Adds the 131 nightly version of Chrome, so the tests will pass.
  • Adds a worker_support data point to each WebHID interface.
  • Adds data point for the WorkerNavigator.hid property.

I've just done a quick PR for now, mainly so that this doesn't get forgotten about. I appreciate that you might want to wait until 131 is in beta. I also appreciate that you might want to add worker_support to each interface subfeature, in which case we can revisit.

Test results and supporting details

Related issues

@github-actions github-actions bot added data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API data:browsers 🌍 Data about browsers (versions, release dates, etc). This data is used for validation. labels Sep 26, 2024
@beaufortfrancois
Copy link
Contributor

LGTM

api/HIDDevice.json Outdated Show resolved Hide resolved
api/HIDInputReportEvent.json Outdated Show resolved Hide resolved
browsers/chrome.json Outdated Show resolved Hide resolved
api/HID.json Outdated Show resolved Hide resolved
api/HIDConnectionEvent.json Outdated Show resolved Hide resolved
api/HID.json Outdated Show resolved Hide resolved
chrisdavidmills and others added 4 commits October 3, 2024 09:22
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
@github-actions github-actions bot added the merge conflicts 🚧 This PR needs to merge latest "main" branch to resolve a merge conflict or other issue. label Oct 7, 2024
Copy link

github-actions bot commented Oct 7, 2024

This pull request has merge conflicts that must be resolved before it can be merged.

@github-actions github-actions bot removed data:browsers 🌍 Data about browsers (versions, release dates, etc). This data is used for validation. merge conflicts 🚧 This PR needs to merge latest "main" branch to resolve a merge conflict or other issue. labels Oct 7, 2024
api/HID.json Outdated Show resolved Hide resolved
skyclouds2001 added a commit to skyclouds2001/browser-compat-data that referenced this pull request Oct 8, 2024
@caugner caugner changed the title WebHID API now available in web workers Chrome 131 adds WebHID API support for dedicated workers Oct 9, 2024
@caugner caugner changed the title Chrome 131 adds WebHID API support for dedicated workers Chrome 131 adds some WebHID API support for web workers Oct 9, 2024
@caugner caugner merged commit 5321fed into mdn:main Oct 9, 2024
6 checks passed
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.

3 participants