Closed
Bug 1141976
Opened 9 years ago
Closed 9 years ago
[Bluetooth] does not get detail while bt device connected with profile
Categories
(Firefox OS Graveyard :: Gaia::Bluetooth, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gasolin, Assigned: gasolin)
References
Details
Attachments
(1 file)
comparing with bluetooth.js, bluetooth_v2.js does not provide detail array during bluetoothprofileconnectionchange event It's due to bluetooth_v2.js use the new dispatchEvent format, which does not contain provided dictionaries into 'detail' object by default.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → gasolin
Status: NEW → ASSIGNED
Comment 1•9 years ago
|
||
Assignee | ||
Comment 2•9 years ago
|
||
Comment on attachment 8575888 [details] [review] [gaia] gasolin:issue-1141976 > mozilla-b2g:master It should only efffect BTv2 because I changed to the syntax new event dispatch format, which does not attach properties into detail object
Attachment #8575888 -
Flags: review?(iliu)
Comment 3•9 years ago
|
||
Comment on attachment 8575888 [details] [review] [gaia] gasolin:issue-1141976 > mozilla-b2g:master The patch is okay for me. But there is no unit test for checking what dispatch event Bluetooth_v2 module has fired. The other nit is commit log in wrong format.
Attachment #8575888 -
Flags: review?(iliu)
Assignee | ||
Comment 4•9 years ago
|
||
Comment on attachment 8575888 [details] [review] [gaia] gasolin:issue-1141976 > mozilla-b2g:master test added to make sure the received event contain detail object. Rename the commit to `wrap emit array within detail object to patible with old initCustomEvent format` please kindly review it again :)
Attachment #8575888 -
Flags: review?(iliu)
Comment 5•9 years ago
|
||
Comment on attachment 8575888 [details] [review] [gaia] gasolin:issue-1141976 > mozilla-b2g:master r+ without commit format nit, thanks.
Attachment #8575888 -
Flags: review?(iliu) → review+
Assignee | ||
Comment 6•9 years ago
|
||
merged https://github.com/mozilla-b2g/gaia/commit/e0b5b58321fe3549f57bf3f6eb4bb4601b1ce74c thanks
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•