Closed
Bug 1168021
Opened 9 years ago
Closed 9 years ago
[NetworkManager] consider expanding the nsINetworkInterface parameter in NetworkService interface
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(firefox41 fixed)
RESOLVED
FIXED
2.2 S14 (12june)
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: jessica, Assigned: jessica)
References
Details
Attachments
(2 files, 2 obsolete files)
5.20 KB,
patch
|
jessica
:
review+
|
Details | Diff | Splinter Review |
32.80 KB,
patch
|
jessica
:
review+
|
Details | Diff | Splinter Review |
We should consider expanding nsINetworkInterface parameter and use only needed fields in NetworkService interface, see [1], [2], [3] and [4].
[1] http://hg.mozilla.org/mozilla-central/file/b6623a27fa64/dom/system/gonk/nsINetworkService.idl#l274
[2] http://hg.mozilla.org/mozilla-central/file/b6623a27fa64/dom/system/gonk/nsINetworkService.idl#l286
[3] http://hg.mozilla.org/mozilla-central/file/b6623a27fa64/dom/system/gonk/nsINetworkService.idl#l299
[4] http://hg.mozilla.org/mozilla-central/file/b6623a27fa64/dom/system/gonk/nsINetworkService.idl#l309
Assignee | ||
Comment 1•9 years ago
|
||
I'd like to fix this first, it will make bug 1167132 easier and cleaner.
Assignee: nobody → jjong
Assignee | ||
Comment 2•9 years ago
|
||
Edgar, may I have you review on the interface changes? Thanks.
Attachment #8610964 -
Flags: review?(echen)
Assignee | ||
Comment 3•9 years ago
|
||
Comment 4•9 years ago
|
||
Comment on attachment 8610964 [details] [diff] [review]
Part 1: interface changes, v1.
Review of attachment 8610964 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, thank you.
Attachment #8610964 -
Flags: review?(echen) → review+
Assignee | ||
Comment 5•9 years ago
|
||
Comment on attachment 8611038 [details] [diff] [review]
Part 2: implementation, v1.
Edgar, here is the implementation part, mind taking a look at it? Thanks.
BTW, I've changed all arguments in NetworkService to start with 'a' prefix.
Attachment #8611038 -
Flags: review?(echen)
Comment 6•9 years ago
|
||
Comment on attachment 8611038 [details] [diff] [review]
Part 2: implementation, v1.
Review of attachment 8611038 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, thank you.
::: dom/system/gonk/NetworkService.js
@@ +528,2 @@
>
> + this.controlMessage(aConfig, function setDhcpServerResult(response) {
Nit: s/function setDhcpServerResult(response)/function(aResponse)/
Attachment #8611038 -
Flags: review?(echen) → review+
Assignee | ||
Comment 7•9 years ago
|
||
(In reply to Edgar Chen [:edgar][:echen] from comment #6)
> Comment on attachment 8611038 [details] [diff] [review]
> Part 2: implementation, v1.
>
> Review of attachment 8611038 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Looks good, thank you.
>
> ::: dom/system/gonk/NetworkService.js
> @@ +528,2 @@
> >
> > + this.controlMessage(aConfig, function setDhcpServerResult(response) {
>
> Nit: s/function setDhcpServerResult(response)/function(aResponse)/
Thanks Edgar, you are really good at catching things! :D
Assignee | ||
Comment 8•9 years ago
|
||
Add r=echen.
Attachment #8610964 -
Attachment is obsolete: true
Attachment #8614587 -
Flags: review+
Assignee | ||
Comment 9•9 years ago
|
||
Address nit in review comment 6 and add r=echen.
Attachment #8611038 -
Attachment is obsolete: true
Attachment #8614589 -
Flags: review+
Assignee | ||
Comment 10•9 years ago
|
||
Comment 11•9 years ago
|
||
Comment 12•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d87eeedbc93c
https://hg.mozilla.org/mozilla-central/rev/2ec6ba38c4c6
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 2.2 S14 (12june)
Assignee | ||
Comment 13•9 years ago
|
||
Alphan, this has been fixed. Note that you'll still get unknown values for cell identity if there is a valid signal strength, since we filter out cell info when all values are unknown. Please let us know if you find any other issue. Thanks.
Assignee | ||
Comment 14•9 years ago
|
||
Please ignore last comment, wrong bug. :/
You need to log in
before you can comment on or make changes to this bug.
Description
•