Changeset 54148 in webkit


Ignore:
Timestamp:
Feb 1, 2010 2:02:59 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-02-01 Alexander Pavlov <apavlov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: lazy-load textual resources to avoid UI hangup
https://bugs.webkit.org/show_bug.cgi?id=34332

  • inspector/front-end/ResourceView.js: (WebInspector.ResourceView.prototype._innerSelectContentTab):
  • inspector/front-end/SourceView.js: (WebInspector.SourceView.prototype.show): (WebInspector.SourceView.prototype.contentTabSelected):
Location:
trunk/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r54145 r54148  
     12010-02-01  Alexander Pavlov  <apavlov@chromium.org>
     2
     3        Reviewed by Pavel Feldman.
     4
     5        Web Inspector: lazy-load textual resources to avoid UI hangup
     6        https://bugs.webkit.org/show_bug.cgi?id=34332
     7
     8        * inspector/front-end/ResourceView.js:
     9        (WebInspector.ResourceView.prototype._innerSelectContentTab):
     10        * inspector/front-end/SourceView.js:
     11        (WebInspector.SourceView.prototype.show):
     12        (WebInspector.SourceView.prototype.contentTabSelected):
     13
    1142010-02-01  Brady Eidson  <beidson@apple.com>
    215
  • trunk/WebCore/inspector/front-end/ResourceView.js

    r53941 r54148  
    184184        if ("resize" in this)
    185185            this.resize();
     186        if ("contentTabSelected" in this)
     187            this.contentTabSelected();
    186188    },
    187189
  • trunk/WebCore/inspector/front-end/SourceView.js

    r54052 r54148  
    4242    {
    4343        WebInspector.ResourceView.prototype.show.call(this, parentElement);
    44         this.setupSourceFrameIfNeeded();
    4544        this.sourceFrame.visible = true;
    4645        this.resize();
     
    8079        WebInspector.getResourceContent(this.resource.identifier, this._contentLoaded.bind(this));
    8180    },
    82    
     81
     82    contentTabSelected: function()
     83    {
     84        this.setupSourceFrameIfNeeded();
     85    },
     86
    8387    _contentLoaded: function(content)
    8488    {
Note: See TracChangeset for help on using the changeset viewer.