New issue
Advanced search Search tips

Issue 642737 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Invalid Event.timeStamp value on mousemove

Project Member Reported by majidvp@chromium.org, Aug 31 2016

Issue description

Originally reported by Ben. 

> I was able to write this code to demonstrate the issue. I can’t figure out how to actually reproduce it. I basically scroll, move my mouse and flip between tabs a bunch. Eventually I got a duration that was extremely large – far longer than I had opened my page for. It takes a while to repro – not very consistent at all. This was on a Mac with chrome stable.

 
http://jsfiddle.net/9d2b4upe/3/embedded/result,html,js/


I have also been able to reproduce this. The oddball timestamp I see comes from mousemove events in particular.
 
Components: Blink>Input
Labels: Hotlist-Input-Dev

Comment 3 by n...@fb.com, Aug 31 2016

Labels: DevRel-Facebook

Comment 4 by bmau...@fb.com, Feb 4 2017

Any update on this?
I cannot reproduce the exact issue anymore on latest Canary. I did reproduce a similar issue if I right click and bring up context menu. I have a fix for it here [2].


dtapuska@ recently made WebInputEvent (and platform event) timestamp initialization a bit more robust to prevent uninitialized values and in the process caught and fixed a few cases. The original case may have been in there. [1]

[1] https://codereview.chromium.org/2569273002/
[2] https://codereview.chromium.org/2686723003/

Status: Fixed (was: Assigned)
Marking as fixed. Feel free to re-open if you see another case.

Sign in to add a comment