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
feat: add support for Web Bluetooth pin pairing #35416
Conversation
dc673b9
to
ced73e4
Compare
61e9427
to
f0b9d19
Compare
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 LGTM
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.
Archaeologist is showing some changes that seem unrelated to the PR.
I think this will go away once the PR is updated to be in sync with main but thought I'd point it out in case it's an actual issue
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 LGTM
Release Notes Persisted
|
I was unable to backport this PR to "19-x-y" cleanly; |
I was unable to backport this PR to "20-x-y" cleanly; |
I have automatically backported this PR to "21-x-y", please check out #35818 |
* feat: add bluetooth pairing handler * Update docs/api/session.md Co-authored-by: Charles Kerr <charles@charleskerr.com> * Update docs/api/session.md Co-authored-by: Charles Kerr <charles@charleskerr.com> * docs: update based on review * Apply suggestions from code review Co-authored-by: Erick Zhao <erick@hotmail.ca> Co-authored-by: Charles Kerr <charles@charleskerr.com> * chore: update docs per review * chore: cleanup callback per review Co-authored-by: Charles Kerr <charles@charleskerr.com> Co-authored-by: Erick Zhao <erick@hotmail.ca>
Description of Change
https://chromium-review.googlesource.com/c/chromium/src/+/2841104 added support for providing a pin for bluetooth devices on Windows and Linux when required but we simply stubbed out this functionality on the chromium roll (#31317). This PR adds a new event
bluetooth-pair-prompt
to Session to allow developers to handle the request for a pin when pairing a bluetooth device.Resolves #33111
Checklist
npm test
passesRelease Notes
Notes: Added support for Web Bluetooth pin pairing on Linux and Windows