Closed
Description
Nature of issue?
- Existing feature enhancement
Details about the bug:
- Web browser and version: Chrome 92
- Operating System: macOS 11.5
- Steps to reproduce this bug:
Try to use navigator.serial.requestPort()
as part of a p5 sketch. This will fail with SecurityError: Failed to execute 'requestPort' on 'Serial': Access to the feature "serial" is disallowed by permissions policy.
.
Printing document.featurePolicy.allowedFeatures()
gives a list that largely matches what is defined in the allow-list in PreviewFrame.jsx
, but the term serial
(see here) is not currently included.
Feature enhancement details:
WebSerial is currently available on Chrome and Edge, and appears to be a useful way to hook up microcontrollers to p5.
Metadata
Metadata
Assignees
Labels
No labels