Changeset 91661 in webkit


Ignore:
Timestamp:
Jul 25, 2011 5:17:50 AM (13 years ago)
Author:
yurys@chromium.org
Message:

Web Inspector: worker inspector should show Scripts panel by default
https://bugs.webkit.org/show_bug.cgi?id=65099

Reviewed by Pavel Feldman.

  • inspector/front-end/inspector.js:

(WebInspector._defaultPanelName):
(WebInspector.showPanel):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r91657 r91661  
     12011-07-25  Yury Semikhatsky  <yurys@chromium.org>
     2
     3        Web Inspector: worker inspector should show Scripts panel by default
     4        https://bugs.webkit.org/show_bug.cgi?id=65099
     5
     6        Reviewed by Pavel Feldman.
     7
     8        * inspector/front-end/inspector.js:
     9        (WebInspector._defaultPanelName):
     10        (WebInspector.showPanel):
     11
    1122011-07-24  Luke Macpherson   <macpherson@chromium.org>
    213
  • trunk/Source/WebCore/inspector/front-end/inspector.js

    r91360 r91661  
    10291029WebInspector.showPanel = function(panel)
    10301030{
    1031     if (!(panel in this.panels))
    1032         panel = "elements";
     1031    if (!(panel in this.panels)) {
     1032        if (WebInspector.WorkerManager.isWorkerFrontend())
     1033            panel = "scripts";
     1034        else
     1035            panel = "elements";
     1036    }
    10331037    this.currentPanel = this.panels[panel];
    10341038}
Note: See TracChangeset for help on using the changeset viewer.