Bug 1071586 - List WiFi device on WebIDE init. r=paul
authorJ. Ryan Stinnett <jryans@gmail.com>
Tue, 23 Sep 2014 06:45:00 -0400
changeset 207208 d64aba881c45476d110b1b5a285265ba4955b8e7
parent 207207 822ade44d100d8dbf3955f6d62149ef88779210d
child 207209 4f5b01ea7e7c6d9f9d6d897c4c34a6afd2e4e1c6
push id8988
push userryanvm@gmail.com
push dateThu, 25 Sep 2014 13:35:28 +0000
treeherderfx-team@d64aba881c45 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspaul
bugs1071586
milestone35.0a1
Bug 1071586 - List WiFi device on WebIDE init. r=paul
browser/devtools/webide/modules/app-manager.js
--- a/browser/devtools/webide/modules/app-manager.js
+++ b/browser/devtools/webide/modules/app-manager.js
@@ -628,16 +628,17 @@ exports.AppManager = AppManager = {
   trackWiFiRuntimes: function() {
     if (!this.isWiFiScanningEnabled) {
       return;
     }
     this._updateWiFiRuntimes = this._updateWiFiRuntimes.bind(this);
     discovery.on("devtools-device-added", this._updateWiFiRuntimes);
     discovery.on("devtools-device-updated", this._updateWiFiRuntimes);
     discovery.on("devtools-device-removed", this._updateWiFiRuntimes);
+    this._updateWiFiRuntimes();
   },
   untrackWiFiRuntimes: function() {
     if (!this.isWiFiScanningEnabled) {
       return;
     }
     discovery.off("devtools-device-added", this._updateWiFiRuntimes);
     discovery.off("devtools-device-updated", this._updateWiFiRuntimes);
     discovery.off("devtools-device-removed", this._updateWiFiRuntimes);