← Back to release summary

WebHID in Extension Service Workers

Category
Device
Type
No developer-visible change
Status
Enabled by default (Chrome 117)
Intent stage
Start prototyping

Summary

Allows web developers to use the WebHID API in service worker contexts in extensions by exposing WebHID API to extension service workers.

Motivation

As Chrome Apps APIs chrome.hid will soon be deprecated, developers are encouraged to migrate to web apps or Chrome Extensions. For the Chrome Extension case, manifest V3 deprecates the background page and recommends developers to migrate to service workers. As a result, it is required to support WebHID in Extension Service Workers.

Standards & signals

View on chromestatus.com