Closed Bug 885652 Opened 12 years ago Closed 12 years ago

B2G SMS: DOMRequest in sending SMS API does not trigger onsuccess or onerror function when the SIM card is not installed or radio is disabled.

Categories

(Core :: DOM: Device Interfaces, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla24
blocking-b2g leo+
Tracking Status
firefox22 --- wontfix
firefox23 --- wontfix
firefox24 --- fixed
b2g18 --- fixed
b2g18-v1.0.0 --- wontfix
b2g18-v1.0.1 --- wontfix
b2g-v1.1hd --- fixed

People

(Reporter: evanxd, Assigned: airpingu)

References

Details

(Whiteboard: TaipeiWW [fixed-in-birch])

Attachments

(1 file, 2 obsolete files)

Send SMS with mozMobileMessage.send(), the request.onsuccess or request.onerror was never triggered in the DOMRequest. This bug is blocking Bug 880257. Because if the bug is not resolved, we can not remove the error handle from here https://github.com/mozilla-b2g/gaia/blob/master/apps/sms/js/thread_ui.js#L1369 in Gaia layer.
Blocks: 876799
OS: Mac OS X → Gonk (Firefox OS)
Hardware: x86 → ARM
Summary: B2G SMS: DOMRequest in sending SMS API does not trigger onsuccess or onerror function → B2G SMS: DOMRequest in sending SMS API does not trigger onsuccess or onerror function when the SIM card is not installed or radio is disabled.
Component: General → DOM: Device Interfaces
Depends on: 880561
Product: Boot2Gecko → Core
This is blocking a leo+, and we need work here for having this functionality working as expected. Dietrich, could you help us with this? Thanks!
Flags: needinfo?(dietrich)
No longer depends on: 880561
Let me help with this.
Assignee: nobody → gene.lian
Attached patch Patch (obsolete) — Splinter Review
It's a 5-minute patch. Will write a test case for this later.
Thanks Gene! And see u in Taipei next week! :)
Whiteboard: TaipeiWW
Attached patch Patch, V2 (obsolete) — Splinter Review
Attachment #765863 - Attachment is obsolete: true
Attachment #766624 - Flags: review?(vyang)
Comment on attachment 766624 [details] [diff] [review] Patch, V2 Review of attachment 766624 [details] [diff] [review]: ----------------------------------------------------------------- Wonderful~
Attachment #766624 - Flags: review?(vyang) → review+
Attached patch Patch, V2.1Splinter Review
Ready to land.
Attachment #766624 - Attachment is obsolete: true
Attachment #766634 - Flags: review+
Whiteboard: TaipeiWW → TaipeiWW [fixed-in-birch]
Ping Dietrich? We need to uplift this to b2g18 as well. Thanks!
blocking-b2g: leo? → leo+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
Blocks: b2g-mms
Flags: needinfo?(dietrich)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: