3 ms·
Too bad it's Chromium only :( Not coming to Firefox? Or does it lack the api?
by GekkePrutser 6y ago
Too bad it's Chromium only :( Not coming to Firefox? Or does it lack the api?
- lioeters 6y agoI dug around and found that Mozilla considers Web Serial API to be "harmful" to the web. > Mozilla's Position - Devices that offer serial interfaces often expose powerful, low-level functions over the interface with little or no authentication. Exposing that sort of capability to the web without adequate safeguards presents a significant threat to those devices. From https://mozilla.github.io/standards-positions/#webserial https://mozilla.github.io/standards-positions/#webserial --- They've marked it as WONTFIX, as of 9 months ago. https://bugzilla.mozilla.org/show_bug.cgi?id=926940 https://bugzilla.mozilla.org/show_bug.cgi?id=926940 Discussion: https://github.com/mozilla/standards-positions/issues/336 https://github.com/mozilla/standards-positions/issues/336 It seems unlikely to be implemented in Firefox, unless they change their mind or the standard is updated to address security concerns.
- GekkePrutser 6y agoAh that's a shame, I understand their concerns to be honest, but they could just hide it under an about:config flag so only people who really need it can use it.
- tanepiper 6y agoYep only in the Chromium based browsers I'm afraid (https://caniuse.com/?search=Web%20serial https://caniuse.com/?search=Web%20serial) and knowing Apple will probably never make it Safari in the next 10 years.