Issue metadata
Sign in to add a comment
|
Web Bluetooth Disconnect Issues When Closing Laptop
Reported by
nall...@workbenchplatform.com,
Apr 4 2018
|
||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36 Steps to reproduce the problem: 1. Connect a bluetooth device. 2. Close laptop once connection is complete. 3. Wait a few seconds. 4. Open laptop 5. If you logged it, you can see that "gattserverdisconnected" is called for the device. But the device still thinks it is connected. 6. Refresh the browser and the device will finally disconnect What is the expected behavior? "gattserverdisconnected" is being called without actually disconnecting from the device. I'd expect to actually disconnect from the device when chrome thinks it is disconnecting. What went wrong? Chrome thinks my device is disconnected, but my OS and device still know the device is connected. Did this work before? Yes Chrome version: 65.0.3325.181 Channel: stable OS Version: OS X 10.12.6 Flash Version: I recall a similar bug where Chrome would crash when I closed my laptop while a device was connected. This was in May 2017. I'm assuming after that ticket was marked as resolved that I was not experiencing this issue. I don't test shutting my laptop very often, so I'm not sure how long this has been an issue.
,
Apr 4 2018
,
Apr 5 2018
,
Apr 5 2018
Thanks for the report. It's strange that the device stays connected. According to macOS's docs: A state with a value lower than CBCentralManagerStatePoweredOn implies that scanning has stopped and that any connected peripherals have been disconnected. That said, the bug be unrelated to the portion of the code that handles that state change.
,
Apr 11 2018
|
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by nall...@workbenchplatform.com
, Apr 4 2018