- From: Majid Valipour <notifications@github.com>
- Date: Wed, 28 Jun 2017 12:53:39 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 28 June 2017 19:54:11 UTC
That is correct. I think the right behavior should be as follow: 1. For synthetic events (those constructed from JS), we should allow the timestamp to be provided to the constructor via EventInitDic as suggested by this issue. But the creation time is a sensible default value. 2. For events created by user agent, the actual occurrence time should be used. And when that is not available, then once again I think falling back to using the creation time is a sensible choice. I don't think we need to use dispatch time in any case. I might have not be precise before. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/76#issuecomment-311768899
Received on Wednesday, 28 June 2017 19:54:11 UTC