Closed Bug 1318521 Opened 8 years ago Closed 8 years ago

Scroll events don't have a timeStamp

Categories

(Core :: DOM: Events, defect, P2)

x86
macOS
defect

Tracking

()

RESOLVED DUPLICATE of bug 1026804

People

(Reporter: Harald, Unassigned)

References

()

Details

Test case: https://output.jsbin.com/duzimec/1 Expected: Scroll events have a timeStamp to tell me when a scroll happened (even more important for passive, as events can be delayed) Actual: event.timeStamp is 0
Hi Masayuki, do you have any ideas of what's going wrong here? Thank you.
Flags: needinfo?(masayuki)
I wish we could move to the highres timestamps
Looks like we need to wait the fix of bug 1026804 or setting time of eScroll event to non-zero? https://dxr.mozilla.org/mozilla-central/source/widget/BasicEvents.h#250-251 However, keeping 0 might keep finding bugs easier.
Flags: needinfo?(masayuki)
I have people assigned to do the remaining platform-specific work for converting native event times to TimeStamps this quarter.
Priority: -- → P2
This appears to be fixed by bug 1026804.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.