Bug 489228 - implements nsIWifiListener::onError in geolocation network provider. r/sr=jst

This commit is contained in:
Doug Turner 2009-04-20 20:36:43 -07:00
parent cbee5abe4f
commit a79e49fa10

View File

@ -242,6 +242,10 @@ WifiGeoPositionProvider.prototype = {
xhr.send(jsonString);
},
onError: function (code) {
LOG("wifi error: " + code);
},
notify: function (timer) {
if (this.hasSeenWiFi == false)
this.onChange(null);