performance.now() should truncate to 100us
Created attachment 296354 [details] Patch
Comment on attachment 296354 [details] Patch r=me.
Committed r209462: <http://trac.webkit.org/changeset/209462>
Comment on attachment 296354 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=296354&action=review > Source/WebCore/page/Performance.cpp:217 > + const double resolutionSeconds = 0.0001; Spec says: A DOMHighResTimeStamp should represent a time in milliseconds accurate to 5 microseconds
Yeah, we disagree with that behavior.
(In reply to Geoffrey Garen from comment #5) > Yeah, we disagree with that behavior. I guess then is worth adding a comment explaining that this is done on purpose, and to let know about it to anyone that feels like fixing this back to follow the spec.