-
Notifications
You must be signed in to change notification settings - Fork 16.2k
chore: refactor persisting permission granted to serial ports #31181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
API looks good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
API changes look fine
Release Notes Persisted
|
I was unable to backport this PR to "14-x-y" cleanly; |
I was unable to backport this PR to "15-x-y" cleanly; |
I have automatically backported this PR to "16-x-y", please check out #31324 |
Description of Change
This is a refactor of #30209 to use the same permissioning that was implemented for WebHID.
Checklist
npm test
passesRelease Notes
Notes: Changed Web Serial to use
ses.setDevicePermissionHandler
to allow developers more control over Web Serial permissioning.