api.Serial - Chrome for Android supports the spec
What type of issue is this?
Incorrect support data. Chrome for Android does not support WebSerial at all but version 126 does
What information was incorrect, unhelpful, or incomplete?
Chrome 126 for Android supports webserial for USB-CDC adapters Your compatibility table says that it does not support
What browsers does this problem apply to, if applicable?
Chrome For Android
What did you expect to see?
Chrome 126 supports WebSerial API with issues: Only USB-CDC adapters are supported
Did you test this? If so, how?
I connected six different devices to my phone and tested webserial using https://espressif.github.io/esptool-js/ My phone is Samsung S21FE, Android 14. Chrome 126 and Firefox 128 are installed
Boards worked fine:
- Raspberry Pi Pico(Micropython firmware)
- M5Stamp C3U(ESP32C3) board, native USB port
- ESP32S3 DevKitC board, native USB port
Boards are not recognized as serial ports:
- ESP32S3 DevKitC board, USB-UART port (SiliconLabs CP2102N)
- ESP-C3-01M Kit (CH340)
- FTDI FT2232HL adapter
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
No response
Do you have anything more you want to share?
No response
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/Web_Serial_API
MDN metadata
MDN page report details
- Query:
api.Serial - Report started: 2024-07-12T10:01:07.720Z
Tested today on Chrome 138.0 on Android 13 (Google Pixel 4A), API is implemented but only if using HTTPS. When connecting without HTTPS, navigator.serial is undefined (instead of presenting JS objects and raising an error when using it, like some others features)
I can also confirm RFCOMM Bluetooth (classic) devices are present in the list.
It seems to be available since Chrome 117, both desktop and mobile. Source: https://chromestatus.com/feature/5686596809523200/activity
According to https://chromestatus.com/feature/6577673212002304, Web Serial API is only available in desktop.
But maybe this data is wrong.
@foolip Who might be able to confirm whether Serial API (for USB-CDC) shipped in Chrome on Android (and possibly WebView)?
According to https://developer.chrome.com/release-notes/138#web_serial_over_bluetooth_on_android Web Serial (over Bluetooth) is indeed supported for Chrome on Android as of version 138. This is the ChromeStatus entry for the Android-specific feature: https://chromestatus.com/feature/5139978918821888