New issue
Advanced search Search tips

Issue 607822 link

Starred by 1 user

Issue metadata

Status: Verified
Owner: ----
Closed: May 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Feature

Blocking:
issue 436283



Sign in to add a comment

bluetooth: Add warning JS message when feature is not implemented

Project Member Reported by fbeaufort@chromium.org, Apr 29 2016

Issue description

It would be nice to add warning messages to the JS console when a method is not implemented yet.

For instance, on Mac OS, we know server.getPrimaryService, service.getCharacteristic, characteristic.readValue, characteristic.writeValue, characteristic.startNotifications and characteristic.stopNotifications are not working yet. Sadly, they are available and might confuse developers.

Same applies to characteristic.stopNotifications on Android.

I believe a simple `console.warn('[Feature] is not fully implemented yet. Check out Web BLuetooth [implementation status]')` could help developers while they're experimenting with the API.
 
Labels: -Pri-3 Pri-2
Status: Started (was: Available)
Status: Verified (was: Started)
Verified in Chromium for Mac 52.0.2725.0


Screen Shot 2016-05-04 at 4.24.01 PM.png
88.0 KB View Download

Sign in to add a comment