Skip to content
Permalink
Browse files
2010-07-19 Yury Semikhatsky <yurys@chromium.org>
        Reviewed by Pavel Feldman.

        Web Inspector: hide "toggle debugger" button when debugger is always enabled
        https://bugs.webkit.org/show_bug.cgi?id=42558

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

Canonical link: https://commits.webkit.org/54489@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@63649 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
yury-s committed Jul 19, 2010
1 parent 3f8353f commit b5d0be219bcc7901fd3c678f75f8a0c9860bf670
Showing with 12 additions and 0 deletions.
  1. +10 −0 WebCore/ChangeLog
  2. +2 −0 WebCore/inspector/front-end/ScriptsPanel.js
@@ -1,3 +1,13 @@
2010-07-19 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: hide "toggle debugger" button when debugger is always enabled
https://bugs.webkit.org/show_bug.cgi?id=42558

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

2010-07-19 Hans Wennborg <hans@chromium.org>

Reviewed by Steve Block.
@@ -158,6 +158,8 @@ WebInspector.ScriptsPanel = function()

this.enableToggleButton = new WebInspector.StatusBarButton("", "enable-toggle-status-bar-item");
this.enableToggleButton.addEventListener("click", this._toggleDebugging.bind(this), false);
if (Preferences.debuggerAlwaysEnabled)
this.enableToggleButton.element.addStyleClass("hidden");

this._pauseOnExceptionButton = new WebInspector.StatusBarButton("", "scripts-pause-on-exceptions-status-bar-item", 3);
this._pauseOnExceptionButton.addEventListener("click", this._togglePauseOnExceptions.bind(this), false);

0 comments on commit b5d0be2

Please sign in to comment.