Closed Bug 1150554 Opened 10 years ago Closed 6 years ago

Responsive design view touch event simulation: wrong timeStamps

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

37 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: alex, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0 Build ID: 20150328224110 Steps to reproduce: 1. add event listeners to touchstart + touchend events. 2. log the difference between event.timeStamp in both handlers. 3. enable responsive design view for the page in web developer tools. 4. enable "simulate touch events" in the responsive design view. 5. hold the mouse down for a short while on the page. Actual results: The time stamp differences that are logged are much larger than expected. Expected results: The time differences should be roughly equal to the number of milliseconds the mouse was held down for. I also tested it with the Firefox OS browser, and the time stamps are correct there, so it's just a problem with the touch event simulation in the responsive design view.
Component: Untriaged → Event Handling
Product: Firefox → Core

Is this issue still valid?
Is it possible that I would get a more explicit test case?

Thank you!

Flags: needinfo?(alex)

I'm not able to reproduce it any more; the timestamps look correct (quantized to 100ms).

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Flags: needinfo?(alex)
Resolution: --- → INVALID
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.