Closed
Bug 775038
Opened 14 years ago
Closed 14 years ago
B2G MMS: various small defects in WSP/MMS PDU parsers
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
FIXED
mozilla17
People
(Reporter: vicamo, Assigned: vicamo)
References
Details
Attachments
(4 files, 3 obsolete files)
|
27.70 KB,
patch
|
philikon
:
review+
|
Details | Diff | Splinter Review |
|
4.05 KB,
patch
|
philikon
:
review+
|
Details | Diff | Splinter Review |
|
5.66 KB,
patch
|
philikon
:
review+
|
Details | Diff | Splinter Review |
|
5.70 KB,
patch
|
Details | Diff | Splinter Review |
There are a few bugs/defects in WSP/MMS PDU decoder that have to be fixed/refactored before landing encoder code.
| Assignee | ||
Comment 1•14 years ago
|
||
Attachment #643319 -
Flags: review?(philipp)
| Assignee | ||
Comment 2•14 years ago
|
||
Attachment #643320 -
Flags: review?(philipp)
| Assignee | ||
Comment 3•14 years ago
|
||
Attachment #643321 -
Flags: review?(philipp)
Comment 4•14 years ago
|
||
Comment on attachment 643319 [details] [diff] [review]
Part 1: fix minor defects
Review of attachment 643319 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/mms/src/ril/MmsPduHelper.jsm
@@ +1026,5 @@
> },
>
> /**
> * Check existences of all mandatory fields of a MMS message. Also sets `type`
> + * for convient access.
"convenient"?
Attachment #643319 -
Flags: review?(philipp) → review+
Comment 5•14 years ago
|
||
Comment on attachment 643320 [details] [diff] [review]
Part 2: Refactor X-Mms-Retrieve-Status decoding
Review of attachment 643320 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/mms/tests/test_mms_pdu_helper.js
@@ +132,5 @@
> null, "NotWellKnownEncodingError");
> // Test for normal header
> wsp_encode_test(MMS.MmsHeader, {name: "X-Mms-Message-Type",
> + value: /*MMS.MMS_PDU_TYPE_SEND_REQ*/128},
> + [0x80 | 0x0C, /*MMS.MMS_PDU_TYPE_SEND_REQ*/128]);
Why not use the consts here?
Attachment #643320 -
Flags: review?(philipp) → review+
Updated•14 years ago
|
Attachment #643321 -
Flags: review?(philipp) → review+
| Assignee | ||
Comment 6•14 years ago
|
||
1. address review comment #4
2. "Date" is also a mandatory field for M-Retrieve.req PDU.
Attachment #643319 -
Attachment is obsolete: true
| Assignee | ||
Updated•14 years ago
|
Attachment #644264 -
Flags: review?(philipp)
| Assignee | ||
Comment 7•14 years ago
|
||
fix review comment #5 & clean up
Attachment #644265 -
Flags: review?(philipp)
| Assignee | ||
Comment 8•14 years ago
|
||
fix review comment #5
Attachment #643320 -
Attachment is obsolete: true
Attachment #644266 -
Flags: review?(philipp)
| Assignee | ||
Updated•14 years ago
|
Attachment #644266 -
Attachment description: Part 2: Refactor X-Mms-Retrieve-Status decoding : V2 → Part 3: Refactor X-Mms-Retrieve-Status decoding : V2
| Assignee | ||
Comment 9•14 years ago
|
||
Update r=philikon in summary only. Thanks for your review :)
Attachment #643321 -
Attachment is obsolete: true
Comment 10•14 years ago
|
||
Comment on attachment 644264 [details] [diff] [review]
Part 1: fix minor defects : V2
Review of attachment 644264 [details] [diff] [review]:
-----------------------------------------------------------------
I already r+'ed, no need to ask for review again :)
Attachment #644264 -
Flags: review?(philipp) → review+
Updated•14 years ago
|
Attachment #644265 -
Flags: review?(philipp) → review+
Updated•14 years ago
|
Attachment #644266 -
Flags: review?(philipp) → review+
| Assignee | ||
Comment 11•14 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/ebc12b80a45f
http://hg.mozilla.org/integration/mozilla-inbound/rev/0d9e41c02507
http://hg.mozilla.org/integration/mozilla-inbound/rev/5d9f7e30f66a
http://hg.mozilla.org/integration/mozilla-inbound/rev/be49df587b6b
Target Milestone: --- → mozilla17
Comment 12•14 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ebc12b80a45f
https://hg.mozilla.org/mozilla-central/rev/0d9e41c02507
https://hg.mozilla.org/mozilla-central/rev/5d9f7e30f66a
https://hg.mozilla.org/mozilla-central/rev/be49df587b6b
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•