惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The GitHub Blog
The GitHub Blog
Martin Fowler
Martin Fowler
Vercel News
Vercel News
U
Unit 42
Engineering at Meta
Engineering at Meta
aimingoo的专栏
aimingoo的专栏
MyScale Blog
MyScale Blog
Y
Y Combinator Blog
阮一峰的网络日志
阮一峰的网络日志
爱范儿
爱范儿
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
B
Blog RSS Feed
N
Netflix TechBlog - Medium
GbyAI
GbyAI
F
Fortinet All Blogs
MongoDB | Blog
MongoDB | Blog
大猫的无限游戏
大猫的无限游戏
C
Check Point Blog
M
MIT News - Artificial intelligence
D
Docker
IT之家
IT之家
Stack Overflow Blog
Stack Overflow Blog

The Register - Software: OSes

Fedora: Microsoft is all aboard, but Deepin is dumped Microsoft promises to do better, but it has a long way to go First big Microsoft update after vow to 'win back fans' Who needs ghost train scares when Windows is such a fright? Microsoft boss tells investors the company is working to 'win back fans' Microsoft boss says company is working to 'win back fans' Linux cryptographic code flaw offers fast route to root Fedora 44 is out – countless versions of it Microsoft sets its sights on the past with 86-DOS and PC-DOS Microsoft updates the Windows Update Experience Windows second-chance setup hurts IT, productivity Ubuntu Resolute Raccoon drops Xorg, keeps X11 apps alive More ancient Linux device support facing the ax WSL9x hacks Linux into ancient Windows 9x systems UK tribunal sends £2B claim accusing Microsoft of overcharging for licensing to trial Zorin OS 18.1 released - and the Lite edition reappears Task Manager's CPU%: an obituary for the recent past Linux 7.1 will have an optional new NTFS driver Microsoft releases Windows Server update to fix April update 20-year-old Enlightenment E16 bug finally gets patched 20-year-old Enlightenment E16 bug finally gets patched Raspberry Pi OS ends open-door policy for sudo Windows Update: Torture chamber for seldom-used PCs Windows Update: Torture chamber for seldom-used PCs Notepad loses Copilot icon as Microsoft gives subtlety a try Notepad loses Copilot icon as Microsoft gives subtlety a try Microsoft attempts to untangle Windows Insider program Adobe finally patches PDF pest after months of abuse NHS pays £46K to prep next Microsoft licensing round Linux 7.0 debuts as Linus Torvalds ponders AI's impact
Firefox Nightly adds Web Serial after years of saying no
Thomas Claburn Thomas Claburn · 2026-04-15 · via The Register - Software: OSes

OSes

You can finally control serial devices from Firefox

Long languishing API gets love from Mozilla

Firefox will soon be able to communicate directly with your 3D printer. Thirteen years after the idea was initially proposed, the Web Serial API has landed in Firefox Nightly, Mozilla's work-in-progress channel for its browser.

Web Serial allows browsers to interact with devices that communicate via serial ports, such as 3D printers, microcontrollers like Arduino and ESP32, and related services like smart home dashboard ESPHome. It can also communicate with devices capable of emulating a serial port over USB or Bluetooth.

Google Chrome has offered Web Serial support since 2021, eight years after initial discussions got underway. The API is also supported on Chromium-based browsers like Edge, Opera, and Vivaldi.

Firefox Nightly 151.0a1 appears to have added Web Serial support around April 13, though there's no official documentation yet. Activating it requires setting the flag via the menu.

Six years ago, Mozilla opposed Web Serial as unsafe.

"We don't believe that user consent is adequate protection for anything that provides this level of capability," wrote Martin Thomson, distinguished engineer at Mozilla, in a GitHub issues discussion back in 2020. 

"Serial access is a relic from an age where a physical connection conferred a great deal of trust. For instance, many devices offer administrative control to anything that connects over this interface without any form of authentication; in my experience, this often extends to privileges that transcend even what a root user can do."

Two years later, not long after a fierce forum fight on the subject, Mozilla was asked to reconsider its position and Firefox CTO Bobby Holley responded positively. 

By 2024, Holley said that Mozilla was "open to shipping WebSerial using the same add-on-gating mechanism as WebMIDI, provided we can come up with sufficiently understandable consent copy."

Mozilla hasn't entirely thrown caution to the wind – it still opposes WebUSB (for various USB devices) and WebHID (for keyboards, mice, video devices). But its wariness shifts risk from the user to the company – if there's sufficient demand to interact with devices through these APIs, lack of support will drive people away from Firefox toward the Chrome ecosystem.

And Mozilla isn't alone in its reticence. Apple's WebKit team opposes Web Serial, WebUSB, and WebHID "due to fingerprinting, security, and other concerns," and cites Mozilla's arguments about privacy and security in defense of its position. 

But in 2026, with people exposing their computers to AI agents and Mozilla exploring AI integration in Firefox, perhaps the worries about Web Serial look less significant in the grand scheme of things. 

The initial commit of Web Serial code in Firefox landed in mid-January and further work can be expected as bugs get ironed out. ®