Closed
Bug 1124507
Opened 9 years ago
Closed 9 years ago
[Wifi Direct] Some attributes of mozWifiP2pManager aren't properly initialized across connection
Categories
(Firefox OS Graveyard :: Wifi, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: hchang, Assigned: hchang)
References
Details
Attachments
(1 file, 1 obsolete file)
6.04 KB,
patch
|
Details | Diff | Splinter Review |
At the time constructing mozWifiP2pManager [1], some attributes should be initialized [1] http://hg.mozilla.org/mozilla-central/file/34e2d2bd7ec4/dom/wifi/DOMWifiP2pManager.js#l116
Assignee | ||
Comment 1•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Attachment #8555189 -
Flags: review?(vchang)
Assignee | ||
Comment 2•9 years ago
|
||
Here's a short explanation of what this patch does: In the construction phase of MozWifiP2pManager, it would send a sync message to the wifi p2p internal to get the current state. The original code doesn't fetch all the internal information of wifi p2p. So, the patch adds the code to retain the state in WifiP2pWorkerObserver and send to DOMWifiP2pManager whenever needed.
Comment 3•9 years ago
|
||
Comment on attachment 8555189 [details] [diff] [review] Bug1124507.patch Review of attachment 8555189 [details] [diff] [review]: ----------------------------------------------------------------- Looks good. Thank you. ::: dom/wifi/WifiP2pWorkerObserver.jsm @@ +40,5 @@ > let _peerList = {}; // List of P2pDevice. > let _domManagers = []; > + let _enabled = false; > + let _groupOwner; > + let _currentPeer; Nit: please give default value to _groupOwner and _currentPeer.
Attachment #8555189 -
Flags: review?(vchang) → review+
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → hchang
Assignee | ||
Comment 4•9 years ago
|
||
Addressed the review comment
Attachment #8555189 -
Attachment is obsolete: true
Assignee | ||
Comment 5•9 years ago
|
||
Thanks Vincent! https://treeherder.mozilla.org/#/jobs?repo=try&revision=e677031ae36b
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 6•9 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/fbc6b6da6597
Keywords: checkin-needed
Comment 7•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/fbc6b6da6597
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•