Bug 104108 - Web Inspector: Title of "Record Timeline" status button on "Timeline Panel" should reflect the recording state
Summary: Web Inspector: Title of "Record Timeline" status button on "Timeline Panel" s...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-05 03:23 PST by Sankeerth V S
Modified: 2012-12-05 23:29 PST (History)
10 users (show)

See Also:


Attachments
Patch (1.94 KB, patch)
2012-12-05 03:37 PST, Sankeerth V S
no flags Details | Formatted Diff | Diff
Patch (1.92 KB, patch)
2012-12-05 22:39 PST, Sankeerth V S
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sankeerth V S 2012-12-05 03:23:49 PST
Title of "Record Timeline" status button on "Timeline Panel" should be toggled upon the recording state.
Comment 1 Sankeerth V S 2012-12-05 03:25:15 PST
patch to follow.
Comment 2 Sankeerth V S 2012-12-05 03:37:44 PST
Created attachment 177715 [details]
Patch
Comment 3 Alexander Pavlov (apavlov) 2012-12-05 04:17:00 PST
Comment on attachment 177715 [details]
Patch

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

> Source/WebCore/ChangeLog:4
> +        Panel" should be toggled upon the recording state.

I'd put it as "...should reflect the recording state."

> Source/WebCore/inspector/front-end/TimelinePanel.js:556
> +            this.toggleTimelineButton.title = WebInspector.UIString("Stop");

The previous line looks like a more appropriate place for this line, since starting the record and toggling the title are logically related, and sending the metrics event is related to the entire sequence.
Comment 4 Sankeerth V S 2012-12-05 22:39:06 PST
Created attachment 177940 [details]
Patch
Comment 5 WebKit Review Bot 2012-12-05 23:29:01 PST
Comment on attachment 177940 [details]
Patch

Clearing flags on attachment: 177940

Committed r136809: <http://trac.webkit.org/changeset/136809>
Comment 6 WebKit Review Bot 2012-12-05 23:29:04 PST
All reviewed patches have been landed.  Closing bug.