Safari: Geolocation Position timestamp is incorrect according to W3C Spec
Originator: | shazron | ||
Number: | rdar://9246279 | Date Originated: | 6th April 2011 |
Status: | Open | Resolved: | |
Product: | Safari | Product Version: | 5.0.4 (6533.20.27) |
Classification: | Other Bug | Reproducible: | Always |
ummary: Safari: Geolocation Position timestamp is incorrect according to W3C Spec Steps to Reproduce: 1. Run the attached geolocation.html file (the code is in it) 2. Press the "Get Location" button 3. Note the Position timestamp value Expected Results: The Position timestamp value should be in milliseconds, and based off the Unix epoch of Jan 1, 1970. This is the value based on the W3C Geolocation Spec. http://dev.w3.org/geo/api/spec-source.html Mobile Safari, Google Chrome, Firefox 4 all exhibit this expected behaviour, while Desktop Safari is the odd man out. Actual Results: The Position timestamp value is in seconds, and based off the reference date of Jan 1, 2001. Regression: Notes:
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
Still an issue
In case anyone is looking, this is still an issue as of Safari on Mac 14.1.1
geolocation.html
geolocation.html attachment is at https://gist.github.com/906728