WebHID is enabled inside dedicated worker contexts. This allows developers to perform heavy I/O and processing of data from a HID device on a separate thread to reduce the performance impact on the main thread.
This small addition does not change the overall status of WebHID interoperability or compatibility.
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None
No specific DevTools changes are required. This feature is treated like any other JS method. Note that exposing DevTools debugging support for device-access APIs (WebHID included) is discussed at https://bugs.chromium.org/p/chromium/issues/detail?id=1142566.
Android is not supported because Android itself does not provide a direct API for accessing HID devices. For the same reason this API is not available in Android WebView.
WPT are planned, we have some web_tests already but the external web platform tests are minimal and only verify the presence of interfaces and attributes: https://wpt.fyi/results/webhid We have internal web tests that will be converted to WPT: https://source.chromium.org/chromium/chromium/src/+/master:third_ and may differ by party/blink/web_tests/hid/
Shipping on desktop | 131 |
Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).
None--
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 blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/3a489c9e-ff27-48f4-9153-2337778ca32cn%40chromium.org.
LGTM3
/Daniel
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOMQ%2Bw_6zn7Ser3SFmv7TDyyCjvG5V_X7gstKE_32JkzUHL-yw%40mail.gmail.com.