Changeset 48907 in webkit


Ignore:
Timestamp:
Sep 29, 2009 3:10:06 PM (15 years ago)
Author:
pfeldman@chromium.org
Message:

2009-09-29 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Oliver Hunt.

Web Inspector REGRESSION(r47820-r47822): Profiles aren't
added to the inspector unless the inspector is already open
when the profile completes.

https://bugs.webkit.org/show_bug.cgi?id=29897

  • inspector/front-end/ProfilesPanel.js: (WebInspector.ProfilesPanel.prototype._populateProfiles):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r48906 r48907  
     12009-09-29  Pavel Feldman  <pfeldman@chromium.org>
     2
     3        Reviewed by Oliver Hunt.
     4
     5        Web Inspector REGRESSION(r47820-r47822): Profiles aren't
     6        added to the inspector unless the inspector is already open
     7        when the profile completes.
     8
     9        https://bugs.webkit.org/show_bug.cgi?id=29897
     10
     11        * inspector/front-end/ProfilesPanel.js:
     12        (WebInspector.ProfilesPanel.prototype._populateProfiles):
     13
    1142009-09-29  Kenneth Rohde Christiansen  <kenneth@webkit.org>
    215
  • trunk/WebCore/inspector/front-end/ProfilesPanel.js

    r47821 r48907  
    396396    _populateProfiles: function()
    397397    {
    398         if (this.sidebarTree.children.length)
     398        // FIXME: This code needs to be adjusted when more profiling types are added.
     399        // Currently defaults to CPU profiles.
     400        var cpuProfiles = this.sidebarTree.children[0];
     401        if (cpuProfiles.children.length)
    399402            return;
    400403
     
    406409        }
    407410
    408         if (this.sidebarTree.children[0])
    409             this.sidebarTree.children[0].select();
     411        if (cpuProfiles.children[0])
     412            cpuProfiles.children[0].select();
    410413
    411414        delete this._shouldPopulateProfiles;
Note: See TracChangeset for help on using the changeset viewer.