Closed
Bug 859220
Opened 12 years ago
Closed 12 years ago
B2G RIL: Separate MozIccManager from MozMobileConnection
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
FIXED
mozilla24
People
(Reporter: edgar, Assigned: edgar)
References
Details
(Whiteboard: [fixed-in-birch])
Attachments
(4 files, 13 obsolete files)
3.37 KB,
patch
|
edgar
:
review+
edgar
:
superreview+
|
Details | Diff | Splinter Review |
4.23 KB,
patch
|
edgar
:
review+
|
Details | Diff | Splinter Review |
15.42 KB,
patch
|
edgar
:
review+
|
Details | Diff | Splinter Review |
11.28 KB,
patch
|
edgar
:
review+
|
Details | Diff | Splinter Review |
In bug 857414, we plan to move all icc/sim related stuff into mozIccManger. Currently mozIccManager is inside mozMobileConnection [1]. The very first step is separating mozIccManger from mozMobileConnection and putting it into navigator. In this way, it makes mozIccManager and mozMobileConnection both have a clearly defined functionality. Thanks. [1] http://mxr.mozilla.org/mozilla-central/source/dom/network/interfaces/nsIDOMMobileConnection.idl#59
Assignee | ||
Comment 1•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Attachment #734511 -
Flags: feedback?(bugs)
Assignee | ||
Comment 2•12 years ago
|
||
Hi :smaug, We plan to put all sim/icc related functionality into IccManager, like Sim Toolkit, get icc/sim information, access icc/sim contacts ... etc. In Bug 744714 Comment 75, you had a concern about the naming, 'mozIcc', in .navigator. I would like to use 'mozIccManger' in .navigator to make this property more clear. Do you have any suggestion? :) Thanks
Comment 3•12 years ago
|
||
Comment on attachment 734511 [details] [diff] [review] Part 1: Separate mozIccManager from mozMobileConnection (IDL), v1 nsIDOMNavigatorIccManager should be called nsINavigatorIccManager And yes .iccManager sounds a bit better than .icc. icc doesn't really mean much in web context.
Attachment #734511 -
Flags: feedback?(bugs) → feedback+
Assignee | ||
Comment 4•12 years ago
|
||
Address smaug's feedback in comment #3. Thanks.
Attachment #734511 -
Attachment is obsolete: true
Assignee | ||
Comment 5•12 years ago
|
||
Assignee | ||
Comment 6•12 years ago
|
||
Assignee | ||
Comment 7•12 years ago
|
||
Assignee | ||
Comment 8•12 years ago
|
||
Remove forward declaration ,'interface nsIDOMMozIccManager', in nsIDOMMobileConnection.idl.
Attachment #735065 -
Attachment is obsolete: true
Assignee | ||
Comment 9•12 years ago
|
||
Change the UUID of nsIDOMMozMobileConnection
Attachment #738307 -
Attachment is obsolete: true
Assignee | ||
Updated•12 years ago
|
Attachment #738310 -
Flags: superreview?(jonas)
Attachment #738310 -
Flags: review?(allstars.chh)
Assignee | ||
Comment 10•12 years ago
|
||
1). Rebase 2). Use 'mobileconnection' permission. (bug 848684 comment #3)
Attachment #735066 -
Attachment is obsolete: true
Assignee | ||
Updated•12 years ago
|
Attachment #738314 -
Flags: review?(bugs)
Assignee | ||
Comment 11•12 years ago
|
||
Use 'mobileconnection' permission. (bug 848684 comment #3)
Attachment #735067 -
Attachment is obsolete: true
Assignee | ||
Updated•12 years ago
|
Attachment #738325 -
Flags: review?(allstars.chh)
Assignee | ||
Comment 12•12 years ago
|
||
Use 'mobileconnection' permission. (bug 848684 comment #3)
Attachment #735068 -
Attachment is obsolete: true
Assignee | ||
Updated•12 years ago
|
Attachment #738327 -
Flags: review?(allstars.chh)
Attachment #738310 -
Flags: review?(allstars.chh) → review+
Comment on attachment 738325 [details] [diff] [review] Part 3: Separate IPC messages in RadioInterfaceLayer, v2 Review of attachment 738325 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/system/gonk/RadioInterfaceLayer.js @@ +1912,5 @@ > for (let msgname of RIL_IPC_MOBILECONNECTION_MSG_NAMES) { > ppmm.removeMessageListener(msgname, this); > } > + for (let msgname of RIL_IPC_ICCMANAGER_MSG_NAMES) { > + ppmm.removeMessageListener(msgname, this); Can you s/msgname/msgName/g in this block?
Attachment #738325 -
Flags: review?(allstars.chh) → review+
Attachment #738327 -
Flags: review?(allstars.chh) → review+
Version: unspecified → Trunk
Assignee | ||
Updated•12 years ago
|
Attachment #738325 -
Attachment is obsolete: true
Comment 15•12 years ago
|
||
Comment on attachment 738314 [details] [diff] [review] Part 2: Separate mozIccManager from mozMobileConnection (DOM), v2 >+//***************************************************************************** >+// nsNavigator::nsINavigatorIccManager nsIMozNavigatorIccManager, right?
Attachment #738314 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 16•12 years ago
|
||
s/nsINavigatorIccManager/nsIMozNavigatorIccManager
Attachment #738314 -
Attachment is obsolete: true
Attachment #738413 -
Flags: review+
Assignee | ||
Comment 17•12 years ago
|
||
try server result: https://tbpl.mozilla.org/?tree=Try&rev=cdae9bf1ed4f
Version: Trunk → unspecified
Assignee | ||
Updated•12 years ago
|
Version: unspecified → Trunk
Assignee | ||
Comment 18•12 years ago
|
||
(In reply to Edgar Chen [:edgar][:echen] from comment #9) > Created attachment 738310 [details] [diff] [review] > Part 1: Separate mozIccManager from mozMobileConnection (IDL), v4 Hi Jonas: This bug is to split IccManager and MobileConnection to have a more clear API design. Needs your help to review the interface changes when your are available. Thanks in advance.
Attachment #738310 -
Flags: superreview?(jonas) → superreview+
Assignee | ||
Comment 19•12 years ago
|
||
We should wait Gaia have a patch for corresponding changes first. (bug 859712)
Assignee | ||
Updated•12 years ago
|
Attachment #747830 -
Flags: review+
Assignee | ||
Updated•12 years ago
|
Attachment #747830 -
Flags: superreview+
Assignee | ||
Comment 21•12 years ago
|
||
Rebase
Attachment #738413 -
Attachment is obsolete: true
Attachment #747831 -
Flags: review+
Assignee | ||
Comment 23•12 years ago
|
||
Rebase
Attachment #738327 -
Attachment is obsolete: true
Attachment #747833 -
Flags: review+
Assignee | ||
Updated•12 years ago
|
Attachment #747832 -
Flags: review+
Assignee | ||
Comment 24•12 years ago
|
||
try server result: https://tbpl.mozilla.org/?tree=Try&rev=ba0de51f23e7 https://tbpl.mozilla.org/?tree=Try&rev=600772e868ae
Assignee | ||
Comment 25•12 years ago
|
||
Rebase
Attachment #747831 -
Attachment is obsolete: true
Attachment #752007 -
Flags: review+
Assignee | ||
Comment 26•12 years ago
|
||
Gaia has already provided corresponding changes, now we can land this.
Keywords: checkin-needed
http://hg.mozilla.org/projects/birch/rev/4bbefbb00abc http://hg.mozilla.org/projects/birch/rev/9668796a2d86 http://hg.mozilla.org/projects/birch/rev/6aa115917a4d http://hg.mozilla.org/projects/birch/rev/7c9541653781
Keywords: checkin-needed
Whiteboard: [fix-in-birch]
Comment 28•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/4bbefbb00abc https://hg.mozilla.org/mozilla-central/rev/9668796a2d86 https://hg.mozilla.org/mozilla-central/rev/6aa115917a4d https://hg.mozilla.org/mozilla-central/rev/7c9541653781
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [fix-in-birch] → [fixed-in-birch]
Target Milestone: --- → mozilla24
You need to log in
before you can comment on or make changes to this bug.
Description
•