Summary: | performance.now() should truncate to 100us | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Geoffrey Garen <ggaren> | ||||
Component: | New Bugs | Assignee: | Geoffrey Garen <ggaren> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | clopez, oliver | ||||
Priority: | P2 | ||||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=180910 | ||||||
Attachments: |
|
Description
Geoffrey Garen
2016-12-06 17:04:51 PST
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. |