From 17ba863f6985a1ba62118835a036b01661e9eba4 Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Tue, 3 Jun 2025 10:16:16 +0200 Subject: [PATCH] docs: correct 'select-bluetooth-device' requirement (#47325) --- docs/api/web-contents.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index 2b5249c337..05a9ad3824 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -841,9 +841,10 @@ Emitted when a bluetooth device needs to be selected when a call to the `deviceId` of the device to be selected. Passing an empty string to `callback` will cancel the request. -If an event listener is not added for this event, or if `event.preventDefault` -is not called when handling this event, the first available device will be -automatically selected. +If no event listener is added for this event, all bluetooth requests will be cancelled. + +If `event.preventDefault` is not called when handling this event, the first available +device will be automatically selected. Due to the nature of bluetooth, scanning for devices when `navigator.bluetooth.requestDevice` is called may take time and will cause