WorkerNavigator: usb property
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Secure context: This feature is available only insecure contexts (HTTPS), in some or allsupporting browsers.
Note: This feature is only available inWeb Workers.
Theusb read-only property of theWorkerNavigator interface returns aUSB object for the current document, providing access toWebUSB API functionality.
In this article
Value
AUSB object.
Specifications
| Specification |
|---|
| WebUSB API> # dom-workernavigator-usb> |