Closed
Bug 835255
Opened 13 years ago
Closed 12 years ago
B2G RIL: marionette test, dom/network/tests/marionette/test_mobile_operator_name.js, fail when enable EF_PNN
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
FIXED
mozilla23
People
(Reporter: edgar, Assigned: kk1fff)
References
Details
Attachments
(3 files, 1 obsolete file)
3.24 KB,
patch
|
vicamo
:
review+
|
Details | Diff | Splinter Review |
194 bytes,
text/html
|
vicamo
:
review+
|
Details |
5.19 KB,
patch
|
kk1fff
:
review+
|
Details | Diff | Splinter Review |
When I tried to implement dynamic SIM EF in emulator [1], I found if enable the EF_PNN, marionette tests [2] will fail. So open this bug for tracking.
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=833174
[2] dom/network/tests/marionette/test_mobile_operator_name.js
Reporter | ||
Updated•13 years ago
|
Summary: B2G RIL: marionette test, , when enable EF_PNN → B2G RIL: marionette test, dom/network/tests/marionette/test_mobile_operator_name.js, fail when enable EF_PNN
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → pwang
Assignee | ||
Comment 1•12 years ago
|
||
According to 3GPP TS 31.102 Sec. 4.2.58: "If the EF_OPL is not present, then the first record in EF_PNN is used for the default network name when registered in the HPLMN (if the EHPLMN list is not present or is empty) or an EHPLMN (if the EHPLMN list is present)."
In current getNetworkNameFromICC, we use the first PNN record as network name when device is in home PLMN but current PLMN is not in OPL, no matter OPL is present or not.
Attachment #735127 -
Flags: review?(vyang)
Assignee | ||
Comment 2•12 years ago
|
||
Adding test cases:
1. Device is in a PLMN that is not home nor listed in OPL.
2. Device is in a PLMN that is listed in OPL but not home.
3. Device is in the home PLMN but the PLMN is not listed in OPL.
Attachment #735128 -
Flags: review?(vyang)
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #735130 -
Flags: review?(vyang)
Component: General → DOM: Device Interfaces
Product: Boot2Gecko → Core
Version: unspecified → Trunk
Updated•12 years ago
|
Attachment #735130 -
Flags: review?(vyang) → review+
Updated•12 years ago
|
Attachment #735128 -
Flags: review?(vyang) → review+
Comment 4•12 years ago
|
||
Comment on attachment 735127 [details] [diff] [review]
Part 1: we should use PLMN from network when phone is in PLMN that is not listed in OPL
Review of attachment 735127 [details] [diff] [review]:
-----------------------------------------------------------------
Sorry for the late. Could you help having another revision?
::: dom/system/gonk/ril_worker.js
@@ +10940,5 @@
> + }
> +
> + // Return a new object to avoid global variable, PNN, be modified by accident.
> + return { fullName: pnnEntry.fullName || "",
> + shortName: pnnEntry.shortName || "" };
I think you can reuse these lines with following code that deals with valid OPL entries.
Attachment #735127 -
Flags: review?(vyang) → review+
Assignee | ||
Comment 5•12 years ago
|
||
try: https://tbpl.mozilla.org/?tree=Try&rev=427e17750f47
see if we can land the first part before updating emulator.
Assignee | ||
Comment 6•12 years ago
|
||
Attachment #735127 -
Attachment is obsolete: true
Attachment #742982 -
Flags: review+
Assignee | ||
Comment 7•12 years ago
|
||
Landing the first part:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ec43d0f8dca6
Then we should update emulator in tbpl, then land the test case.
Assignee | ||
Comment 8•12 years ago
|
||
Hi Vicamo, could you help to checkin the pull request?
https://github.com/mozilla-b2g/platform_external_qemu/pull/27
Thanks.
Flags: needinfo?(vyang)
Comment 9•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
Comment 10•12 years ago
|
||
(In reply to Patrick Wang [:kk1fff] from comment #8)
> Hi Vicamo, could you help to checkin the pull request?
Done :)
Flags: needinfo?(vyang)
Assignee | ||
Comment 12•12 years ago
|
||
Reopening because the test part haven't been landed.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 13•12 years ago
|
||
emulator is updated, try the test case: https://tbpl.mozilla.org/?tree=Try&rev=1070f9d54d2e
Assignee | ||
Comment 14•12 years ago
|
||
Comment 15•12 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•