'navigator.serial' is undefined in Chrome v91.0.4472.114 (Official Build) (ARM)

1,718 views
Skip to first unread message

Ram

unread,
Jul 9, 2021, 7:33:07 PM7/9/21
to Chromium-dev

I am unable to access Web Serial API in Chrome in a MacBook Air with M1 processor.

Expected Outcome: 'navigator.serial' should be accessible in Chrome browser.

Actual Outcome: 'navigator.serial' is undefined and hence I am unable to access Web Serial API.

Chrome browser version: Version 91.0.4472.114 (Official Build) (ARM)

Hardware device: MacBook Air with M1 processor (ARM)

Reilly Grant

unread,
Jul 12, 2021, 6:10:10 PM7/12/21
to sreeram.ra...@solinst.com, Chromium-dev
This question was already answered on GitHub. Please file a report on crbug.com with a link to an example site demonstrating the issue you are encountering. The most common reason why navigator.serial is undefined is because this API is only exposed in secure contexts, which means the page was served with HTTPS or from localhost.

To test whether the API is exposed properly on your system try clicking the "Serial" button on https://permission.site. It should show the device permission prompt.
Reilly Grant | Software Engineer | rei...@chromium.org | Google Chrome


--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/d6da9edb-a907-4eb3-b664-99a0ab2ccf96n%40chromium.org.
Reply all
Reply to author
Forward
0 new messages