Closed Bug 1031252 Opened 6 years ago Closed 6 years ago

Reject promise for setProperty requests if BT is not enabled

Categories

(Firefox OS Graveyard :: Bluetooth, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: yrliou, Assigned: yrliou)

References

Details

(Whiteboard: webbt-api)

Attachments

(1 file, 1 obsolete file)

For BluetoothAdapter::SetName and SetDiscoverable, we should reject the request if BT is not enabled.
* Reject set adapter property request if adapter state is not enabled.
Attachment #8447835 - Flags: review?(btian)
Comment on attachment 8447835 [details] [diff] [review]
Bug 1031252 - Patch(v1): Reject promise for setProperty requests if BT is not enabled.

Review of attachment 8447835 [details] [diff] [review]:
-----------------------------------------------------------------

LGTM.
Attachment #8447835 - Flags: review?(btian) → review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/d7a76117850e
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.