Closed
Bug 1052842
Opened 10 years ago
Closed 10 years ago
Use enums for NetworkSelectionMode in nsIMobileConnectionProvider.idl
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.1 S7 (24Oct)
People
(Reporter: anshulj, Assigned: jessica)
References
Details
Attachments
(5 files, 4 obsolete files)
2.63 KB,
patch
|
jessica
:
review+
|
Details | Diff | Splinter Review |
10.58 KB,
patch
|
jessica
:
review+
|
Details | Diff | Splinter Review |
3.22 KB,
patch
|
jessica
:
review+
|
Details | Diff | Splinter Review |
3.18 KB,
patch
|
jessica
:
review+
|
Details | Diff | Splinter Review |
1.90 KB,
patch
|
hsinyi
:
review+
|
Details | Diff | Splinter Review |
The bug 898445 introduced the MobileNetworkSelectionMode enum in the MozMobileConnection.webidl but no corresponding constants were added in nsIMobileConnectionProvider.idl. Please consider adding enums for network selection mode for getNetworkSelectionMode API in nsIMobileConnectionProvider.idl to strictly define the IPDL interface.
Assignee | ||
Updated•10 years ago
|
QA Contact: jjong
Comment 1•10 years ago
|
||
Jessica, I guess you wanna take this bug instead of being a QA Contact for this ;)
Assignee: nobody → jjong
QA Contact: jjong
Assignee | ||
Comment 2•10 years ago
|
||
(In reply to Hsin-Yi Tsai [:hsinyi] from comment #1) > Jessica, I guess you wanna take this bug instead of being a QA Contact for > this ;) Yes! thank you Hsinyi :)
Assignee | ||
Comment 3•10 years ago
|
||
Assignee | ||
Comment 4•10 years ago
|
||
Assignee | ||
Comment 5•10 years ago
|
||
Assignee | ||
Comment 6•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Attachment #8505369 -
Flags: review?(htsai)
Assignee | ||
Updated•10 years ago
|
Attachment #8505370 -
Flags: feedback?(echen)
Assignee | ||
Updated•10 years ago
|
Attachment #8505372 -
Flags: review?(echen)
Comment 7•10 years ago
|
||
Comment on attachment 8505369 [details] [diff] [review] Part 1: idl changes, v1. Review of attachment 8505369 [details] [diff] [review]: ----------------------------------------------------------------- Thank you, Jessica!
Attachment #8505369 -
Flags: review?(htsai) → review+
Comment 8•10 years ago
|
||
Comment on attachment 8505370 [details] [diff] [review] Part 2: dom/ipc changes, v1. Review of attachment 8505370 [details] [diff] [review]: ----------------------------------------------------------------- r=me given that the change here is trivial. Thank you. ::: dom/mobileconnection/Assertions.cpp @@ +11,5 @@ > +#define ASSERT_NETWORK_SELECTION_MODE_EQUALITY(webidlState, xpidlState) \ > + static_assert(static_cast<int32_t>(MobileNetworkSelectionMode::webidlState) == nsIMobileConnection::xpidlState, \ > + "MobileNetworkSelectionMode::" #webidlState " should equal to nsIMobileConnection::" #xpidlState) > + > + nit: one blank should be enough. @@ +15,5 @@ > + > + ASSERT_NETWORK_SELECTION_MODE_EQUALITY(Automatic, NETWORK_SELECTION_MODE_AUTOMATIC); > + ASSERT_NETWORK_SELECTION_MODE_EQUALITY(Manual, NETWORK_SELECTION_MODE_MANUAL); > + > + Ditto.
Attachment #8505370 -
Flags: feedback?(echen) → review+
Comment 9•10 years ago
|
||
Comment on attachment 8505372 [details] [diff] [review] Part 3: gonk changes, v1. Review of attachment 8505372 [details] [diff] [review]: ----------------------------------------------------------------- Thank you.
Attachment #8505372 -
Flags: review?(echen) → review+
Assignee | ||
Comment 10•10 years ago
|
||
Comment on attachment 8505963 [details] [diff] [review] Part 4: bt changes, v1. Ben, we are using integer values instead of strings for selection mode to match MobileNetworkSelectionMode enum in webidl. May I have your review? Thanks.
Attachment #8505963 -
Flags: review?(btian)
Comment 11•10 years ago
|
||
Comment on attachment 8505963 [details] [diff] [review] Part 4: bt changes, v1. Review of attachment 8505963 [details] [diff] [review]: ----------------------------------------------------------------- LGTM.
Attachment #8505963 -
Flags: review?(btian) → review+
Assignee | ||
Comment 12•10 years ago
|
||
Rebase and add r=hsinyi
Attachment #8505369 -
Attachment is obsolete: true
Attachment #8508480 -
Flags: review+
Assignee | ||
Comment 13•10 years ago
|
||
Rebase, address nits in comment 8 and add r=echen
Attachment #8505370 -
Attachment is obsolete: true
Attachment #8508481 -
Flags: review+
Assignee | ||
Comment 14•10 years ago
|
||
Rebase and add r=echen
Attachment #8505372 -
Attachment is obsolete: true
Attachment #8508483 -
Flags: review+
Assignee | ||
Comment 15•10 years ago
|
||
Rebase and add r=btian Thanks for the review!
Attachment #8505963 -
Attachment is obsolete: true
Attachment #8508486 -
Flags: review+
Assignee | ||
Comment 16•10 years ago
|
||
try looks good: https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=a84a7e7de4e9
Assignee | ||
Comment 17•10 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/febb1c493787 https://hg.mozilla.org/integration/b2g-inbound/rev/31aa7c1afbaf https://hg.mozilla.org/integration/b2g-inbound/rev/76b4ab718c94 https://hg.mozilla.org/integration/b2g-inbound/rev/fffcb91f4fd1
Comment 18•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/febb1c493787 https://hg.mozilla.org/mozilla-central/rev/31aa7c1afbaf https://hg.mozilla.org/mozilla-central/rev/76b4ab718c94 https://hg.mozilla.org/mozilla-central/rev/fffcb91f4fd1
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•10 years ago
|
OS: Windows 7 → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Target Milestone: --- → 2.1 S7 (24Oct)
Assignee | ||
Comment 19•10 years ago
|
||
I missed this. :(
Assignee | ||
Updated•10 years ago
|
Attachment #8510955 -
Flags: review?(htsai)
Comment 20•10 years ago
|
||
Comment on attachment 8510955 [details] [diff] [review] (follow-up): nsIGonkMobileConnectionService.idl changes. Review of attachment 8510955 [details] [diff] [review]: ----------------------------------------------------------------- Thanks!
Attachment #8510955 -
Flags: review?(htsai) → review+
Comment 21•10 years ago
|
||
Reopened for the follow-up part.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 22•10 years ago
|
||
try for follow-up part: https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=43a0498c4ea6
Assignee | ||
Comment 23•10 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/129bd767cbfa
Comment 24•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/129bd767cbfa
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•