Closed
Bug 1174717
Opened 10 years ago
Closed 10 years ago
[bluetooth2] Passing fallible when calling AppendElement method for Sequence types in bluetooth2.
Categories
(Firefox OS Graveyard :: Bluetooth, defect)
Tracking
(firefox41 fixed)
RESOLVED
FIXED
FxOS-S1 (26Jun)
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: yrliou, Assigned: yrliou)
References
Details
(Whiteboard: [webbt-api])
Attachments
(1 file, 1 obsolete file)
bluetooth2 build failed since Bug 968520 landed.
We should pass fallible argument when calling AppendElement method for Sequence types used in bluetooth2.
Assignee | ||
Comment 1•10 years ago
|
||
Hi Shawn,
Please help to review my patch.
Thanks,
Jocelyn
Attachment #8622459 -
Flags: review?(shuang)
Comment on attachment 8622459 [details] [diff] [review]
Bug 1174717 - Passing fallible when calling AppendElement method for Sequence types in bluetooth2.
Review of attachment 8622459 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/bluetooth/BluetoothCommon.h
@@ +131,5 @@
> + uint32_t index = uint32_t(enumValue); \
> + nsAutoString name; \
> + name.AssignASCII(enumType##Values::strings[index].value, \
> + enumType##Values::strings[index].length); \
> + array.AppendElement(name, fallible); \
Can we write |mozilla::fallible|? That would be easier to understand.
Attachment #8622459 -
Flags: review?(shuang) → review+
Assignee | ||
Comment 3•10 years ago
|
||
- s/fallible/mozilla::fallible
Thanks, Shawn.
Attachment #8622459 -
Attachment is obsolete: true
Assignee | ||
Comment 4•10 years ago
|
||
No try server result since bluetooth2 won't be built on try server.
Keywords: checkin-needed
Keywords: checkin-needed
Comment 6•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → NGA S3 (26Jun)
Comment 7•10 years ago
|
||
As NGA Program Manager suggested, let's replace the NGA-Sx milestones with FxOS-Sx ones (more generic ones), once Bug 1174794 has already landed
Target Milestone: NGA S3 (26Jun) → FxOS-S1 (26Jun)
You need to log in
before you can comment on or make changes to this bug.
Description
•