Last Comment Bug 766500 - wifiManager.connectionInfoUpdate does not fire every 5 sec as said on IDL
: wifiManager.connectionInfoUpdate does not fire every 5 sec as said on IDL
Product: Core
Classification: Components
Component: DOM: Device Interfaces (show other bugs)
: unspecified
: x86 Mac OS X
: -- normal (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
: Andrew Overholt [:overholt]
Depends on: 764682 764928
Blocks: 766497
  Show dependency treegraph
Reported: 2012-06-20 02:22 PDT by Tim Guan-tin Chien [:timdream] (please needinfo)
Modified: 2012-09-11 06:32 PDT (History)
7 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description Tim Guan-tin Chien [:timdream] (please needinfo) 2012-06-20 02:22:57 PDT
+++ This bug was initially created as a clone of Bug #764682 +++


Do whatever you want to make the B2G phone connect to a wifi network.


The icon appears on the status bar, and show the signal strength.


Icon appears but very dark since it always indicates 0 signal strength.



The icon gets to appear because || is not null and because wifiManager.onstatuschange fires correctly. But wifiManager.connectionInfoUpdate does not.

Upon further inspection with dump() I found that wifiManager.connectionInfoUpdate is only triggered twice right after "associated" and "connected" state. This is not expected.
Comment 1 Blake Kaplan (:mrbkap) 2012-07-05 18:48:55 PDT
So, I think this was on the otoro before the wifi worked on it. If so, this should be fixed now. Tim, please reopen if it isn't.
Comment 2 Tim Guan-tin Chien [:timdream] (please needinfo) 2012-07-05 22:25:19 PDT
Should I verify this against hg m-c or mozilla-b2g m-c?
Comment 3 Tim Guan-tin Chien [:timdream] (please needinfo) 2012-07-06 00:30:37 PDT
OK. I tested out two combinations:

1) SGS2 with lastest hg m-c
2) Otoro with latest mozilla-b2g m-c

None of them fires |connectionInfoUpdate| every 5 secs.
Comment 4 Tim Guan-tin Chien [:timdream] (please needinfo) 2012-09-11 06:32:00 PDT
This was fix some day ago.

Note You need to log in before you can comment on or make changes to this bug.