Contact emails

[email protected]

Explainer

https://github.com/nondebug/webusb/blob/service-worker-explainer/extension-service-worker-explainer.md

Specification

https://wicg.github.io/webusb/#enumeration

Summary

Allows web developers to use WebUSB API when responding to extension events
by exposing WebUSB API to Service Workers registered by browser extensions.
This API will not yet be exposed to Service Workers registered by sites but
the implementation experience gained by supporting the API for extensions
will be valuable for such a future project.


Blink component

Blink>USB
<https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EUSB>

Motivation

As Chrome Apps API chrome.usb 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 WebUSB in service workers.


Initial public proposal

https://github.com/WICG/webusb/issues/22

TAG review

TAG review status

Not applicable

Risks

Interoperability and Compatibility

Gecko: Negative (https://github.com/mozilla/standards-positions/issues/100)
Mozilla has not provided a position on this feature but their position on
WebUSB is negative.

WebKit: Negative (https://github.com/WebKit/standards-positions/issues/68)
Apple has not implemented WebUSB due to concerns about fingerprinting

Web developers: No signals

Other signals:

WebView application risks

None, WebUSB is not available in WebViews.


Debuggability

Devtools


Is this feature fully tested by web-platform-tests
<https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>
?

No

Flag name

chrome://flags/#enable-web-usb-on-extension-service-worker

Requires code in //chrome?

True

Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1303193

Launch bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1322637

Estimated milestones

No milestones specified


Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5200265459269632

This intent message was generated by Chrome Platform Status
<https://chromestatus.com/>.

--
Tarek

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAKfE4f%2Bi4m3rOBF4m-yQVAwau3ghnMS_jkj6Bis5LP5eeYjfzw%40mail.gmail.com.

Reply via email to