Closed
Bug 739234
Opened 12 years ago
Closed 12 years ago
state[0] is undefined when initializing DOMWifiManager
Categories
(Core :: DOM: Device Interfaces, defect)
Core
DOM: Device Interfaces
Tracking
()
RESOLVED
FIXED
People
(Reporter: vingtetun, Assigned: mrbkap)
Details
Attachments
(1 file)
1.04 KB,
patch
|
vingtetun
:
review+
|
Details | Diff | Splinter Review |
Content JS LOG at http://localhost/webapi.js:1143 in anonymous: [Exception... "'[JavaScript Error: "state[0] is undefined" {file: "file:///home/vivien/Devel/mozilla/b2g/desktop/build/dist/bin/components/DOMWifiManager.js" line: 61}]' when calling method: [nsIDOMGlobalPropertyInitializer::init]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: http://localhost/webapi.js :: <TOP_LEVEL> :: line 1139" data: yes] This error happens on Gaia when doing: if ('mozWifiManager' in navigator) return;
Assignee | ||
Comment 1•12 years ago
|
||
Not very pretty, but it'll silence the warnings at least.
Reporter | ||
Updated•12 years ago
|
Attachment #609708 -
Flags: review?(21) → review+
Comment 2•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/7290c4f0a150
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•