Closed
Bug 964817
Opened 10 years ago
Closed 10 years ago
[Bluetooth] Invoke DBus send operations on I/O thread
Categories
(Firefox OS Graveyard :: Bluetooth, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
1.4 S1 (14feb)
People
(Reporter: tzimmermann, Assigned: tzimmermann)
References
Details
Attachments
(1 file, 2 obsolete files)
68.85 KB,
patch
|
tzimmermann
:
review+
|
Details | Diff | Splinter Review |
This is a sub-bug for bug 957103. The patches here can be landed separately.
Assignee | ||
Comment 1•10 years ago
|
||
The patch has been taken from bug 957103 and includes all fixes from comment 10, except the final one.
Attachment #8366678 -
Flags: review?(echou)
Assignee | ||
Comment 2•10 years ago
|
||
Rebased onto rev 166108:f33daf2f8fb4
Attachment #8366678 -
Attachment is obsolete: true
Attachment #8366678 -
Flags: review?(echou)
Attachment #8370837 -
Flags: review?(echou)
Comment 3•10 years ago
|
||
Comment on attachment 8370837 [details] [diff] [review] [01] Bug 964817: Invoke DBus send operations on I/O thread (v3) Review of attachment 8370837 [details] [diff] [review]: ----------------------------------------------------------------- LGTM. Although the related logic doesn't seem to be changed, please remember to test before land it. Thanks! ::: dom/bluetooth/bluez/linux/BluetoothDBusService.cpp @@ +2435,3 @@ > GetConnectedDevicesFilter, > + aRunnable); > + MOZ_ASSERT(handler); nit: unnecessary assertion. @@ +2461,3 @@ > GetPairedDevicesFilter, > + aRunnable); > + MOZ_ASSERT(handler); nit: unnecessary assertion.
Attachment #8370837 -
Flags: review?(echou) → review+
Assignee | ||
Comment 4•10 years ago
|
||
Thanks Eric, I'll update and land the patch soon. BTW, I always do basic testing of my patches, even if I only update for rebases. :D
Assignee | ||
Comment 5•10 years ago
|
||
Attachment #8370837 -
Attachment is obsolete: true
Attachment #8371391 -
Flags: review+
Assignee | ||
Comment 6•10 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/af1358bae3e3 https://tbpl.mozilla.org/?tree=B2g-Inbound&rev=af1358bae3e3
Comment 7•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/af1358bae3e3
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.4 S1 (14feb)
Comment on attachment 8371391 [details] [diff] [review] [01] Bug 964817: Invoke DBus send operations on I/O thread (v4) Review of attachment 8371391 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/bluetooth/bluez/linux/BluetoothDBusService.cpp @@ +2676,5 @@ > + DBUS_TYPE_STRING, &deviceAddress, > + DBUS_TYPE_OBJECT_PATH, &deviceAgentPath, > + DBUS_TYPE_STRING, &capabilities, > + DBUS_TYPE_INVALID); > + NS_ENSURE_SUCCESS_VOID(success); this is causing the build to fail when BLUEZ configuration is set with the following message, ../../../../../../../../gecko/dom/bluetooth/bluez/linux/BluetoothDBusService.cpp: In member function 'virtual void CreatePairedDeviceInternalTask::Run()': ../../../../../../../../gecko/dom/bluetooth/bluez/linux/BluetoothDBusService.cpp:2680:26: error: cannot convert 'bool' to 'nsresult {aka tag_nsresult}' in initialization
Comment 9•10 years ago
|
||
(In reply to bhargavg1 from comment #8) > Comment on attachment 8371391 [details] [diff] [review] > [01] Bug 964817: Invoke DBus send operations on I/O thread (v4) > > Review of attachment 8371391 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: dom/bluetooth/bluez/linux/BluetoothDBusService.cpp > @@ +2676,5 @@ > > + DBUS_TYPE_STRING, &deviceAddress, > > + DBUS_TYPE_OBJECT_PATH, &deviceAgentPath, > > + DBUS_TYPE_STRING, &capabilities, > > + DBUS_TYPE_INVALID); > > + NS_ENSURE_SUCCESS_VOID(success); > > this is causing the build to fail when BLUEZ configuration is set with the > following message, > > ../../../../../../../../gecko/dom/bluetooth/bluez/linux/BluetoothDBusService. > cpp: In member function 'virtual void CreatePairedDeviceInternalTask::Run()': > ../../../../../../../../gecko/dom/bluetooth/bluez/linux/BluetoothDBusService. > cpp:2680:26: error: cannot convert 'bool' to 'nsresult {aka tag_nsresult}' > in initialization Chris has given a patch for this in bug 952785.
Assignee | ||
Comment 10•10 years ago
|
||
> Chris has given a patch for this in bug 952785.
Thanks for the comment. I guess this problem has been fixed. Please ping me if it remains.
Flags: needinfo?(tzimmermann)
Comment 11•10 years ago
|
||
(In reply to Thomas Zimmermann [:tzimmermann] [:tdz] from comment #10) > > Chris has given a patch for this in bug 952785. > > Thanks for the comment. I guess this problem has been fixed. Please ping me > if it remains. Any chances that we are going to check-in the patch. Not sure what the tag [leave open] means. without pulling this patch in the tip build would break, so shouldnt the patch be checked-in to fix the issue
You need to log in
before you can comment on or make changes to this bug.
Description
•