Closed
Bug 1037276
Opened 10 years ago
Closed 10 years ago
[Flame][Wifi] wps-timedout event doesn't match the enum ConnectionStatus defined in webidl
Categories
(Firefox OS Graveyard :: Wifi, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.0 S6 (18july)
People
(Reporter: vchang, Assigned: vchang)
Details
(Whiteboard: [p=1])
Attachments
(1 file)
836 bytes,
patch
|
mrbkap
:
review+
|
Details | Diff | Splinter Review |
It causes below javascript error when failed to connect to the access point using WPS in Flame. E/GeckoConsole(14477): [JavaScript Error: "Return value of MozWifiConnection.status 'wps-timedout' is not a valid value for enumeration ConnectionStatus."] E/GeckoConsole(14477): [JavaScript Error: "NS_ERROR_UNEXPECTED: " {file: "app://system.gaiamobile.org/js/wifi.js" line: 221}]
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → vchang
Assignee | ||
Comment 1•10 years ago
|
||
Fixed the typo in webidl.
Attachment #8454201 -
Flags: review?(chulee)
Assignee | ||
Updated•10 years ago
|
Whiteboard: [p=1]
Target Milestone: --- → 2.0 S6 (18july)
Comment on attachment 8454201 [details] [diff] [review] Patch v1.0 Review of attachment 8454201 [details] [diff] [review]: ----------------------------------------------------------------- Nice catch! But I think "wps-timeout" is correct, the typo is in DOMWifiManager.js[1]. [1] http://hg.mozilla.org/mozilla-central/file/e1a037c085d1/dom/wifi/DOMWifiManager.js#l363
Attachment #8454201 -
Flags: review?(chulee) → review-
Assignee | ||
Comment 3•10 years ago
|
||
(In reply to Chuck Lee [:chucklee] from comment #2) > Comment on attachment 8454201 [details] [diff] [review] > Patch v1.0 > > Review of attachment 8454201 [details] [diff] [review]: > ----------------------------------------------------------------- > > Nice catch! > But I think "wps-timeout" is correct, the typo is in DOMWifiManager.js[1]. > > [1] > http://hg.mozilla.org/mozilla-central/file/e1a037c085d1/dom/wifi/ > DOMWifiManager.js#l363 So we should have a follow up bug for gaia?
Comment on attachment 8454201 [details] [diff] [review] Patch v1.0 I also saw some variables using "timedout" in gecko, so I am not sure which one is preferred. Modifying webidl seems to be less effort, but this needs to be reviewed by Blake.
Attachment #8454201 -
Flags: review- → review?(mrbkap)
Updated•10 years ago
|
Attachment #8454201 -
Flags: review?(mrbkap) → review+
Assignee | ||
Comment 5•10 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/5fb140442e18
Comment 6•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/5fb140442e18
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•