Closed Bug 904510 Opened 11 years ago Closed 11 years ago

[FlatFish][Wifi]AP list can't be displayed after Wifi is enabled

Categories

(Firefox OS Graveyard :: Wifi, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:koi+)

RESOLVED WORKSFORME
blocking-b2g koi+

People

(Reporter: seinlin, Unassigned)

References

Details

After wifi is enabled, the AP list is not displayed.

There is a javascript error in log.

I/Gecko   ( 5639): -*- WifiWorker component: Event coming in: CTRL-EVENT-STATE-CHANGE id=-1 state=3 BSSID=00:00:00:00:00:00
I/Gecko   ( 5639): -*- WifiWorker component: State change: DISCONNECTED -> SCANNING
E/GeckoConsole( 5837): [JavaScript Error: "TypeError: network.capabilities is undefined" {file: "app://settings.gaiamobile.org/js/wifi.js" line: 401}]
I/wpa_supplicant( 5836): wlan0: Trying to associate with 06:19:be:1e:d5:28 (SSID='PHS Super WiFi' freq=2432 MHz)
I/Gecko   ( 5639): -*- WifiWorker component: Event coming in: CTRL-EVENT-BSS-ADDED 53 3c:94:d5:7b:fb:00
I/Gecko   ( 5639): -*- WifiWorker component: Event coming in: CTRL-EVENT-BSS-ADDED 54 00:19:be:1e:d4:e8
I/Gecko   ( 5639): -*- WifiWorker component: Event coming in: CTRL-EVENT-SCAN-RESULTS 
I/Gecko   ( 5639): -*- WifiWorker component: Notifying of scan results available
I/Gecko   ( 5639): -*- WifiWorker component: Scan results are available! Asking for them.
I/Gecko   ( 5639): -*- WifiWorker component: Event coming in: WPS-AP-AVAILABLE 
I/Gecko   ( 5639): -*- WifiWorker component: Event coming in: Trying to associate with 06:19:be:1e:d5:28 (SSID='PHS Super WiFi' freq=2432 MHz)
I/Gecko   ( 5639): -*- WifiWorker component: Matched: PHS Super WiFi
I/Gecko   ( 5639): -*- WifiWorker component: Event coming in: CTRL-EVENT-STATE-CHANGE id=-1 state=5 BSSID=06:19:be:1e:d5:28
I/Gecko   ( 5639): -*- WifiWorker component: State change: SCANNING -> ASSOCIATING
E/GeckoConsole( 5837): [JavaScript Error: "network.capabilities is undefined" {file: "app://settings.gaiamobile.org/js/wifi.js" line: 401}]
E/GeckoConsole( 5837): [JavaScript Error: "NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: '[JavaScript Error: "network.capabilities is undefined" {file: "app://settings.gaiamobile.org/js/wifi.js" line: 401}]' when calling method: [nsIDOMEventListener::handleEvent]" {file: "jar:file:///system/b2g/omni.ja!/components/DOMWifiManager.js" line: 288}]
I/Gecko   ( 5639): -*- WifiWorker component: Event coming in: CTRL-EVENT-ASSOC-REJECT bssid=06:19:be:1e:d5:28 status_code=1
E/GeckoConsole( 5837): [JavaScript Error: "network.capabilities is undefined" {file: "app://settings.gaiamobile.org/js/wifi.js" line: 401}]
E/GeckoConsole( 5837): [JavaScript Error: "NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: '[JavaScript Error: "network.capabilities is undefined" {file: "app://settings.gaiamobile.org/js/wifi.js" line: 401}]' when calling method: [nsIDOMEventListener::handleEvent]" {file: "jar:file:///system/b2g/omni.ja!/components/DOMWifiManager.js" line: 288}]
I/Gecko   ( 5639): -*- WifiWorker component: Event coming in: CTRL-EVENT-STATE-CHANGE id=1 state=0 BSSID=06:19:be:1e:d5:28
I/Gecko   ( 5639): -*- WifiWorker component: State change: ASSOCIATING -> DISCONNECTED
I/Gecko   ( 5639): -*- WifiWorker component: WIFI: data: ({cmd:"ifc_configure", ifname:"wlan0", ipaddr:0, mask:0, gateway:0, dns1:0, dns2:0, id:118})
E/GeckoConsole( 5837): [JavaScript Error: "network.capabilities is undefined" {file: "app://settings.gaiamobile.org/js/wifi.js" line: 401}]
E/GeckoConsole( 5837): [JavaScript Error: "NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: '[JavaScript Error: "network.capabilities is undefined" {file: "app://settings.gaiamobile.org/js/wifi.js" line: 401}]' when calling method: [nsIDOMEventListener::handleEvent]" {file: "jar:file:///system/b2g/omni.ja!/components/DOMWifiManager.js" line: 288}]
Blocks: flatfish
After sync to the latest commit, this error is solved.
gaia - 94a40401610c28fb47419d44726f199a0fae742e
gecko - 497cb92a353f43cf16c0127276465e164d3af0e5
blocking-b2g: --- → koi+
Can we close this?
Base on comment 1
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
The right resolution here is "WORKSFORME", not "WONTFIX".
Resolution: WONTFIX → WORKSFORME
You need to log in before you can comment on or make changes to this bug.