RESOLVED FIXED Bug 178143
Web Inspector: Avoid "100.00ms" vs "100.0ms" jitter in TimelineRuler labels
https://bugs.webkit.org/show_bug.cgi?id=178143
Summary Web Inspector: Avoid "100.00ms" vs "100.0ms" jitter in TimelineRuler labels
Joseph Pecoraro
Reported 2017-10-10 13:49:12 PDT
Avoid "100.00ms" vs "100.0ms" jitter in TimelineRuler labels Sometimes the ms calculated ends up being values like: 100.0 => "100.0ms" 100.0000000000001 => "100.00ms" Account for this tiny jitter by checking against values like 100.0001.
Attachments
[PATCH] Proposed Fix (2.05 KB, patch)
2017-10-10 13:50 PDT, Joseph Pecoraro
bburg: review+
Joseph Pecoraro
Comment 1 2017-10-10 13:50:39 PDT
Created attachment 323346 [details] [PATCH] Proposed Fix
Blaze Burg
Comment 2 2017-10-10 14:09:46 PDT
Comment on attachment 323346 [details] [PATCH] Proposed Fix r=me. Can you extract out the slop factor into a variable?
Joseph Pecoraro
Comment 3 2017-10-11 01:00:41 PDT
Radar WebKit Bug Importer
Comment 4 2017-10-11 01:01:47 PDT
Note You need to log in before you can comment on or make changes to this bug.