Closed Bug 857005 Opened 7 years ago Closed 3 years ago

WebSMS: provide nsIDOMMozMobileMessageManager.sendSMS(...)

Categories

(Core :: DOM: Device Interfaces, defect)

ARM
Gonk (Firefox OS)
defect
Not set

Tracking

()

RESOLVED WONTFIX

People

(Reporter: airpingu, Unassigned)

References

Details

We need to provide a new interface for nsIDOMMozMobileMessageManager.sendSMS(...), which is proposed at bug 760065. In the future, we'll deprecate .mozSms and use .mozMobileMessage instead. Therefore, we cannot no longer use nsIDOMMozSmsManager.send(...) to send an SMS.

Let's change:

  interface nsIDOMMozMobileMessageManager : nsIDOMEventTarget
  {
    jsval send(in jsval number, in DOMString message);
  };

to:

  dictionary SmsParameters
  {
    DOMString receiver;
    DOMString text;
  };

  interface nsIDOMMozMobileMessageManager : nsIDOMEventTarget
  {
    nsIDOMDOMRequest sendSMS(in jsval parameters /*SmsParameters*/);
  };
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Summary: B2G SMS & MMS: provide nsIDOMMozMobileMessageManager.sendSMS(...) → WebSMS: provide nsIDOMMozMobileMessageManager.sendSMS(...)
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.