FF3.5 supports W3C specification (draft) and provides navigator.geolocation object. The objects getCurrentPosition() method returns coordinates and even heading and speed properties.
Chrome provides geolocation object by built in Google Gears.
Actually other browsers return the location too with Google Gears installed.
Test and read more from the links of this page. The page is the first one that I set sensor=true.