Title: [126162] trunk/Source/WebCore
Revision
126162
Author
[email protected]
Date
2012-08-21 09:32:36 -0700 (Tue, 21 Aug 2012)

Log Message

Web Inspector: break on exceptions decoration was lost, restoring.

Not reviewed - a follow up to 126012.

* inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel.prototype._pauseOnExceptionStateChanged.get switch):
(WebInspector.ScriptsPanel.prototype._pauseOnExceptionStateChanged):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (126161 => 126162)


--- trunk/Source/WebCore/ChangeLog	2012-08-21 16:21:26 UTC (rev 126161)
+++ trunk/Source/WebCore/ChangeLog	2012-08-21 16:32:36 UTC (rev 126162)
@@ -1,3 +1,13 @@
+2012-08-21  'Pavel Feldman'  <[email protected]>
+
+        Web Inspector: break on exceptions decoration was lost, restoring.
+
+        Not reviewed - a follow up to 126012.
+
+        * inspector/front-end/ScriptsPanel.js:
+        (WebInspector.ScriptsPanel.prototype._pauseOnExceptionStateChanged.get switch):
+        (WebInspector.ScriptsPanel.prototype._pauseOnExceptionStateChanged):
+
 2012-08-21  Sheriff Bot  <[email protected]>
 
         Unreviewed, rolling out r126146.

Modified: trunk/Source/WebCore/inspector/front-end/ScriptsPanel.js (126161 => 126162)


--- trunk/Source/WebCore/inspector/front-end/ScriptsPanel.js	2012-08-21 16:21:26 UTC (rev 126161)
+++ trunk/Source/WebCore/inspector/front-end/ScriptsPanel.js	2012-08-21 16:32:36 UTC (rev 126162)
@@ -569,7 +569,8 @@
 
     _pauseOnExceptionStateChanged: function()
     {
-        switch (WebInspector.settings.pauseOnExceptionStateString.get()) {
+        var pauseOnExceptionsState = WebInspector.settings.pauseOnExceptionStateString.get();
+        switch (pauseOnExceptionsState) {
         case WebInspector.DebuggerModel.PauseOnExceptionsState.DontPauseOnExceptions:
             this._pauseOnExceptionButton.title = WebInspector.UIString("Don't pause on exceptions.\nClick to Pause on all exceptions.");
             break;
@@ -580,6 +581,7 @@
             this._pauseOnExceptionButton.title = WebInspector.UIString("Pause on uncaught exceptions.\nClick to Not pause on exceptions.");
             break;
         }
+        this._pauseOnExceptionButton.state = pauseOnExceptionsState;
     },
 
     _updateDebuggerButtons: function()
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to