Closed Bug 1318522 Opened 8 years ago Closed 7 years ago

Event timeStamp for click/keydown return garbage (not high-res or ms)

Categories

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

defect

Tracking

()

RESOLVED DUPLICATE of bug 1026804

People

(Reporter: Harald, Unassigned)

References

()

Details

https://output.jsbin.com/pazenec

Expected:
Key and click events return high-res or ms timeStamp, depending on config

Actual:
timeStamps is some value inbetween; maybe since my browser started … no idea
(In reply to Harald Kirschner :digitarald from comment #0)
> https://output.jsbin.com/pazenec
> 
> Expected:
> Key and click events return high-res or ms timeStamp, depending on config
> 
> Actual:
> timeStamps is some value inbetween; maybe since my browser started … no idea

Hi Masayuki, could you take a quick look at the actual behaviour and chime in here? Thank you.
Flags: needinfo?(masayuki)
This is blocked by bug 1026804.
Depends on: 1026804
Hmm, I don't understand what's the problem, though (if this is not a dup of bug 1206804, but depending on it):
https://jsfiddle.net/d_toybox/kp2beobg/1/

However, I see dblclick returns 0 on release build. We should fix this.
Flags: needinfo?(masayuki)
Filed bug 1318635 with a simple patch for dblclick event issue.
P2 so we come back to this once bug 1026804 is fixed or at the very least in a few months.
Priority: -- → P2
Hi Ben, with Stone's suggestion, this is another one for you to start the Events journey. :P
Flags: needinfo?(btian)
This works for me in current nightly.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Clear my ni? per comment 7.
Flags: needinfo?(btian)
You need to log in before you can comment on or make changes to this bug.