Closed Bug 743179 Opened 12 years ago Closed 12 years ago

B2G SMS: error notification for REQUEST_GET_SMSC_ADDRESS failure is not fired

Categories

(Core :: DOM: Device Interfaces, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla14

People

(Reporter: vicamo, Assigned: vicamo)

References

Details

Attachments

(1 file)

Bug 727319 add error notification for REQUEST_GET_SMSC_ADDRESS failure but it will actually never get fired for typo. The lines in REQUEST_GET_SMSC_ADDRESS handler:

  if (options.rilRequestError) {
    if (options.body) {

should be:

  if (options.rilRequestError) {
    if (options.fullBody) {

A better replacement might be checking `options.type == sendSMS` instead.
Note that bug 740238 tries to remove SMSC pre-fetching related code, and this bug just falls into its target range. Since it's still under review & verification on Akami, fixing this bug is still necessary for now.
Attachment #612815 - Flags: review?(philipp) → review+
https://hg.mozilla.org/mozilla-central/rev/26a56a089f89
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla14
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: