RESOLVED FIXED154013
Web Inspector: Zooming in on the timeline graph does not increase its time resolution from minutes
https://bugs.webkit.org/show_bug.cgi?id=154013
Summary Web Inspector: Zooming in on the timeline graph does not increase its time re...
Joseph Pecoraro
Reported 2016-02-08 15:41:15 PST
* SUMMARY Zooming in on the timeline graph does not increase its time resolution from minutes * STEPS TO REPRODUCE 1. Inspect this page 2. Start a timeline 3. Wait for 2 minutes 4. Stop recording 5. Zoom in on a second of time between 1 and 2 min => Timeline shows "1.8min" for all dividers
Attachments
[PATCH] Proposed Fix (15.75 KB, patch)
2016-02-08 15:44 PST, Joseph Pecoraro
bburg: review+
bburg: commit-queue-
[IMAGE] Sample zooming in on something between 11th and 12th minute of recording (268.66 KB, image/png)
2016-02-08 15:45 PST, Joseph Pecoraro
no flags
[PATCH] For Landing (15.74 KB, patch)
2016-02-08 16:51 PST, Joseph Pecoraro
no flags
Joseph Pecoraro
Comment 1 2016-02-08 15:41:21 PST
Joseph Pecoraro
Comment 2 2016-02-08 15:44:08 PST
Created attachment 270887 [details] [PATCH] Proposed Fix
Joseph Pecoraro
Comment 3 2016-02-08 15:45:04 PST
Created attachment 270888 [details] [IMAGE] Sample zooming in on something between 11th and 12th minute of recording
Blaze Burg
Comment 4 2016-02-08 16:04:42 PST
Comment on attachment 270887 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=270887&action=review r=me, small nit. Yay for adding unit tests! Note that they will all fail if we use any other localization file for some reason, so maybe the test should set WebInspector.dontLocalizeUserInterface = true. > Source/WebInspectorUI/UserInterface/Base/Utilities.js:890 > + // Do not got over seconds when in high resolution mode. Nit: 'go over'
Joseph Pecoraro
Comment 5 2016-02-08 16:50:50 PST
(In reply to comment #4) > Comment on attachment 270887 [details] > [PATCH] Proposed Fix > > View in context: > https://bugs.webkit.org/attachment.cgi?id=270887&action=review > > r=me, small nit. > > Yay for adding unit tests! Note that they will all fail if we use any other > localization file for some reason, so maybe the test should set > WebInspector.dontLocalizeUserInterface = true. Test.js defines UIString as: WebInspector.UIString = (string) => string; So this shouldn't be a problem in tests.
Joseph Pecoraro
Comment 6 2016-02-08 16:51:53 PST
Created attachment 270893 [details] [PATCH] For Landing
WebKit Commit Bot
Comment 7 2016-02-08 17:50:11 PST
Comment on attachment 270893 [details] [PATCH] For Landing Clearing flags on attachment: 270893 Committed r196284: <http://trac.webkit.org/changeset/196284>
Note You need to log in before you can comment on or make changes to this bug.