[Webkit-unassigned] [Bug 94987] Add systemTime to DOM events
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 15 13:36:43 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=94987
--- Comment #82 from James Robinson <jamesr at chromium.org> 2012-11-15 13:38:31 PST ---
(In reply to comment #81)
> (From update of attachment 174465 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=174465&action=review
>
> > Source/WebCore/dom/Node.cpp:2601
> > + return EventDispatcher::dispatchEvent(this, KeyboardEventDispatchMediator::create(KeyboardEvent::create(event, document()->defaultView(), 1000.0 * document()->loader()->timing()->monotonicTimeToZeroBasedDocumentTime(event.timestamp()))));
>
> 1000.0 -> unnamed constants are sadness. Perhaps we need a version of monotonicTimeToZeroBasedDocumentTime that returns the correct units?
Perhaps something like DOMTimeStamp.h's convertSecondsToDOMTimeStamp() but for DOMHighResTimeStamp?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list