2013-06-18 18:48:45 +00:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*/
|
|
|
|
|
2015-01-05 10:34:31 +00:00
|
|
|
[Pref="dom.sms.enabled",
|
2015-07-14 02:25:26 +00:00
|
|
|
CheckAnyPermissions="sms",
|
2015-01-05 10:34:31 +00:00
|
|
|
AvailableIn="CertifiedApps",
|
|
|
|
Constructor(DOMString type, optional MozSmsEventInit eventInitDict)]
|
2013-06-18 18:48:45 +00:00
|
|
|
interface MozSmsEvent : Event
|
|
|
|
{
|
2015-10-19 10:44:25 +00:00
|
|
|
readonly attribute SmsMessage? message;
|
2013-06-18 18:48:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
dictionary MozSmsEventInit : EventInit
|
|
|
|
{
|
2015-10-19 10:44:25 +00:00
|
|
|
SmsMessage? message = null;
|
2013-06-18 18:48:45 +00:00
|
|
|
};
|