this post was submitted on 15 Apr 2026
55 points (100.0% liked)

Firefox

22776 readers
2 users here now

/c/firefox

A place to discuss the news and latest developments on the open-source browser Firefox.


Rules

1. Adhere to the instance rules

2. Be kind to one another

3. Communicate in a civil manner


Reporting

If you would like to bring an issue to the moderators attention, please use the "Create Report" feature on the offending comment or post and it will be reviewed as time allows.


founded 6 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] umbrella@lemmy.ml 16 points 1 month ago* (last edited 1 month ago) (2 children)
[–] dan@upvote.au 10 points 1 month ago* (last edited 1 month ago) (1 children)

IMO it's fine since you need to explicitly grant permission for the site to use it, and also explicitly choose a device to allow it to communicate with.

You can also configure your browser to always reject requests to use the API.

WebSerial is useful for the developer as they can build their webapp once and it'll work consistently across platforms, and it's useful for the user since the same interface will work across all OSes.

I prefer it over the other common approach for communicating with serial devices, which is often to only make a Windows app and to have some convoluted setup process involving sketchy-looking drivers, which then breaks when you have different devices that require different versions of the flashing software or drivers.

[–] thehatfox@lemmy.world 7 points 1 month ago (3 children)

This has always felt like something that doesn’t belong in a web browser to me.

[–] SkaveRat@discuss.tchncs.de 8 points 1 month ago

as someone who did an ESP based project for end users, this is really useful to let users flash new stuff on their device without needing some convoluted toolchain on your computer

it was really really useful to tell people "go to xyz and select the option you want, follow the on screen instructions and you're done. sorry, chrome only"

[–] nibbler@discuss.tchncs.de 6 points 1 month ago

Just last week my mobile died. I was able to get a new one and flash GrapheneOS while traveling, using my partners phone. That was totally awesome.

[–] thingsiplay@lemmy.ml 0 points 1 month ago

Since they are adding Ai to the browser, it seems the quality and security standards are reduced.