Closed
Bug 1092013
Opened 10 years ago
Closed 10 years ago
mozMobileConnection.data.cell is reset to `null` unexpectedly in MobileConnectionService
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.1 S8 (7Nov)
People
(Reporter: edgar, Assigned: edgar)
References
Details
(Keywords: regression)
Attachments
(2 files, 1 obsolete file)
2.23 KB,
patch
|
hsinyi
:
review+
|
Details | Diff | Splinter Review |
2.87 KB,
patch
|
edgar
:
review+
|
Details | Diff | Splinter Review |
Found this by running single marionette test, test_mobile_data_location.js.
Assignee | ||
Updated•10 years ago
|
Summary: mobileConnection.cell is reset to `null` unexpectedly in MobileConnectionService → mozMobileConnection.data.cell is reset to `null` unexpectedly in MobileConnectionService
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → echen
Assignee | ||
Comment 2•10 years ago
|
||
The design of updating function (e.g. _updateConnectionInfo() [1]) is to perform updating *only if* new data is passed. Thus, if no new data is passed into updating function, it should just keep the original data unchanged. [1] http://dxr.mozilla.org/mozilla-central/source/dom/mobileconnection/gonk/MobileConnectionService.js#481-521
Assignee | ||
Comment 3•10 years ago
|
||
Assignee | ||
Comment 4•10 years ago
|
||
Comment on attachment 8514823 [details] [diff] [review] Patch, v1 Please see comment #2, thank you.
Attachment #8514823 -
Flags: review?(htsai)
Assignee | ||
Updated•10 years ago
|
Keywords: regression
Assignee | ||
Comment 5•10 years ago
|
||
Assignee | ||
Comment 6•10 years ago
|
||
Comment on attachment 8515577 [details] [diff] [review] Part 2: Enable ril debug when running mobileConnection tests, v1 Review of attachment 8515577 [details] [diff] [review]: ----------------------------------------------------------------- Hi Hsinyi, may I have your review? Thank you.
Attachment #8515577 -
Flags: review?(htsai)
Comment 7•10 years ago
|
||
Comment on attachment 8514823 [details] [diff] [review] Patch, v1 Review of attachment 8514823 [details] [diff] [review]: ----------------------------------------------------------------- Thank you! Please add a comment on the design.
Attachment #8514823 -
Flags: review?(htsai) → review+
Updated•10 years ago
|
Attachment #8515577 -
Flags: review?(htsai) → review+
Assignee | ||
Comment 8•10 years ago
|
||
(In reply to Hsin-Yi Tsai [:hsinyi] from comment #7) > Comment on attachment 8514823 [details] [diff] [review] > Patch, v1 > > Review of attachment 8514823 [details] [diff] [review]: > ----------------------------------------------------------------- > > Thank you! Please add a comment on the design. Will do, thank you.
Assignee | ||
Comment 9•10 years ago
|
||
Add comments about the design of updating function.
Attachment #8514823 -
Attachment is obsolete: true
Attachment #8516458 -
Flags: review+
Assignee | ||
Comment 10•10 years ago
|
||
Try result: https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=e1a597394db8
Assignee | ||
Comment 11•10 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/64db7d36f278 https://hg.mozilla.org/integration/b2g-inbound/rev/566f2111af95
https://hg.mozilla.org/mozilla-central/rev/64db7d36f278 https://hg.mozilla.org/mozilla-central/rev/566f2111af95
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.1 S8 (7Nov)
You need to log in
before you can comment on or make changes to this bug.
Description
•