Bug 150697 - Web Inspector: Make use of other Timer details in Timeline (timeout, singleShot)
Summary: Web Inspector: Make use of other Timer details in Timeline (timeout, singleShot)
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Joseph Pecoraro
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-10-29 15:08 PDT by Joseph Pecoraro
Modified: 2016-02-12 12:43 PST (History)
8 users (show)

See Also:


Attachments
[PATCH] Proposed Fix (8.19 KB, patch)
2015-10-29 15:11 PDT, Joseph Pecoraro
timothy: review-
Details | Formatted Diff | Diff
[IMAGE] Timer Details - Scripts Timeline Content View (189.81 KB, image/png)
2015-10-29 15:11 PDT, Joseph Pecoraro
no flags Details
[IMAGE] Timer Details - Resource Content View (156.04 KB, image/png)
2015-10-29 15:11 PDT, Joseph Pecoraro
no flags Details
[IMAGE] Timer Details - Overview (SourceCodeTimelines) (115.71 KB, image/png)
2015-10-29 15:12 PDT, Joseph Pecoraro
no flags Details
[PATCH] Proposed Fix (8.52 KB, patch)
2015-10-29 15:35 PDT, Joseph Pecoraro
timothy: review+
commit-queue: commit-queue-
Details | Formatted Diff | Diff
[IMAGE] New Approach (186.80 KB, image/png)
2015-10-29 15:35 PDT, Joseph Pecoraro
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pecoraro 2015-10-29 15:08:04 PDT
* SUMMARY
Make use of other Timer details in Timeline (timeout, singleShot).

Currently we just ignore this data that we get from the backend. We should show something.
Comment 1 Joseph Pecoraro 2015-10-29 15:11:13 PDT
Created attachment 264349 [details]
[PATCH] Proposed Fix
Comment 2 Joseph Pecoraro 2015-10-29 15:11:28 PDT
Created attachment 264350 [details]
[IMAGE] Timer Details - Scripts Timeline Content View
Comment 3 Joseph Pecoraro 2015-10-29 15:11:54 PDT
Created attachment 264352 [details]
[IMAGE] Timer Details - Resource Content View
Comment 4 Joseph Pecoraro 2015-10-29 15:12:23 PDT
Created attachment 264353 [details]
[IMAGE] Timer Details - Overview (SourceCodeTimelines)
Comment 5 Timothy Hatcher 2015-10-29 15:19:40 PDT
Comment on attachment 264349 [details]
[PATCH] Proposed Fix

View in context: https://bugs.webkit.org/attachment.cgi?id=264349&action=review

> Source/WebInspectorUI/UserInterface/Views/TimelineRecordTreeElement.js:98
> +                    alternateSubtitle.textContent = timelineRecord.details.timeout + "ms";

The time makes me think that is how long it took to install. I'm not sure what would help that…

You should use Number.secondsToString(timelineRecord.details.timeout / 1000) or this needs localized as a format string.

> Source/WebInspectorUI/UserInterface/Views/TimelineRecordTreeElement.js:100
> +                }
> +                iconStyleClass = WebInspector.TimelineRecordTreeElement.TimerRecordIconStyleClass;

Newline.
Comment 6 Joseph Pecoraro 2015-10-29 15:35:18 PDT
Created attachment 264356 [details]
[PATCH] Proposed Fix
Comment 7 Joseph Pecoraro 2015-10-29 15:35:39 PDT
Created attachment 264357 [details]
[IMAGE] New Approach
Comment 8 WebKit Commit Bot 2015-10-29 16:59:36 PDT
Comment on attachment 264356 [details]
[PATCH] Proposed Fix

Rejecting attachment 264356 [details] from commit-queue.

Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-02', 'land-attachment', '--force-clean', '--non-interactive', '--parent-command=commit-queue', 264356, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit

Last 500 characters of output:
fs/remotes/origin/master/.rev_map.268f45cc-cd09-0410-ab3c-d52691b4dbfc ...
Currently at 191761 = 8e313ac7fdcd82bfe4d099a0f4688256201b9f3e
r191762 = b94efe42ea543d6de5f57c02e40ce1d95b4fa0cd
r191763 = b57173951d91f001cb813eb81584c9b20f56f3c1
r191764 = ea673c58d284d8ff77a9617e47e5c4f31a7ce9d5
Done rebuilding .git/svn/refs/remotes/origin/master/.rev_map.268f45cc-cd09-0410-ab3c-d52691b4dbfc
First, rewinding head to replay your work on top of it...
Fast-forwarded master to refs/remotes/origin/master.

Full output: http://webkit-queues.webkit.org/results/355797
Comment 9 WebKit Commit Bot 2015-10-29 17:05:16 PDT
Comment on attachment 264356 [details]
[PATCH] Proposed Fix

Rejecting attachment 264356 [details] from commit-queue.

Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-01', 'apply-attachment', '--no-update', '--non-interactive', 264356, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit

Last 500 characters of output:
apply', '--force', '--reviewer', u'Timothy Hatcher']" exit_code: 255 cwd: /Volumes/Data/EWS/WebKit

Parsed 6 diffs from patch file(s).
patching file Source/WebInspectorUI/ChangeLog
Original content of Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js mismatches at /Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply line 283.

Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Timothy Hatcher']" exit_code: 255 cwd: /Volumes/Data/EWS/WebKit

Full output: http://webkit-queues.webkit.org/results/355811
Comment 10 Joseph Pecoraro 2015-10-29 18:34:18 PDT
http://trac.webkit.org/changeset/191770
Comment 11 Radar WebKit Bug Importer 2016-02-12 12:43:44 PST
<rdar://problem/24634099>