Closed Bug 743614 Opened 8 years ago Closed 8 years ago
B2G Wifi: Beef up error checking a little
Right now, calling wifi functions on a disabled wifi manager will try to do something but fail in random places. We should fail earlier and give a better error message. Relatedly we don't handle errors in the case of onscanresultsavailable (which can happen if we turn wifi off between the notification and when we call getScanResults).
Attachment #613238 - Flags: review?(jones.chris.g)
Attachment #613238 - Flags: review?(jones.chris.g) → review+
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla14
You need to log in before you can comment on or make changes to this bug.