Closed Bug 842471 Opened 8 years ago Closed 8 years ago

[b2g-bluetooth] Invalid value type in BluetoothDevicePropertiesRunnable()

Categories

(Core :: DOM: Device Interfaces, defect)

21 Branch
ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla22

People

(Reporter: gyeh, Assigned: gyeh)

Details

Attachments

(1 file, 1 obsolete file)

I/Gecko   (  497): [Parent 497] WARNING: Failed to get device properties: file /workspace/mozilla-central/dom/bluetooth/linux/BluetoothDBusService.cpp, line 1377
I/Gecko   (  497): [Parent 497] WARNING: Getting properties failed!: file /workspace/mozilla-central/dom/bluetooth/linux/BluetoothDBusService.cpp, line 2021
In BluetoothDevicePropertiesRunnable, assuming that the type of BluetoothValue should be an array of BluetoothNamedValue, and it should not be used for handling event "DeviceCreated" with the input of an nsString.

Since we're going to remove this event from nsIDOMBluetoothAdapter.idl and no need to get device properties here, we don't forward this event to BluetoothAdapter. However, the implementation in BluetoothAdapter.cpp will be removed after the idl is revised.
Attachment #715425 - Flags: review?(echou) → review+
Try run for 0926e59777cc is complete.
Detailed breakdown of the results available here:
    https://tbpl.mozilla.org/?tree=Try&rev=0926e59777cc
Results (out of 18 total builds):
    success: 12
    warnings: 5
    failure: 1
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/gyeh@mozilla.com-0926e59777cc
Try run for 4e70eb5605bd is complete.
Detailed breakdown of the results available here:
    https://tbpl.mozilla.org/?tree=Try&rev=4e70eb5605bd
Results (out of 14 total builds):
    warnings: 13
    failure: 1
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/gyeh@mozilla.com-4e70eb5605bd
Try run for 000903522b59 is complete.
Detailed breakdown of the results available here:
    https://tbpl.mozilla.org/?tree=Try&rev=000903522b59
Results (out of 18 total builds):
    success: 17
    warnings: 1
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/gyeh@mozilla.com-000903522b59
Try run for 3f018da666b9 is complete.
Detailed breakdown of the results available here:
    https://tbpl.mozilla.org/?tree=Try&rev=3f018da666b9
Results (out of 14 total builds):
    success: 14
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/gyeh@mozilla.com-3f018da666b9
https://hg.mozilla.org/mozilla-central/rev/462b9501603d
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
You need to log in before you can comment on or make changes to this bug.