Page MenuHomePhabricator

Special:Nearby shows "NaN km" as the distance on Firefox
Closed, ResolvedPublic


I tried using Special:Nearby in the English Wikipedia from my laptop (without GPS). In Firefox it showed some nearby places, but with "NaN km" as the distance. In Chrome on the same computer and on my GPS-enabled phone it showed a distance.

Laptop OS: Fedora 18.

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:22 AM
bzimport set Reference to bz48268.

Update: on my phone it shows "NaN km" in Firefox 20 for Android, and proper number of kilometers in the stock WebKit browser. So it's probably a Gecko issue.

Related URL: (Gerrit Change I31f860c2aa392ac0162f767cdf112f5f10a3913e)

Turns out you can't $.toJSON the result the object passed by the watchPosition handler. WHO KNEW?!!? (Gerrit Change I31f860c2aa392ac0162f767cdf112f5f10a3913e) | change APPROVED and MERGED [by MaxSem]