You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chrome is switching the Event.timeStamp from DOMTimeStamp to a DOMHighResTimeStamp in 49th release (Firefox is going to make the switch in near future too). After this change the value is no longer comparable to Date.now() in chrome which is likely to impact your eventToMetaData function logic for calculating millisecondsAgo.
Note that the current logic is actually broken in Firefox, as it does not use an epoch timeStmap for most input events.
I am the developer who is making the change in Chrome, and I came across your library as I was doing bulk static analysis. This blog post has additional details about the change but I am happy to answer any questions you have as well.
The text was updated successfully, but these errors were encountered:
That logic also handles the Firefox case too. It is fairly new code and has not been extensively tested. So feel free to send pull request if you noticed something.
Chrome is switching the Event.timeStamp from DOMTimeStamp to a DOMHighResTimeStamp in 49th release (Firefox is going to make the switch in near future too). After this change the value is no longer comparable to
Date.now()
in chrome which is likely to impact youreventToMetaData
function logic for calculatingmillisecondsAgo
.Note that the current logic is actually broken in Firefox, as it does not use an epoch timeStmap for most input events.
I am the developer who is making the change in Chrome, and I came across your library as I was doing bulk static analysis. This blog post has additional details about the change but I am happy to answer any questions you have as well.
The text was updated successfully, but these errors were encountered: