Changeset 214551 in webkit


Ignore:
Timestamp:
Mar 29, 2017 11:57:52 AM (7 years ago)
Author:
commit-queue@webkit.org
Message:

Web Inspector: Network tab content view is blank after reload
https://bugs.webkit.org/show_bug.cgi?id=168029

Patch by Sam Brodkin <isam@apple.com> on 2017-03-29
Reviewed by Brian Burg.

  • UserInterface/Views/NetworkSidebarPanel.js:

(WebInspector.NetworkSidebarPanel.prototype._networkTimelineReset):
showDefaultContentView() which shows networkGridView in the contentView was not being called
when the NetworkSidebarPanel was not visible. Removing the if statement always shows the
networkGridView which fixes the bug. This wouldn't be easy to regression test.

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r214514 r214551  
     12017-03-29  Sam Brodkin  <isam@apple.com>
     2
     3        Web Inspector: Network tab content view is blank after reload
     4        https://bugs.webkit.org/show_bug.cgi?id=168029
     5
     6        Reviewed by Brian Burg.
     7
     8        * UserInterface/Views/NetworkSidebarPanel.js:
     9        (WebInspector.NetworkSidebarPanel.prototype._networkTimelineReset):
     10        showDefaultContentView() which shows networkGridView in the contentView was not being called
     11        when the NetworkSidebarPanel was not visible. Removing the if statement always shows the
     12        networkGridView which fixes the bug. This wouldn't be easy to regression test.
     13
    1142017-03-28  Brian Burg  <bburg@apple.com>
    215
  • trunk/Source/WebInspectorUI/UserInterface/Views/NetworkSidebarPanel.js

    r213666 r214551  
    192192    {
    193193        this.contentBrowser.contentViewContainer.closeAllContentViews();
    194 
    195         if (this.visible)
    196             this.showDefaultContentView();
     194        this.showDefaultContentView();
    197195    }
    198196
Note: See TracChangeset for help on using the changeset viewer.