Closed
Bug 1197667
Opened 9 years ago
Closed 9 years ago
B2G NetworkManager: 'allNetworkInfo' implementation missing
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(firefox43 fixed)
RESOLVED
FIXED
FxOS-S7 (18Sep)
Tracking | Status | |
---|---|---|
firefox43 | --- | fixed |
People
(Reporter: jessica, Assigned: jessica)
References
Details
Attachments
(2 files, 3 obsolete files)
(deleted),
patch
|
jessica
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
edgar
:
review+
|
Details | Diff | Splinter Review |
In bug 1167132, we exposed 'allNetworkInfo' instead of 'networkInterfaces', but I missed the implementation for it :(.
Assignee | ||
Comment 1•9 years ago
|
||
Assignee | ||
Comment 2•9 years ago
|
||
Turns out that only TetheringService is using NetworkManager.allNetworkInfo and it uses a default value if it can not find a proper one, so we didn't catch this issue.
Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8651650 [details] [diff] [review]
patch, v1.
Edgar, may I have your review on this? Thanks.
Attachment #8651650 -
Flags: review?(echen)
Assignee | ||
Comment 4•9 years ago
|
||
I'll add a test case for this to prevent future mistakes.
Comment 5•9 years ago
|
||
Comment on attachment 8651650 [details] [diff] [review]
patch, v1.
Review of attachment 8651650 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, but please still provide a test case for allNetworkInfo. Thank you.
Attachment #8651650 -
Flags: review?(echen) → review+
Assignee | ||
Comment 6•9 years ago
|
||
Commit message amended.
Attachment #8651650 -
Attachment is obsolete: true
Attachment #8653842 -
Flags: review+
Assignee | ||
Comment 7•9 years ago
|
||
Assignee | ||
Comment 8•9 years ago
|
||
Changes since v1:
- use settings to enable/disable wifi, otherwise wifi test cases using settings will fail afterwards.
Edgar, may I have your review on the test case part? Thanks.
Attachment #8653843 -
Attachment is obsolete: true
Attachment #8654743 -
Flags: review?(echen)
Comment 9•9 years ago
|
||
Comment on attachment 8654743 [details] [diff] [review]
Part 2: allNetworkInfo tests, v2.
Review of attachment 8654743 [details] [diff] [review]:
-----------------------------------------------------------------
Thank you.
Attachment #8654743 -
Flags: review?(echen) → review+
Assignee | ||
Comment 10•9 years ago
|
||
Sorry Edgar, this should be the correct patch, using settings to enable/disable wifi, else wifi tests will fail. Another thing that I modified, is to restore wifi to its original state.
Would you mind reviewing again? Thanks.
Attachment #8654743 -
Attachment is obsolete: true
Attachment #8657988 -
Flags: review?(echen)
Updated•9 years ago
|
Attachment #8657988 -
Flags: review?(echen) → review+
Assignee | ||
Updated•9 years ago
|
Attachment #8657988 -
Attachment description: Part 2: allNetworkInfo tests, v3. → Part 2: allNetworkInfo tests. r=echen
Assignee | ||
Comment 11•9 years ago
|
||
Comment 12•9 years ago
|
||
Comment 13•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/115f1a4faea6
https://hg.mozilla.org/mozilla-central/rev/ab2b5214e325
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox43:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → FxOS-S7 (18Sep)
You need to log in
before you can comment on or make changes to this bug.
Description
•