Closed
Bug 875721
Opened 11 years ago
Closed 11 years ago
B2G RIL: Move iccInfo related attribute/event from mozMobileConnection to mozIccManager
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
FIXED
mozilla25
People
(Reporter: edgar, Assigned: edgar)
References
Details
Attachments
(6 files, 14 obsolete files)
4.84 KB,
patch
|
edgar
:
review+
|
Details | Diff | Splinter Review |
2.06 KB,
patch
|
edgar
:
review+
|
Details | Diff | Splinter Review |
1.71 KB,
patch
|
edgar
:
review+
|
Details | Diff | Splinter Review |
3.66 KB,
patch
|
edgar
:
review+
|
Details | Diff | Splinter Review |
14.50 KB,
patch
|
edgar
:
review+
edgar
:
superreview+
|
Details | Diff | Splinter Review |
4.85 KB,
patch
|
edgar
:
review+
|
Details | Diff | Splinter Review |
To have a more clear design for mozMobileConnection and mozIccManager, we plan to move all icc/sim-related stuff from mozMobileConnection to mozIccManager as RIL developers have discussed in [1]. This bug is filed for moving iccInfo related attribute/event: - readonly attribute DOMString iccInfo; [2] - [implicit_jscontext] attribute jsval oniccinfochange; [3] [1] https://bugzilla.mozilla.org/show_bug.cgi?id=782603#c42 [2] https://mxr.mozilla.org/mozilla-central/source/dom/network/interfaces/nsIDOMMobileConnection.idl#66 [3] https://mxr.mozilla.org/mozilla-central/source/dom/network/interfaces/nsIDOMMobileConnection.idl#378
Assignee | ||
Comment 1•11 years ago
|
||
And in this bug, I would like to rename nsIDOMMozMobileICCInfo to nsIDOMMozIccInfo. Cause this interface only contains information related to icc, it seems more clear to me without 'Mobile'.
Assignee | ||
Comment 2•11 years ago
|
||
Assignee | ||
Comment 3•11 years ago
|
||
Comment on attachment 756394 [details] [diff] [review] Part 1: Move iccInfo related attribute/event from mozMobileConnection to mozIccManager (IDL), v1 Hi Yoshi/Jonas: I would like to request review for interface changes first. Changes as below: 1. Move iccInfo from mozMobileConnection to mozIccManager. 2. Rename nsIDOMMozMobileICCInfo to nsIDOMMozIccInfo. Thanks
Attachment #756394 -
Flags: superreview?(jonas)
Attachment #756394 -
Flags: review?(allstars.chh)
Attachment #756394 -
Flags: review?(allstars.chh) → review+
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → echen
Assignee | ||
Comment 4•11 years ago
|
||
Assignee | ||
Comment 5•11 years ago
|
||
Assignee | ||
Comment 6•11 years ago
|
||
Assignee | ||
Comment 7•11 years ago
|
||
Assignee | ||
Comment 8•11 years ago
|
||
Comment on attachment 756394 [details] [diff] [review] Part 1: Move iccInfo related attribute/event from mozMobileConnection to mozIccManager (IDL), v1 Review of attachment 756394 [details] [diff] [review]: ----------------------------------------------------------------- I'll defer to the RIL owners here
Attachment #756394 -
Flags: superreview?(jonas) → superreview+
Assignee | ||
Comment 10•11 years ago
|
||
Add r=allstars.chh and sr=sicking after r+ and sr+.
Attachment #756394 -
Attachment is obsolete: true
Attachment #763993 -
Flags: superreview+
Attachment #763993 -
Flags: review+
Assignee | ||
Comment 12•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Attachment #763998 -
Attachment description: Part 5: R → Part 5: RIL implementation changes for iccInfo, v2
Assignee | ||
Updated•11 years ago
|
Attachment #757346 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Attachment #757339 -
Flags: review?(bugs)
Assignee | ||
Updated•11 years ago
|
Attachment #771914 -
Flags: review?(kchen)
Assignee | ||
Updated•11 years ago
|
Attachment #771915 -
Flags: review?(echou)
Assignee | ||
Updated•11 years ago
|
Attachment #771916 -
Flags: review?(allstars.chh)
Assignee | ||
Updated•11 years ago
|
Attachment #757347 -
Flags: review?(allstars.chh)
Updated•11 years ago
|
Attachment #771914 -
Flags: review?(kchen) → review+
Updated•11 years ago
|
Attachment #771915 -
Flags: review?(echou) → review+
Comment on attachment 757347 [details] [diff] [review] Part 6: Fix marionette tests for iccInfo, v1 Review of attachment 757347 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/icc/tests/marionette/test_icc_info.js @@ +11,1 @@ > I think we could do it as let iccInfo = ...; ok(iccInfo ....); And remove all the 'icc.' prefixes below.
Attachment #757347 -
Flags: review?(allstars.chh) → review+
Attachment #771916 -
Flags: review?(allstars.chh) → review+
Updated•11 years ago
|
Attachment #757339 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 17•11 years ago
|
||
Rebase
Attachment #763993 -
Attachment is obsolete: true
Attachment #772487 -
Flags: superreview+
Attachment #772487 -
Flags: review+
Assignee | ||
Comment 18•11 years ago
|
||
Add r=bugs after r+.
Attachment #757339 -
Attachment is obsolete: true
Attachment #772488 -
Flags: review+
Assignee | ||
Comment 19•11 years ago
|
||
Add r=kchen after r+.
Attachment #771914 -
Attachment is obsolete: true
Attachment #772489 -
Flags: review+
Assignee | ||
Comment 20•11 years ago
|
||
Add r=echou after r+.
Attachment #771915 -
Attachment is obsolete: true
Attachment #772492 -
Flags: review+
Assignee | ||
Comment 21•11 years ago
|
||
Add r=allstars.chh after r+.
Attachment #771916 -
Attachment is obsolete: true
Attachment #772493 -
Flags: review+
Assignee | ||
Comment 22•11 years ago
|
||
1). Address review comment #16. 2). Add r=allstars.chh after r+.
Attachment #757347 -
Attachment is obsolete: true
Attachment #772498 -
Flags: review+
Assignee | ||
Comment 23•11 years ago
|
||
Try server: https://tbpl.mozilla.org/?tree=Try&rev=c82aed1c103a https://tbpl.mozilla.org/?tree=Try&rev=cf6f8852c2ee
Assignee | ||
Comment 25•11 years ago
|
||
Rebase
Attachment #772493 -
Attachment is obsolete: true
Attachment #774493 -
Flags: review+
Assignee | ||
Updated•11 years ago
|
Attachment #774492 -
Flags: superreview+
Attachment #774492 -
Flags: review+
Assignee | ||
Comment 26•11 years ago
|
||
Bug 877978 is all r+, we can land patches of gecko and gaia together.
Keywords: checkin-needed
Comment 27•11 years ago
|
||
https://hg.mozilla.org/projects/birch/rev/309c74044e8d https://hg.mozilla.org/projects/birch/rev/51e77c028e72 https://hg.mozilla.org/projects/birch/rev/b37a8382f554 https://hg.mozilla.org/projects/birch/rev/ca4652861e7d https://hg.mozilla.org/projects/birch/rev/42e0eab9d677 https://hg.mozilla.org/projects/birch/rev/ccedb3285544
Flags: in-testsuite+
Keywords: checkin-needed
Comment 28•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/309c74044e8d https://hg.mozilla.org/mozilla-central/rev/51e77c028e72 https://hg.mozilla.org/mozilla-central/rev/b37a8382f554 https://hg.mozilla.org/mozilla-central/rev/ca4652861e7d https://hg.mozilla.org/mozilla-central/rev/42e0eab9d677 https://hg.mozilla.org/mozilla-central/rev/ccedb3285544
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
Comment 29•11 years ago
|
||
Comment on attachment 772492 [details] [diff] [review] Part 4: Bluetooth changes for iccInfo, v3, r=echou Review of attachment 772492 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/bluetooth/BluetoothHfpManager.cpp @@ +642,3 @@ > > + nsIDOMMozIccInfo* iccInfo; > + icc->GetIccInfo(&iccInfo); How is this not a leak?
Updated•11 years ago
|
Flags: needinfo?(echou)
Flags: needinfo?(echen)
Assignee | ||
Comment 31•11 years ago
|
||
Follow-up bug, bug 893546, is already landed.
Flags: needinfo?(echen)
Comment 32•11 years ago
|
||
When dom/network/tests/marionette/test_mobile_iccinfo.js was moved to dom/icc/tests/marionette/test_icc_info.js, it was never added to the manifest in dom/icc/tests/marionette. So this test hasn't been running in automation since. Was that on purpose?
Flags: needinfo?(echen)
Assignee | ||
Comment 33•11 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM UTC-5] from comment #32) > When dom/network/tests/marionette/test_mobile_iccinfo.js was moved to > dom/icc/tests/marionette/test_icc_info.js, it was never added to the > manifest in dom/icc/tests/marionette. So this test hasn't been running in > automation since. Was that on purpose? Oh, it was a miss, I will file a bug for bringing the test back in automation. Thank for catching this.
Flags: needinfo?(echen)
You need to log in
before you can comment on or make changes to this bug.
Description
•