We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

geolocation crashes

  • 2 replies
  • 18 have this problem
  • 2 views
  • Last reply by jonyoung

more options

If I try the geolocation feature, it asks to share the location information, I agree and it has this error in the error console - "Error: location is undefined Source File: file:///C:/Program%20Files/Mozilla%20Firefox/components/NetworkGeolocationProvider.js Line: 91" I use a NAT LAN so is this error due to my 192.168.1... address not generating a location? If it is shouldn't it use the external address given by the router. It should at least cope a bit better.

If I try the geolocation feature, it asks to share the location information, I agree and it has this error in the error console - "Error: location is undefined Source File: file:///C:/Program%20Files/Mozilla%20Firefox/components/NetworkGeolocationProvider.js Line: 91" I use a NAT LAN so is this error due to my 192.168.1... address not generating a location? If it is shouldn't it use the external address given by the router. It should at least cope a bit better.

All Replies (2)

more options

A wired connection would use the IP Address of your connection which wouldn't give pinpoint accuracy, but rather a location of your ISP. Is Firefox generating a crash report?

https://support.mozilla.com/en-US/kb/Firefox+crashes

more options

I should have called it a bug report I suppose. The error prevents it calling the failure function in the getCurrentPosition function. Other browsers all fail to find the location as well, so I guess that there is a null value for the location. It would be nice to know why, but in any case it is the same for all browsers, only FireFox falls over though.