Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #include "domstubs.idl"
6 #include "nsISupports.idl"
8 interface nsIDOMBlob;
10 [scriptable, builtinclass, uuid(f41d7400-0026-11e3-829d-eb7459c03810)]
11 interface nsIDOMMozMmsMessage : nsISupports
12 {
13 /**
14 * |type| is always "mms".
15 */
16 readonly attribute DOMString type;
18 readonly attribute long id;
20 readonly attribute unsigned long long threadId;
22 /**
23 * Integrated Circuit Card Identifier.
24 *
25 * Will be null if ICC is not available.
26 */
27 readonly attribute DOMString iccId;
29 /**
30 * Should be "not-downloaded", "received", "sending", "sent" or "error".
31 */
32 readonly attribute DOMString delivery;
34 [implicit_jscontext]
35 readonly attribute jsval deliveryInfo; // MmsDeliveryInfo[]
37 readonly attribute DOMString sender;
39 [implicit_jscontext]
40 readonly attribute jsval receivers; // DOMString[]
42 readonly attribute DOMTimeStamp timestamp;
44 readonly attribute DOMTimeStamp sentTimestamp;
45 // 0 if not available (e.g., |delivery| =
46 // "sending").
48 readonly attribute boolean read;
49 readonly attribute DOMString subject;
50 readonly attribute DOMString smil;
52 [implicit_jscontext]
53 readonly attribute jsval attachments; // MmsAttachment[]
55 readonly attribute DOMTimeStamp expiryDate; // Expiry date for an MMS to be
56 // manually downloaded.
58 // Request read report from sender or not.
59 readonly attribute boolean readReportRequested;
60 };