[Webkit-unassigned] [Bug 94987] Add systemTime to DOM events

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 15 10:39:43 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=94987





--- Comment #81 from Adam Barth <abarth at webkit.org>  2012-11-15 10:41:32 PST ---
(From update of attachment 174465)
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?

-- 
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