Skip to content

Note Firefox 151 support in Web Serial unavailable message#502

Merged
makermelissa merged 1 commit into
circuitpython:mainfrom
makermelissa-piclaw:firefox-151-webserial-message
May 25, 2026
Merged

Note Firefox 151 support in Web Serial unavailable message#502
makermelissa merged 1 commit into
circuitpython:mainfrom
makermelissa-piclaw:firefox-151-webserial-message

Conversation

@makermelissa-piclaw
Copy link
Copy Markdown
Contributor

Summary

Firefox 151 (released 2026-05-19) added support for the Web Serial API on desktop, enabled by default. The editor's "Web Serial not available!" modal still tells users that Web Serial is Chromium-only, which is now out of date.

This PR updates the modal copy in index.html so users on Firefox 151+ know they're on a supported browser. Tested on Firefox 150 (correctly shows the message) and Firefox 151 (skips the message and proceeds to the port-selection step), so the underlying 'serial' in navigator feature-detection in js/workflows/usb.js already does the right thing — only the user-facing copy needed updating.

Changes

  • Reword the "Web Serial not available!" body in index.html to list Chromium-based browsers and Firefox 151+ desktop as supported.
  • Keep the existing chrome://flags hint for the older Chrome 78–89 window.
  • Web Bluetooth message is intentionally left alone (Firefox still doesn't implement Web Bluetooth).

References

Test plan

  • npx vite build succeeds.
  • Manually verified on Firefox 150 (sees the not-available message, with updated copy) and Firefox 151 (proceeds past the message into port selection).

Firefox 151 (released 2026-05-19) ships Web Serial enabled by
default on desktop, so the editor's connection prompt should no
longer tell users that Web Serial is Chromium-only.

Updates the modal copy so users on Firefox 151+ know they're on a
supported browser, while keeping the existing chrome://flags hint
for the older Chrome 78-89 window.
Copy link
Copy Markdown
Collaborator

@makermelissa makermelissa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@makermelissa makermelissa merged commit a4708bc into circuitpython:main May 25, 2026
1 check passed
@makermelissa-piclaw makermelissa-piclaw deleted the firefox-151-webserial-message branch May 25, 2026 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants