Title: [120809] trunk/Source/WebCore
Revision
120809
Author
[email protected]
Date
2012-06-19 23:51:34 -0700 (Tue, 19 Jun 2012)

Log Message

Web Inspector: Clicking "Clear all profiles" while ongoing recording should reset the ProfileLauncherView
https://bugs.webkit.org/show_bug.cgi?id=89464

Patch by Vivek Galatage <[email protected]> on 2012-06-19
Reviewed by Yury Semikhatsky.

Resetting the ProfileLauncherView in order to reflect the correct states of buttons

No new tests as UI related minor fix.

* inspector/front-end/ProfilesPanel.js:
(WebInspector.ProfilesPanel.prototype._reset):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (120808 => 120809)


--- trunk/Source/WebCore/ChangeLog	2012-06-20 06:46:31 UTC (rev 120808)
+++ trunk/Source/WebCore/ChangeLog	2012-06-20 06:51:34 UTC (rev 120809)
@@ -1,3 +1,17 @@
+2012-06-19  Vivek Galatage  <[email protected]>
+
+        Web Inspector: Clicking "Clear all profiles" while ongoing recording should reset the ProfileLauncherView
+        https://bugs.webkit.org/show_bug.cgi?id=89464
+
+        Reviewed by Yury Semikhatsky.
+
+        Resetting the ProfileLauncherView in order to reflect the correct states of buttons
+
+        No new tests as UI related minor fix.
+
+        * inspector/front-end/ProfilesPanel.js:
+        (WebInspector.ProfilesPanel.prototype._reset):
+
 2012-06-19  Hayato Ito  <[email protected]>
 
         Assertion for event's target is wrong.

Modified: trunk/Source/WebCore/inspector/front-end/ProfilesPanel.js (120808 => 120809)


--- trunk/Source/WebCore/inspector/front-end/ProfilesPanel.js	2012-06-20 06:46:31 UTC (rev 120808)
+++ trunk/Source/WebCore/inspector/front-end/ProfilesPanel.js	2012-06-20 06:51:34 UTC (rev 120809)
@@ -377,6 +377,10 @@
         this._profileGroups = {};
         this._profileGroupsForLinks = {};
         this._profilesWereRequested = false;
+        this.recordButton.toggled = false;
+        if (this._selectedProfileType)
+            this.recordButton.title = this._selectedProfileType.buttonTooltip;
+        this._launcherView.profileFinished();
 
         this.sidebarTreeElement.removeStyleClass("some-expandable");
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to