Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit aefb7d8

Browse files
author
Eduardo Fullea
committed
Merge pull request #51 from efullea/gh-pages
Several bug fixes
2 parents 286f704 + 474152a commit aefb7d8

File tree

1 file changed

+34
-28
lines changed

1 file changed

+34
-28
lines changed

index.html

Lines changed: 34 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,11 @@ <h2><a>MessagingManager</a> Interface</h2>
241241
<dt>DOMString messageID</dt> <dd>
242242
Identifier of the message that is requested to be marked as
243243
read or unread
244-
</dd> <dt>boolean value</dt> <dd>
245-
Indicates whether the message is to be marked as read (if 'true') or
246-
unread (if 'false')
244+
</dd>
245+
<dt>optional boolean value = true</dt>
246+
<dd>
247+
Indicates whether the message is to be marked as read ('true',
248+
which is the default) or unread ('false')
247249
</dd>
248250
</dl>
249251
</dd>
@@ -257,9 +259,11 @@ <h2><a>MessagingManager</a> Interface</h2>
257259
<dt>DOMString conversationID</dt> <dd>
258260
Identifier of the conversation whose messages are requested to be
259261
marked as read or unread
260-
</dd> <dt>boolean value</dt> <dd>
262+
</dd>
263+
<dt>optional boolean value = true</dt>
264+
<dd>
261265
Indicates whether the messages in the conversation are to be marked as
262-
read (if 'true') or unread (if 'false')
266+
read ('true', which is the default) or unread ('false')
263267
</dd>
264268
</dl>
265269
</dd>
@@ -599,7 +603,7 @@ <h3>Steps</h3>
599603
<li>Set the <code>timestamp</code> of the <code>SmsMessage</code> to the
600604
timestamp when the SMS message reached the Short Message Center, i.e. the
601605
value of the TP-Service-Centre-Time-Stamp (TP-SCTS) parameter returned in
602-
the SMS-SUBMIT-REPORT Protocol Data Unit.
606+
the SMS-SUBMIT-REPORT Protocol Data Unit [[!GSM-SMS]].
603607
<li>Call <var>resolver</var>'s <code>accept(value)</code>method with
604608
the sent <code>SmsMessage</code> as <code>value</code> argument.
605609
<li><a>Queue a task</a> to <a>fire an event</a> named <code>sent</code>
@@ -648,21 +652,21 @@ <h3>Steps</h3>
648652
identifier of the service at which the message has been received.
649653
<li>Set the <code>from</code> of the <code>SmsMessage</code> to the
650654
sender of the SMS message, i.e. the value of the TP Originating Address
651-
(TP-OA) field of the SMS message.
655+
(TP-OA) field of the SMS message [[!GSM-SMS]].
652656
<li>Set the <code>timestamp</code> of the <code>SmsMessage</code> to the
653657
timestamp of the SMS message, i.e. the value of the
654658
TP-Service-Centre-Time-Stamp (TP-SCTS) parameter received in the SMS
655-
DELIVER Protocol Data Unit.
659+
DELIVER Protocol Data Unit [[!GSM-SMS]].
656660
<li>Set the <code>read</code> of the <code>SmsMessage</code> to 'false'.
657661
<li>Set the <code>to</code> of the <code>SmsMessage</code> to the
658662
recipient of the SMS message, i.e. the value of the TP Destination
659-
Address (TP-DA) field of the SMS message.
663+
Address (TP-DA) field of the SMS message [[!GSM-SMS]].
660664
<li>Set the <code>messageClass</code> of the <code>SmsMessage</code> to
661665
the message class indicated in the TP-Data-Coding-Scheme (TP-DCS) field of
662-
the SMS.
666+
the SMS message [[!GSM-SMS]].
663667
<li>Set the <code>body</code> element to the text of the received SMS
664668
message, i.e. the value of the SM element contained within the TP User
665-
Data (TP-UD) field of the SMS message.
669+
Data (TP-UD) field of the SMS message [[!GSM-SMS]].
666670
<li>Set the <code>state</code> of the <code>SmsMessage</code> to
667671
'received'.
668672
<li>Set the <code>deliveryStatus</code> of the <code>SmsMessage</code> to
@@ -1063,18 +1067,19 @@ <h3>Steps</h3>
10631067
<li>Set the <code>timestamp</code> of the <code>MmsMessage</code> to
10641068
the timestamp of the binary SMS message used to transport the MMS
10651069
notification, i.e. the value of the TP-Service-Centre-Time-Stamp
1066-
(TP-SCTS) parameter received in the SMS-DELIVER Protocol Data Unit.
1070+
(TP-SCTS) parameter received in the SMS-DELIVER Protocol Data Unit
1071+
[[!GSM-SMS]].
10671072
<li>Add a new element in the <code>to</code> array of the
10681073
<code>MmsMessage</code> for each of recipients in the 'To' field of the
1069-
MMS notification, if present.
1074+
MMS notification [[!MMS13]], if present.
10701075
<li>Add a new element in the <code>cc</code> array of the
10711076
<code>MmsMessage</code> for each of recipients in the 'Cc' field of the
1072-
MMS notification, if present.
1077+
MMS notification [[!MMS13]], if present.
10731078
<li>Add a new element in the <code>bcc</code> array of the
10741079
<code>MmsMessage</code> for each of recipients in the 'Bcc' field of the
1075-
MMS notification, if present.
1080+
MMS notification [[!MMS13]], if present.
10761081
<li>Set the <code>subject</code> element to the value of the 'Subject'
1077-
field of the MMS notification, if present.
1082+
field of the MMS notification [[!MMS13]], if present.
10781083
<li>Set the <code>state</code> of the <code>MmsMessage</code> to
10791084
'not-downloaded'.
10801085
</ol>
@@ -1089,33 +1094,33 @@ <h3>Steps</h3>
10891094
message enclosed in the M-Retrieve.conf Protocol Data Unit</dfn>.
10901095
<ol>
10911096
<li>Set the <code>from</code> of the <code>MmsMessage</code> to the
1092-
value of the 'From' field of the MMS message.
1097+
value of the 'From' field of the MMS message [[!MMS13]].
10931098
<li>Set the <code>timestamp</code> of the <code>MmsMessage</code> to
1094-
the value of the 'Date' field of the MMS message.
1099+
the value of the 'Date' field of the MMS message [[!MMS13]].
10951100
<li>Add a new element in the <code>to</code> array of the
10961101
<code>MmsMessage</code> for each of recipients in the 'To' field of the
1097-
MMS message, if present.
1102+
MMS message [[!MMS13]], if present.
10981103
<li>Add a new element in the <code>cc</code> array of the
10991104
<code>MmsMessage</code> for each of recipients in the 'Cc' field of the
1100-
MMS message, if present.
1105+
MMS message [[!MMS13]], if present.
11011106
<li>Add a new element in the <code>bcc</code> array of the
11021107
<code>MmsMessage</code> for each of recipients in the 'Bcc' field of the
1103-
MMS message, if present.
1108+
MMS message [[!MMS13]], if present.
11041109
<li>Set the <code>subject</code> element to the value of the 'Subject'
1105-
field of the MMS message, if present.
1110+
field of the MMS message [[!MMS13]], if present.
11061111
<li>Set the <code>smil</code> element to a <code>DOMString</code>
1107-
containing the SMIL object of the received MMS message, if present.
1112+
containing the SMIL object of the received MMS message [[!MMS13]], if present.
11081113
<li>For each of the media files attached to the received MMS message add a
11091114
new element to the <code>attachments</code> array with:
11101115
<ol>
11111116
<li>A new <code>Blob</code> object including the media type and the
11121117
actual content of the attachment.
11131118
<li>The <code>contentID</code> attribute filled with the Content-ID used
11141119
to reference this element from the SMIL object in the incoming MMS
1115-
message, if present.
1120+
message [[!MMS13]], if present.
11161121
<li>The <code>contentLocation</code> attribute filled with the
11171122
Content-Location used to reference this element from the SMIL object in
1118-
the incoming MMS message, if present.
1123+
the incoming MMS message [[!MMS13]], if present.
11191124
</ol>
11201125
</ol>
11211126
<li>Set the <code>state</code> of the <code>MmsMessage</code> to
@@ -1401,16 +1406,17 @@ <h2><a>MmsMessage</a> Interface</h2>
14011406
'Subject' field of the MMS message.</dd>
14021407

14031408
<dt>readonly attribute DOMString smil</dt>
1404-
<dd>MUST return the SMIL document, i.e. the presentation element that
1405-
determines the way the content of the MMS message MUST be displayed.</dd>
1409+
<dd>MUST return the SMIL, i.e. the presentation element, unparsed as
1410+
DOMString, that the messaging client needs to use to determine the way the
1411+
content of the MMS message is displayed.</dd>
14061412

14071413
<dt>readonly attribute MmsAttachments[]? attachments</dt>
14081414
<dd>MUST return the set of attachments of the MMS message.</dd>
14091415

14101416
<dt>readonly attribute MmsState state</dt>
14111417
<dd>MUST return the status of the MMS message.</dd>
14121418

1413-
<dt>readonly attribute DeliveryStatus deliveryStatus[]</dt>
1419+
<dt>readonly attribute DeliveryStatus[] deliveryStatus</dt>
14141420
<dd>MUST return an array with each of the elements indicating the delivery
14151421
status to each of the recipients of the message, in order starting with the
14161422
recipients in the 'To' field, followed by those in 'Cc' and ending with

0 commit comments

Comments
 (0)