Closed
Bug 830164
Opened 12 years ago
Closed 12 years ago
B2G RIL: use nsIDOMMozMobileICCInfo instead of nsIICCRecords in nsIRilContext
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: vicamo, Assigned: allstars.chh)
References
Details
Attachments
(6 files, 22 obsolete files)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review |
All that we need for RILContentHelper is actually something implements nsIDOMMozMobileICCInfo.
Assignee | ||
Comment 1•12 years ago
|
||
Assignee: nobody → allstars.chh
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•12 years ago
|
||
Assignee | ||
Comment 3•12 years ago
|
||
Assignee | ||
Comment 4•12 years ago
|
||
Assignee | ||
Comment 5•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Attachment #703182 -
Flags: review?(vyang)
Assignee | ||
Updated•12 years ago
|
Attachment #703183 -
Flags: review?(vyang)
Assignee | ||
Updated•12 years ago
|
Attachment #703184 -
Flags: review?(vyang)
Assignee | ||
Updated•12 years ago
|
Attachment #703186 -
Flags: review?(vyang)
Attachment #703186 -
Flags: feedback?(anygregor)
Assignee | ||
Comment 6•12 years ago
|
||
Comment on attachment 703185 [details] [diff] [review]
Part 4: Update GPS
Hi, Doug
This bug is about to change some IDL in nsIRadioInterfaceLayer, so there will be also some changes in GPS,
Could you review this for me?
thanks
Attachment #703185 -
Flags: review?(doug.turner)
Assignee | ||
Comment 7•12 years ago
|
||
Removed empty white spaces and updated SmsDatabaseService
Attachment #703183 -
Attachment is obsolete: true
Attachment #703183 -
Flags: review?(vyang)
Attachment #703243 -
Flags: review?(vyang)
Updated•12 years ago
|
Attachment #703185 -
Flags: review?(doug.turner) → review+
Updated•12 years ago
|
Attachment #703186 -
Flags: feedback?(anygregor) → feedback+
Assignee | ||
Comment 8•12 years ago
|
||
I found I didn't update the bug comment correctly.
Attachment #703243 -
Attachment is obsolete: true
Attachment #703243 -
Flags: review?(vyang)
Assignee | ||
Updated•12 years ago
|
Attachment #703736 -
Flags: review?(vyang)
Reporter | ||
Updated•12 years ago
|
Attachment #703182 -
Flags: review?(vyang) → review+
Reporter | ||
Updated•12 years ago
|
Attachment #703184 -
Flags: review?(vyang) → review+
Reporter | ||
Comment 9•12 years ago
|
||
Comment on attachment 703186 [details] [diff] [review]
Part 5: update lastKnownMcc.
Review of attachment 703186 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/system/gonk/RadioInterfaceLayer.js
@@ +1629,5 @@
> +
> + if (message.mcc) {
> + message['lastKnownMcc'] = message.mcc;
> + try {
> + Services.prefs.setIntPref("ril.lastKnownMcc", message.mcc);
Please set pref only when it changes.
Attachment #703186 -
Flags: review?(vyang)
Reporter | ||
Updated•12 years ago
|
Attachment #703736 -
Flags: review?(vyang) → review+
Assignee | ||
Updated•12 years ago
|
Attachment #703182 -
Flags: superreview?(jonas)
Assignee | ||
Comment 11•12 years ago
|
||
Attachment #703186 -
Attachment is obsolete: true
Assignee | ||
Updated•12 years ago
|
Attachment #703784 -
Flags: review?(vyang)
Reporter | ||
Updated•12 years ago
|
Attachment #703784 -
Flags: review?(vyang) → review+
Assignee | ||
Comment 12•12 years ago
|
||
As I've discussed with Gregor, lastKnownMcc should be in nsIDOMMozMobileNetworkInfo, instead of nsIDOMMozMobileICCInfo.
So I will remove the lastKnownMcc code in Part 5.
Assignee | ||
Comment 13•12 years ago
|
||
rebase
Attachment #703182 -
Attachment is obsolete: true
Attachment #703182 -
Flags: superreview?(jonas)
Assignee | ||
Comment 14•12 years ago
|
||
rebase and remove lastKnownMcc
Attachment #703736 -
Attachment is obsolete: true
Assignee | ||
Comment 15•12 years ago
|
||
Hi, Vicamo
I r? again for lastKnownMcc should be in network info instead of icc info, I'll file another bug for that.
So in this patch I remove related code to lastKnownMcc.
Attachment #703784 -
Attachment is obsolete: true
Attachment #705265 -
Flags: review?(vyang)
Reporter | ||
Updated•12 years ago
|
Attachment #705265 -
Flags: review?(vyang) → review+
Comment 16•12 years ago
|
||
Try run for 427081dd9a96 is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=427081dd9a96
Results (out of 326 total builds):
success: 308
warnings: 15
failure: 3
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/yhuang@mozilla.com-427081dd9a96
Reporter | ||
Comment 18•12 years ago
|
||
Bug 833908 requests the same thing and claims to block bug 808607.
blocking-b2g: --- → tef?
Comment 19•12 years ago
|
||
Vicamo, yes this bug fixes the issue reported in bug 833908 but we have a concern that this bug has a lot more impact so close to v1 release. Wondering if you could reconsider fixing bug 833908.
Reporter | ||
Comment 20•12 years ago
|
||
(In reply to Anshul from comment #19)
> Vicamo, yes this bug fixes the issue reported in bug 833908 but
> we have a concern that this bug has a lot more impact so close
> to v1 release. Wondering if you could reconsider fixing
> bug 833908.
No problem.
blocking-b2g: tef? → ---
Assignee | ||
Comment 21•12 years ago
|
||
I'll wait for Bug 833908 is landed then rebase and commit.
Depends on: 833908
Assignee | ||
Comment 22•12 years ago
|
||
Comment on attachment 705265 [details] [diff] [review]
Part 5: remove lastKnownMcc. v3
I move this patch to Bug 833711.
Attachment #705265 -
Attachment is obsolete: true
Assignee | ||
Comment 23•12 years ago
|
||
Add RILContentHelper changes.
Attachment #705264 -
Attachment is obsolete: true
Assignee | ||
Comment 25•12 years ago
|
||
Attachment #706231 -
Flags: review?(vyang)
Comment 26•12 years ago
|
||
Try run for 1c51d756b861 is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=1c51d756b861
Results (out of 241 total builds):
exception: 48
success: 44
failure: 149
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/yhuang@mozilla.com-1c51d756b861
Reporter | ||
Updated•12 years ago
|
Attachment #706231 -
Flags: review?(vyang) → review+
Assignee | ||
Comment 27•12 years ago
|
||
I interrupted try server, so I got so many failures in comment 26.
The latest result is from https://tbpl.mozilla.org/?tree=Try&rev=85e0b813e27a,
However there's still one xpcshell failure, will address that in Part 6 Patch.
Assignee | ||
Comment 28•12 years ago
|
||
To fix xpcshell tests.
Attachment #706931 -
Flags: review?(vyang)
Reporter | ||
Updated•12 years ago
|
Attachment #706931 -
Flags: review?(vyang) → review+
Comment 29•12 years ago
|
||
Try run for 1a36de801182 is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=1a36de801182
Results (out of 331 total builds):
success: 313
warnings: 16
failure: 2
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/yhuang@mozilla.com-1a36de801182
Assignee | ||
Updated•12 years ago
|
Attachment #706962 -
Attachment description: rename icc to iccInfo v5 → Part 2: rename icc to iccInfo v5
Assignee | ||
Comment 36•12 years ago
|
||
Assignee | ||
Comment 37•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/aad75c7c49c5
https://hg.mozilla.org/integration/mozilla-inbound/rev/7771dd6d21c5
https://hg.mozilla.org/integration/mozilla-inbound/rev/96941ab98a21
https://hg.mozilla.org/integration/mozilla-inbound/rev/a2f1b15eecd1
https://hg.mozilla.org/integration/mozilla-inbound/rev/fce1df0cec5c
https://hg.mozilla.org/integration/mozilla-inbound/rev/2addf5bd1730
Comment 38•12 years ago
|
||
Try run for 86f0f1e49c8a is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=86f0f1e49c8a
Results (out of 328 total builds):
success: 313
warnings: 14
failure: 1
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/yhuang@mozilla.com-86f0f1e49c8a
Comment 39•12 years ago
|
||
This seems to have broken marionette tests:
https://tbpl.mozilla.org/php/getParsedLog.php?id=19196088&tree=Mozilla-Inbound&full=1
Assignee | ||
Comment 40•12 years ago
|
||
Sorry for that.
In the try run, I saw the follow message
"Bug 825722 - Intermittent end-of-year timebomb in test_incoming.js: TEST-UNEXPECTED-FAIL | false was false, expected true | got false, expected true
Bug 760199 - test_incoming.js: TEST-UNEXPECTED-FAIL | got false, expected true 00:11:17 ERROR
....
Bug 832662 - Intermittent test_outgoing_delete.js | TimeoutException: socket.timeout Only displaying first 20 of 100+ failures - View log."
I saw Bug ID on it, and I though that's caused by other bugs.
I'll test again.
Comment 41•12 years ago
|
||
Comment 42•12 years ago
|
||
Try run for e156384cb584 is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=e156384cb584
Results (out of 2 total builds):
success: 2
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/yhuang@mozilla.com-e156384cb584
Comment 43•12 years ago
|
||
Try run for f49ceb92685c is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=f49ceb92685c
Results (out of 2 total builds):
success: 2
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/yhuang@mozilla.com-f49ceb92685c
Comment 44•12 years ago
|
||
Try run for dc272059c514 is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=dc272059c514
Results (out of 2 total builds):
success: 2
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/yhuang@mozilla.com-dc272059c514
Comment 45•12 years ago
|
||
Try run for 2f365d15e8c8 is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=2f365d15e8c8
Results (out of 2 total builds):
success: 2
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/yhuang@mozilla.com-2f365d15e8c8
Comment 46•12 years ago
|
||
Try run for a405cd93c384 is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=a405cd93c384
Results (out of 333 total builds):
exception: 1
success: 322
warnings: 8
failure: 2
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/yhuang@mozilla.com-a405cd93c384
Assignee | ||
Comment 47•12 years ago
|
||
Comment on attachment 706962 [details] [diff] [review]
Part 2: rename icc to iccInfo v5
Review of attachment 706962 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/sms/src/ril/SmsDatabaseService.js
@@ +771,5 @@
> if (sender === undefined || sender === "undefined") {
> sender = null;
> }
>
> let receiver = aReceiver;
In this line below I didn't rename icc to iccInfo. Will address that in next patch.
::: dom/system/gonk/RadioInterfaceLayer.js
@@ +214,5 @@
>
> this.rilContext = {
> radioState: RIL.GECKO_RADIOSTATE_UNAVAILABLE,
> cardState: RIL.GECKO_CARDSTATE_UNAVAILABLE,
> + imsi: null,
I'll move imsi to part 3.
Assignee | ||
Comment 48•12 years ago
|
||
Comment on attachment 706964 [details] [diff] [review]
Part 4: Update GPS v2
Review of attachment 706964 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/system/gonk/GonkGPSGeolocationProvider.cpp
@@ +418,5 @@
> + rilCtx->GetImsi(id);
> + }
> +
> + if (flags & AGPS_RIL_REQUEST_SETID_MSISDN) {
> + nsCOMPtr<nsIDOMMozMobileICCInfo> icc;
To make naming consistent, I'll rename this to iccInfo as well.
Assignee | ||
Comment 50•12 years ago
|
||
update SmsDatabaseService,
and move imsi in RadioInterfaceLayer.js to part 3.
Attachment #706962 -
Attachment is obsolete: true
Assignee | ||
Comment 52•12 years ago
|
||
rename icc to iccInfo
Attachment #706964 -
Attachment is obsolete: true
Assignee | ||
Comment 55•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/d1decce80087
https://hg.mozilla.org/integration/mozilla-inbound/rev/05bbd6799b5a
https://hg.mozilla.org/integration/mozilla-inbound/rev/baf4dd1d44db
https://hg.mozilla.org/integration/mozilla-inbound/rev/bf3fc973a6ea
https://hg.mozilla.org/integration/mozilla-inbound/rev/9f66f8a00cd0
https://hg.mozilla.org/integration/mozilla-inbound/rev/6fec3ed8b9a2
Comment 56•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d1decce80087
https://hg.mozilla.org/mozilla-central/rev/05bbd6799b5a
https://hg.mozilla.org/mozilla-central/rev/baf4dd1d44db
https://hg.mozilla.org/mozilla-central/rev/bf3fc973a6ea
https://hg.mozilla.org/mozilla-central/rev/9f66f8a00cd0
https://hg.mozilla.org/mozilla-central/rev/6fec3ed8b9a2
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in
before you can comment on or make changes to this bug.
Description
•