Closed
Bug 944725
Opened 11 years ago
Closed 11 years ago
B2G RIL: const the error message returned by icc.read/updateContact.
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
1.3 Sprint 6 - 12/6
People
(Reporter: allstars.chh, Assigned: allstars.chh)
References
Details
Attachments
(2 files, 4 obsolete files)
4.81 KB,
patch
|
allstars.chh
:
review+
|
Details | Diff | Splinter Review |
13.50 KB,
patch
|
allstars.chh
:
review+
|
Details | Diff | Splinter Review |
We should make the error message returned icc.read/updateContact more consistent. Maybe const them into ril_const.js.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → allstars.chh
Assignee | ||
Comment 1•11 years ago
|
||
Assignee | ||
Comment 2•11 years ago
|
||
Assignee | ||
Comment 3•11 years ago
|
||
Add tests for PIN2 and ICC IO Error. And update the marionette test as well.
Attachment #8341589 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Attachment #8341588 -
Flags: review?(vyang)
Assignee | ||
Updated•11 years ago
|
Attachment #8341640 -
Flags: review?(vyang)
Comment 4•11 years ago
|
||
Comment on attachment 8341588 [details] [diff] [review] Part 1: unify errorMsg in icc.read/updateContacts. Review of attachment 8341588 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/system/gonk/ril_worker.js @@ +11166,3 @@ > // See GSM11.11, TS 51.011 clause 9.4, and ISO 7816-4 for the error > // description. > let errorMsg = "ICC I/O Error code " + nit: brace all errorMsg related lines with DEBUG.
Attachment #8341588 -
Flags: review?(vyang) → review+
Updated•11 years ago
|
Attachment #8341640 -
Flags: review?(vyang) → review+
Assignee | ||
Comment 5•11 years ago
|
||
move errorMsg inside processICCIOError into if (DEBUG)
Attachment #8341588 -
Attachment is obsolete: true
Attachment #8342116 -
Flags: review+
Assignee | ||
Comment 6•11 years ago
|
||
Try https://tbpl.mozilla.org/?tree=Try&rev=412511c42c67
Assignee | ||
Comment 7•11 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/deaef09b17c1 https://hg.mozilla.org/integration/b2g-inbound/rev/82345b162c51
Comment 8•11 years ago
|
||
(In reply to Yoshi Huang[:allstars.chh][:yoshi] from comment #7) > https://hg.mozilla.org/integration/b2g-inbound/rev/deaef09b17c1 > https://hg.mozilla.org/integration/b2g-inbound/rev/82345b162c51 sorry, had to backout this change since this caused a bustage in marionette-webapi tests like https://tbpl.mozilla.org/php/getParsedLog.php?id=31431202&tree=B2g-Inbound
Assignee | ||
Comment 9•11 years ago
|
||
Oh, it seems I push the older patch in Comment 7. Sorry for the trouble here.
Assignee | ||
Comment 10•11 years ago
|
||
Comment on attachment 8341640 [details] [diff] [review] Part 2: add xpcshell-tests for tesring returned errorMsg. v2 Review of attachment 8341640 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/system/gonk/tests/test_ril_worker_icc.js @@ +1959,5 @@ > + USIM_PBR_FIELDS.push("pbc"); > + do_test({contactType: "adn", contact: {contactId: ICCID + "1"}}, > + CONTACT_ERR_FIELD_NOT_SUPPORTED); > + > + // Error 7, EF_PBR doesn't exist. Typo here, should be Error 8.
Assignee | ||
Comment 11•11 years ago
|
||
Fixed typo.
Attachment #8341640 -
Attachment is obsolete: true
Attachment #8342393 -
Flags: review+
Assignee | ||
Comment 12•11 years ago
|
||
rebase
Attachment #8342116 -
Attachment is obsolete: true
Attachment #8342796 -
Flags: review+
Assignee | ||
Comment 13•11 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/aa1af723d28d https://hg.mozilla.org/integration/b2g-inbound/rev/1d8604c150e7 with try https://tbpl.mozilla.org/?tree=Try&rev=9516f808944e
Comment 14•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/aa1af723d28d https://hg.mozilla.org/mozilla-central/rev/1d8604c150e7
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → 1.3 Sprint 6 - 12/6
You need to log in
before you can comment on or make changes to this bug.
Description
•