Web Inspector: Tooltip on Pause on Exceptions doesn't show up until it is clicked.
authorbweinstein@apple.com <bweinstein@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 27 May 2010 02:01:54 +0000 (02:01 +0000)
committerbweinstein@apple.com <bweinstein@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 27 May 2010 02:01:54 +0000 (02:01 +0000)
https://bugs.webkit.org/show_bug.cgi?id=39804

Reviewed by Mark Rowe.

Initialize the title attribute of the Pause on Exceptions button when we initialize other information
about it.

* inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@60265 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/inspector/front-end/ScriptsPanel.js

index 8c42ed4..523136a 100644 (file)
@@ -1,3 +1,16 @@
+2010-05-26  Brian Weinstein  <bweinstein@apple.com>
+
+        Reviewed by Mark Rowe.
+
+        Web Inspector: Tooltip on Pause on Exceptions doesn't show up until it is clicked.
+        https://bugs.webkit.org/show_bug.cgi?id=39804
+        
+        Initialize the title attribute of the Pause on Exceptions button when we initialize other information
+        about it. 
+
+        * inspector/front-end/ScriptsPanel.js:
+        (WebInspector.ScriptsPanel):
+
 2010-05-26  Adam Barth  <abarth@webkit.org>
 
         Unreviewed, rolling out r60262.
index 6c817ac..e3bc6bb 100644 (file)
@@ -164,6 +164,7 @@ WebInspector.ScriptsPanel = function()
     this._pauseOnExceptionButton = new WebInspector.StatusBarButton("", "scripts-pause-on-exceptions-status-bar-item", 3);
     this._pauseOnExceptionButton.addEventListener("click", this._togglePauseOnExceptions.bind(this), false);
     this._pauseOnExceptionButton.state = WebInspector.ScriptsPanel.PauseOnExceptionsState.DontPauseOnExceptions;
+    this._pauseOnExceptionButton.title = WebInspector.UIString("Don't pause on exceptions.\nClick to Pause on all exceptions."); 
 
     this._registerShortcuts();