Closed
Bug 774708
Opened 12 years ago
Closed 12 years ago
[b2g-bluetooth] Bluetooth event handler registration crashes gecko in the emulator when Bluetooth isn't initialized
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
FIXED
mozilla17
People
(Reporter: marshall, Assigned: marshall)
References
Details
Attachments
(1 file)
(deleted),
patch
|
qdot
:
review+
|
Details | Diff | Splinter Review |
The emulator doesn't have Bluetooth support, so initialization will (correctly) gracefully fails in that situation.
The crashes occur when RegisterBluetoothEventHandler / UnregisterBluetoothEventHandler try to access the static map |sBluetoothEventObserverTable| even though it hasn't been initialized yet. These calls look to be coming from BluetoothManager::Create
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #642993 -
Flags: review?(kyle)
Updated•12 years ago
|
Attachment #642993 -
Flags: review?(kyle) → review+
Comment 2•12 years ago
|
||
Target Milestone: --- → mozilla17
Comment 3•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•