Reilly Grant
reilly.io
Reilly Grant
@reilly.io
SWE on Google Chrome, amateur photographer and radio operator. Opinions expressed here are mine and not my employer's. 🏳️‍🌈🇺🇸🇨🇦

Also at https://toot.cafe/reillyeon.
Please raise a specific spec issue for it.
October 17, 2023 at 5:35 PM
The `id` field itself ties into the permissions management code, which I see you were already looking into, and would more directly expose to developers the browser's internal notion of how real devices map to the identity stored in the permissions system.
October 16, 2023 at 11:23 PM
There's an upcoming project to add an `id` field similar to what BluetoothDevice has to USBDevice, SerialPort and HIDDevice which will make this much easier to specify as we can simply say that any two objects with the same `id` must also compare as equal.
October 16, 2023 at 11:19 PM
I swear I added some language when I wrote Web Serial that makes this clearer, but yes, it is guaranteed and should be added to the specification as otherwise it becomes very difficult for developers.
October 16, 2023 at 11:18 PM
That seems reasonable. Can you file a Chromium issue with links to your research?

(It should get specced too but we probably want to start with not passing values that the OS will reject.)
September 29, 2023 at 12:27 AM
Can you file a spec issue for exposing both of these properties?
September 7, 2023 at 8:43 PM
No. It probably wouldn't be difficult but nobody's presented a use case.
September 7, 2023 at 8:37 PM
I wonder how much trouble I'd get into for expensing the cost of getting an actual human being to create illustrations for my slides.
May 26, 2023 at 1:20 AM