Closed Bug 791392 Opened 12 years ago Closed 12 years ago

mozWifiManager: expose a list of known networks

Categories

(Core :: DOM: Device Interfaces, enhancement)

All
Linux
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla18
blocking-basecamp -

People

(Reporter: kaze, Assigned: mrbkap)

References

Details

(Keywords: uiwanted, Whiteboard: [LOE:S])

Attachments

(1 file, 1 obsolete file)

It would be nice to expose a list of known networks — not only the currently available ones. The point would be to edit/remove networks without having to be connected to them.
blocking-basecamp: --- → ?
Whiteboard: [LOE:S]
We discussed this at triage today.  While we agree this would be a great feature, we don't think it's a blocker.  Of course, feel free to re-nom if you disagree.
blocking-basecamp: ? → -
Keywords: uiwanted
Assignee: nobody → mrbkap
Attached patch wip (obsolete) — Splinter Review
Still to-do:
  * Clean up/factor out common code in places.
  * Make explicit the relationship between a Scan Result and a Network.

This does seem to work, though!
Attached patch patch v1Splinter Review
Attachment #662377 - Attachment is obsolete: true
Attachment #662742 - Flags: review?(vchang)
Attachment #662742 - Flags: feedback?(kaze)
Comment on attachment 662742 [details] [diff] [review]
patch  v1

Review of attachment 662742 [details] [diff] [review]:
-----------------------------------------------------------------

::: dom/wifi/WifiWorker.js
@@ +2098,5 @@
> +      var networks = {};
> +      for (let ssid in this.configuredNetworks) {
> +        networks[ssid] = netToDOM(this.configuredNetworks[ssid]);
> +      }
> +

Do we need to send error message when ssid is not found ?
Attachment #662742 - Flags: review?(vchang) → review+
(In reply to Vincent Chang from comment #4)
> Do we need to send error message when ssid is not found ?

I don't understand what you mean. When which ssid isn't found where? Do you mean if there's a configured network without an ssid? That's taken care of (with an XXX comment) in _reloadConfiguredNetworks.
Works fine in Gaia: https://bugzilla.mozilla.org/show_bug.cgi?id=791392
Status: NEW → ASSIGNED
Attachment #662742 - Flags: feedback?(kaze) → feedback+
Keywords: checkin-needed
Blocks: b2g-wifi
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/bbfb9d9241e4
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: