Bug 989719 - js error in WifiWorker when doing geolocation and WiFi is disabled. r=chulee