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

Firefox

22774 readers
1 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
 
all 30 comments
sorted by: hot top controversial new old
[–] 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.

[–] cmnybo@discuss.tchncs.de 15 points 1 month ago (1 children)

It's about time. I hate having to use another browser so I can use a few web apps that need to connect to serial devices.

[–] thingsiplay@lemmy.ml 3 points 1 month ago (2 children)

Aren't there native applications being able to do that?

[–] dan@upvote.au 9 points 1 month ago* (last edited 1 month ago) (1 children)

Why install a native app when a website can do it? It's very common to use a website to flash ESPHome for example.

[–] thingsiplay@lemmy.ml 2 points 1 month ago (1 children)

Well you have more control over it and not dependent on the server. Also it should be more private I guess. I'm not judging, just asking if there was no native app that you felt forced to use a worse browser.

[–] dan@upvote.au 5 points 1 month ago* (last edited 1 month ago)

not dependent on the server

It doesn't have to be - a developer could also provide a HTML file that the user can download and open locally.

And to be honest, if someone had to build a user-friendly cross-platform GUI app for connecting to some sort of serial device, they'd probably just end up using web technologies (Electron or Tauri) anyways. May as well avoid the extra overhead of Electron.

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

Not for what I need. Some of them have an electron program, but that's just chrome bundled with a web app.

[–] XLE@piefed.social 9 points 1 month ago (1 children)

This has been a serious pain point for people who have wanted to use web apps to flash many things, including keyboards and phones. Nice to see Mozilla is finally observing the competition on something that's not AI.

[–] 5in1k@lemmy.zip 3 points 1 month ago

I only have Chrome to flash my Flipper Zero, ESP32's and my Mestastic stuff. Being able to use Firefox would be nice.

[–] Midnitte@beehaw.org 8 points 1 month ago

Great news for ESPhome - it is such a hassle to try and use the cli (especially on windows) as opposed to just using the interface in home assistant

[–] LiveLM@lemmy.zip 4 points 1 month ago

Huh maybe they'll finally add WebUSB

[–] shortwavesurfer@lemmy.zip 4 points 1 month ago

I think this means that meshtastic and meshcore flashers will be usable in Firefox now.

[–] davetortoise@reddthat.com 1 points 1 month ago (1 children)

As a not particularly techy end-user. What does this mean

[–] talentedkiwi@sh.itjust.works 4 points 1 month ago (1 children)

There are a lot of devices (esp32, phones, serial devices, etc ) that can have software installed (flashed) over this protocol. Before this our only choice was a chromium based browser.

[–] davetortoise@reddthat.com 1 points 1 month ago

But can't phones already run firefox anyway?

[–] CandleTiger@programming.dev 1 points 1 month ago (2 children)
[–] sabreW4K3@lazysoci.al 5 points 1 month ago (2 children)
[–] CandleTiger@programming.dev 2 points 1 month ago (1 children)

All my serial devices need careful handling and will happily destroy themselves or start a fire if given the wrong instructions — my 3D printer, my laser engraver, my inverter/solar/battery monitor-programmer.

None of them are remotely prepared or hardened in any way to protect from malicious or careless commands.

I don’t generally trust websites and I do not want any website to discover those devices and interact with them.

[–] brianpeiris@lemmy.ca 3 points 1 month ago

Maybe it will depend on the specifics of their UI/UX implementation, but I don't think you'll end up in a scenario where you're surprised that a website suddenly has access to your serial ports. I expect the UI will be fail-safe, very visible, and that you'll be able to disable it entirely if you wish, so that you never even see a prompt.

[–] eierschaukeln@kbin.earth -1 points 1 month ago

Why you can disable the API completely?

[–] dan@upvote.au 3 points 1 month ago

You can completely disable the API in Chrome... I assume Firefox will allow this too.

[–] brianpeiris@lemmy.ca 1 points 1 month ago

This is a bit of speculation on my part, but I think the recent leadership changes, especially Eric Rescorla (ekr) leaving as Mozilla CTO probably lead to this. I think ekr was responsible for many of the security vetoes that held APIs like this back. Maybe they had good reason for it at the time, but Chrome has now demonstrated that Web Serial has been safe for years.

So although I appreciate Firefox has always been security conscious, I think they sometimes landed a little too strict on some decisions. I'd be happy if this attitude change allows some more innovation in Firefox that is not just "AI all the things".