-
Notifications
You must be signed in to change notification settings - Fork 264
event.timeStamp - Firefox #1124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for the report. However, I'm not sure how to proceed here. If you're not getting the correct values, please report an issue to the jQuery project at https://github.com/jquery/jquery/issues with a test case using jQuery on JS Bin. Then, we'll be able to see what's the reason and maybe report an issue to Firefox. Without a bug report with a test case I don't think there's much we can do. |
Sorry, I posted it where you told me to post it in the previous response. Should i kill this and move it ? |
I guess we can continue here for now until we settle up whether there's a jQuery issue or a docs one. I see similar behavior in Chrome, Firefox, Safari & Edge. Only IE shows time from January 1, 1970. According to the spec:
The time origin link redirects to another spec that says:
which suggests our docs are incorrect as we document the legacy IE behavior. We should update the documentation then. |
MDN also documents it in this way: https://developer.mozilla.org/en-US/docs/Web/API/Event/timeStamp
|
Just FYI, I tested it on my android device, and it showed the time from 1970. |
On what Android version and what browser?
--
Michał Gołębiowski-Owczarek
|
Here's info about when it changed in Chrome: https://googlechrome.github.io/samples/event-timestamp/ Since the standard have changed, we should perhaps just update the docs. We might try normalizing it for IE, though I'm not sure how easy that would be as we'd need a way to find the page load time. Perhaps it's best to just update the docs that it's no longer time from 1970 but from the current document timeline. |
The critical thing about We should probably just update the docs to say that |
Uh oh!
There was an error while loading. Please reload this page.
This is regarding https://api.jquery.com/event.timeStamp/
According to the note : "Note: Due to a bug open since 2004, "
I just tested it and it is still not working as described (for Firefox)
I contacted mozilla and asked them if they could finally fix this.
https://bugzilla.mozilla.org/show_bug.cgi?id=238041#c37
The response i got back was "This bug is not about the current Event.timeStamp" Sounds like they are saying "it is working as designed"
So, is the jQuery code incorrect ? or the documentation incorrect ? or is the response incorrect and it is the bug ? It would be nice for this to work. If the Firefox response is incorrect, can you contact them and point out what the exact problem is, as i have not looked at the source code to know what specifically is the problem,
Thank you !
Oh and if it is correct and the documentation is not, then i already tried reporting that here :
jquery/jquery.org#138
The text was updated successfully, but these errors were encountered: