2013-06-18 22:48:45 +04: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 13:34:31 +03:00
|
|
|
[Pref="dom.sms.enabled",
|
2015-07-14 05:25:26 +03:00
|
|
|
CheckAnyPermissions="sms",
|
2015-01-05 13:34:31 +03:00
|
|
|
AvailableIn="CertifiedApps",
|
|
|
|
Constructor(DOMString type, optional MozSmsEventInit eventInitDict)]
|
2013-06-18 22:48:45 +04:00
|
|
|
interface MozSmsEvent : Event
|
|
|
|
{
|
2015-10-19 13:44:25 +03:00
|
|
|
readonly attribute SmsMessage? message;
|
2013-06-18 22:48:45 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
dictionary MozSmsEventInit : EventInit
|
|
|
|
{
|
2015-10-19 13:44:25 +03:00
|
|
|
SmsMessage? message = null;
|
2013-06-18 22:48:45 +04:00
|
|
|
};
|