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

推荐订阅源

罗磊的独立博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 三生石上(FineUI控件)
Hugging Face - Blog
Hugging Face - Blog
小众软件
小众软件
量子位
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
IT之家
IT之家
V
V2EX
阮一峰的网络日志
阮一峰的网络日志
爱范儿
爱范儿
人人都是产品经理
人人都是产品经理
博客园 - Franky
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园_首页
V
Visual Studio Blog
Last Week in AI
Last Week in AI
有赞技术团队
有赞技术团队
WordPress大学
WordPress大学
博客园 - 司徒正美
大猫的无限游戏
大猫的无限游戏
博客园 - 【当耐特】
MyScale Blog
MyScale Blog
月光博客
月光博客

The Register articles by Thomas Claburn

I vibe coded web app: It was enlightening and uncomfortable
Firefox Nightly adds Web Serial after years of saying no
Thomas Claburn Thomas Claburn · 2026-04-15 · via The Register articles by Thomas Claburn

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. ®