WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
186689
Position timestamp returns from geo api doesn't reflect the current time
https://bugs.webkit.org/show_bug.cgi?id=186689
Summary
Position timestamp returns from geo api doesn't reflect the current time
Roderick
Reported
2018-06-15 13:14:21 PDT
Tested both on Safari 10 and 11, According to the spec,
https://developer.mozilla.org/en-US/docs/Web/API/Position/timestamp
The Position.timestamp read-only property, a DOMTimeStamp object, represents the date and the time of the creation of the Position object it belongs to. The precision is to the millisecond. However, the timestamp returns from Safari its something like 550786249369, which is Mon Jun 15 1987 13:10:49 GMT-0700 (PDT) But Date.now() returns 1529093495687 which is Fri Jun 15 2018 13:11:35 GMT-0700 (PDT) There are a 31 years off
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug