[web-bluetooth] The "add an allowed Bluetooth device" algorithm does not actually add the device (#639)

tidoust has just created a new issue for https://github.com/WebBluetoothCG/web-bluetooth:

== The "add an allowed Bluetooth device" algorithm does not actually add the device ==
Unless I missed something, step 4.1 in the [add an allowed Bluetooth device](https://webbluetoothcg.github.io/web-bluetooth/#add-device-to-storage) algorithm handles the case where no device is found in `allowedDevices` but:
- does not initialize `allowedDevice`, whereas the starting point is "If one [`allowedDevice`] is not found"
- does not add the `allowedDevice` to the storage, which it probably should?


Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/639 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 17 January 2025 06:56:36 UTC