Closed
Bug 1128399
Opened 9 years ago
Closed 9 years ago
[Bluetooth][Settings] Handle Dom event 'BluetoothAdapter.onaborted' to cancel confirmation while a remote device cancel the pairing request.
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: iliu, Assigned: iliu)
References
Details
(Whiteboard: [webbt-api])
Attachments
(1 file)
STD: 1. Turn Bluetooth on. 2. Set visible on. 3. Use a remote device to pair with FFOS phone. 4. The pairing dialog shows to wait a user confirmation. 5. Cancel the pairing request from remote device. Expected: The pairing dialog should be close. Actual: The pairing dialog still waits a user confirmation.
Assignee | ||
Comment 1•9 years ago
|
||
Per discussion on Bug 1128383, Gaia will handle the new event 'BluetoothAdapter.onaborted' to cancel the confirmation of incoming pairing request while a remote device has canceled it.
Updated•9 years ago
|
Whiteboard: [webbt-api]
Comment 2•9 years ago
|
||
Bug 1128383 has landed gecko webidl change [1] and implementation. Note adapter.onpairingaborted would fire as long as pairing fails for one of the reasons: 1) authentication error, 2) pairing cancellation, and 3) other internal errors. [1] https://dxr.mozilla.org/mozilla-central/source/dom/webidl/BluetoothAdapter2.webidl#57
Assignee | ||
Updated•9 years ago
|
Status: NEW → ASSIGNED
Comment 3•9 years ago
|
||
Assignee | ||
Comment 4•9 years ago
|
||
Comment on attachment 8584420 [details] [review] [gaia] ian-liu:bluetooth/bug1128399_handle_onpairingaborted_event_for_cancel_pairing_process > mozilla-b2g:master Arthur, Since Bug 1128383 is landed for DOM event 'onpairingaborted', we can watch the event and handle it as handling 'bluetooth-cancel' as before. Could you please help to review my pull request? Thanks.
Attachment #8584420 -
Flags: review?(arthur.chen)
Comment 5•9 years ago
|
||
Comment on attachment 8584420 [details] [review] [gaia] ian-liu:bluetooth/bug1128399_handle_onpairingaborted_event_for_cancel_pairing_process > mozilla-b2g:master r=me with the comment addressed, thanks!
Attachment #8584420 -
Flags: review?(arthur.chen) → review+
Assignee | ||
Comment 6•9 years ago
|
||
Thanks for Arthur's reviewing effort. Updated the patch and wait try-server test process.
Keywords: checkin-needed
Updated•9 years ago
|
Keywords: checkin-needed
Comment 7•9 years ago
|
||
Autolander could not locate a review from a user within the suggested reviewer list. Either the patch author or the reviewer should be in the suggested reviewer list.
Assignee | ||
Updated•9 years ago
|
Component: Bluetooth → Gaia::Settings
Keywords: checkin-needed
Updated•9 years ago
|
Keywords: checkin-needed
Comment 8•9 years ago
|
||
Pull request has landed in master: https://github.com/mozilla-b2g/gaia/commit/320b7f5c0b81f09cce2a39306a15077db8e9bc7d
Updated•9 years ago
|
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
•