Closed Bug 1159650 Opened 10 years ago Closed 10 years ago

[bluetooth2] Remove incorrect value assertion in BluetoothGattCharacteristic and BluetoothGattDescriptor

Categories

(Firefox OS Graveyard :: Bluetooth, defect)

defect
Not set
normal

Tracking

(firefox40 fixed)

RESOLVED FIXED
2.2 S11 (1may)
Tracking Status
firefox40 --- fixed

People

(Reporter: yrliou, Assigned: yrliou)

References

Details

(Whiteboard: [webbt-api])

Attachments

(1 file, 1 obsolete file)

We will hit assertions in |BluetoothGattCharacteristic::GetValue| and |BluetoothGattDescriptor::GetValue| while running on debug build. In these functions, we do MOZ_ASSERT(aValue). It's actually checking MutableHandle::ptr which is still null and will be set later in this function.
Comment on attachment 8599202 [details] [diff] [review] Bug 1159650 - Remove incorrect value assertions in BluetoothGattCharacteristic and BluetoothGattDescriptor. Review of attachment 8599202 [details] [diff] [review]: ----------------------------------------------------------------- LGTM.
Attachment #8599202 - Flags: review?(btian) → review+
No try server result since the change is only in bluetooth2 and won't be built on try server.
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.2 S11 (1may)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: