Changeset 209933 in webkit


Ignore:
Timestamp:
Dec 16, 2016 1:20:53 PM (7 years ago)
Author:
Matt Baker
Message:

Web Inspector: REGRESSION (r209882): Opening find banner in editor causes UI to hang
https://bugs.webkit.org/show_bug.cgi?id=165967

Reviewed by Timothy Hatcher.

  • UserInterface/Views/ContentBrowser.js:

(WebInspector.ContentBrowser.prototype._findBannerDidShow):
Showing the find banner should cause search results to be refreshed only
if it contains query text.

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r209921 r209933  
     12016-12-16  Matt Baker  <mattbaker@apple.com>
     2
     3        Web Inspector: REGRESSION (r209882): Opening find banner in editor causes UI to hang
     4        https://bugs.webkit.org/show_bug.cgi?id=165967
     5
     6        Reviewed by Timothy Hatcher.
     7
     8        * UserInterface/Views/ContentBrowser.js:
     9        (WebInspector.ContentBrowser.prototype._findBannerDidShow):
     10        Showing the find banner should cause search results to be refreshed only
     11        if it contains query text.
     12
    1132016-12-16  Matt Baker  <mattbaker@apple.com>
    214
  • trunk/Source/WebInspectorUI/UserInterface/Views/ContentBrowser.js

    r209882 r209933  
    295295
    296296        currentContentView.automaticallyRevealFirstSearchResult = true;
    297         currentContentView.performSearch(this._findBanner.searchQuery);
     297        if (this._findBanner.searchQuery !== "")
     298            currentContentView.performSearch(this._findBanner.searchQuery);
    298299    }
    299300
Note: See TracChangeset for help on using the changeset viewer.