@@ -552,6 +552,8 @@ <h3>Steps</h3>
552
552
Data (TP-UD) field of the SMS message
553
553
< li > set the < code > state</ code > of the < code > SmsMessage</ code > to
554
554
'received'
555
+ < li > set the < code > deliveryStatus</ code > of the < code > SmsMessage</ code > to
556
+ 'not-applicable'
555
557
< li > < a > queue a task</ a > to < a > fire an event</ a > named
556
558
< code > < a > received</ a > </ code > with the < code > message</ code > attribute set
557
559
to the newly created < code > SmsMessage</ code > instance.
@@ -604,6 +606,9 @@ <h3>Steps</h3>
604
606
< li > set the < code > state</ code > of the < code > MmsMessage</ code > to
605
607
'received' if the message has been downloaded or otherwise to
606
608
'not-downloaded'
609
+ < li > add a new element in the < code > deliveryStatus</ code > array of the
610
+ < code > MmsMessage</ code > for each of recipients in the 'To', 'Cc' and 'Bcc'
611
+ fields with value 'not-applicable'
607
612
< li > < a > queue a task</ a > to < a > fire an event</ a > named
608
613
< code > < a > received</ a > </ code > with the < code > message</ code > attribute set
609
614
to the newly created < code > MmsMessage</ code > instance.
@@ -818,7 +823,8 @@ <h3>Steps</h3>
818
823
< li > set the < code > state</ code > of the < code > SmsMessage</ code > to
819
824
'sending'
820
825
< li > set the < code > deliveryStatus</ code > of the < code > SmsMessage</ code > to
821
- 'pending' if a delivery report has been requested.
826
+ 'pending' if a delivery report has been requested or to 'not-applicable'
827
+ otherwise.
822
828
< li > Make a request to the system to send an SMS message with text passed
823
829
in the < code > text</ code > parameter to the number of the recipient
824
830
indicated in the < code > to</ code > parameter, using the proper service as
@@ -1036,7 +1042,8 @@ <h3>Steps</h3>
1036
1042
< li > add a new element in the < code > deliveryStatus</ code > array of the
1037
1043
< code > MmsMessage</ code > for each of the addresses included in the
1038
1044
< code > to</ code > , < code > cc</ code > and < code > bcc</ code > parameters, with
1039
- value 'pending' if a delivery report has been requested.
1045
+ value 'pending' if a delivery report has been requested or with value
1046
+ 'not-applicable' otherwise.
1040
1047
< li > Make a request to the system to send an MMS message with the content
1041
1048
passed in the < code > content</ code > parameter to the number(s) of indicated
1042
1049
in the < code > to</ code > parameter, using the proper service as described
@@ -1252,12 +1259,12 @@ <h2><a>SmsMessage</a> Interface</h2>
1252
1259
< dt > readonly attribute DOMString? deliveryStatus</ dt >
1253
1260
< dd > MUST return 'success' if the SMS message has been succesfully delivered
1254
1261
to the recipient, 'pending' if it is pending delivery, 'error' if the
1255
- delivery has failed. It MUST return null if the delivery status is not
1256
- applicable either because a delivery report has not been requested or the
1257
- message is an inbound message.
1262
+ delivery has failed. It MUST return 'not-applicable' if the delivery status
1263
+ is not applicable either because a delivery report has not been requested or
1264
+ the message is an inbound message.
1258
1265
</ dd >
1259
1266
1260
- < dt > readonly attribute DOMString? messageClass</ dt >
1267
+ < dt > readonly attribute DOMString messageClass</ dt >
1261
1268
< dd > MUST return the SMS message class, with possible values: 'class-0',
1262
1269
'class-1', 'class-2', 'class-3' or 'normal' (same as 'class-1'), according
1263
1270
to the value indicated in the TP-Data-Coding-Scheme (TP-DCS) field of the
@@ -1278,19 +1285,19 @@ <h2><a>MmsMessage</a> Interface</h2>
1278
1285
< dd > MUST return an array containing the recipient(s) included
1279
1286
in the 'To' field of the MMS message.</ dd >
1280
1287
1281
- < dt > readonly attribute DOMString[]? cc</ dt >
1288
+ < dt > readonly attribute DOMString[] cc</ dt >
1282
1289
< dd > MUST return an array containing the recipient(s) included
1283
1290
in the 'Cc' field of the MMS message.</ dd >
1284
1291
1285
- < dt > readonly attribute DOMString[]? bcc</ dt >
1292
+ < dt > readonly attribute DOMString[] bcc</ dt >
1286
1293
< dd > MUST return an array containing the recipient(s) included
1287
1294
in the 'Bcc' field of the MMS message.</ dd >
1288
1295
1289
- < dt > readonly attribute DOMString? subject</ dt >
1296
+ < dt > readonly attribute DOMString subject</ dt >
1290
1297
< dd > MUST return the subject of the MMS message, corresponding to the
1291
1298
'Subject' field of the MMS message.</ dd >
1292
1299
1293
- < dt > readonly attribute Document? smil</ dt >
1300
+ < dt > readonly attribute Document smil</ dt >
1294
1301
< dd > MUST return the SMIL document, i.e. the presentation element that
1295
1302
determines the way the content of the MMS message MUST be displayed.</ dd >
1296
1303
@@ -1302,15 +1309,15 @@ <h2><a>MmsMessage</a> Interface</h2>
1302
1309
values: 'received', 'draft', 'sending', 'sent', 'failed' and
1303
1310
'not-downloaded'.</ dd >
1304
1311
1305
- < dt > readonly attribute DOMString? deliveryStatus[]</ dt >
1312
+ < dt > readonly attribute DOMString deliveryStatus[]</ dt >
1306
1313
< dd > MUST return an array with each of the elements indicating the delivery
1307
1314
status to each of the recipients of the message, in order starting with the
1308
1315
recipients in the 'To' field, followed by those in 'Cc' and ending with
1309
1316
those in 'Bcc'. The possible values indicate whether the MMS message has
1310
1317
been succesfully delivered to the recipient ('success'), it is pending
1311
- delivery ('pending'), the delivery has failed ('error'). It MUST return null
1312
- if a delivery report has not been requested or the message is an inbound
1313
- message.</ dd >
1318
+ delivery ('pending'), the delivery has failed ('error'). It MUST return
1319
+ 'not-applicable' if a delivery report has not been requested or the message
1320
+ is an inbound message.</ dd >
1314
1321
1315
1322
</ dl >
1316
1323
</ section >
@@ -1404,7 +1411,7 @@ <h2><a>Conversation</a> Interface</h2>
1404
1411
return the union of the participants of all the messages in the
1405
1412
conversation.</ dd >
1406
1413
1407
- < dt > readonly attribute DOMString? subject</ dt >
1414
+ < dt > readonly attribute DOMString subject</ dt >
1408
1415
< dd > MUST return the subject of the conversation, if there is a single
1409
1416
one.</ dd >
1410
1417
0 commit comments