Closed Bug 1136549 Opened 11 years ago Closed 11 years ago

Replace evt.device.name with evt.deviceName when accessing BluetoothPairingEvent

Categories

(Firefox OS Graveyard :: Gaia::Settings, 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)

Bug 1127670 revise the webidl of BluetoothPairingEvent by replacing attribute BluetoothDevice device with attribute DOMString deviceName. This bug is to revise bluetooth app to use evt.deviceName instead of evt.device.name to access the remote device name.
Correct the component
Component: Bluetooth → Gaia::Settings
Comment on attachment 8568980 [details] [review] [gaia] yrliou:Bug1136549 > mozilla-b2g:master Hi Ian, This patch is to revise how bluetooth app access the device name from the pairing event. Updated API doc is at https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothPairingEvent#BluetoothPairingEvent. Could you help to review my gaia patch? Thanks, Jocelyn
Attachment #8568980 - Flags: review?(iliu)
Comment on attachment 8568980 [details] [review] [gaia] yrliou:Bug1136549 > mozilla-b2g:master r+ with me. Since API interface changed, thanks for Jocelyn's help in part of Gaia work.:) Looks unit test works fine.
Attachment #8568980 - Flags: review?(iliu) → review+
I leave a note in GitHub for the format name of pull request.
Thanks for your time, Ian!
We can close the issue since the pr is landed. Gaia/master: 7d080a946a70a6bf3340d277fb662c4a6bc888be
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: