Changeset 235240 in webkit


Ignore:
Timestamp:
Aug 23, 2018 1:06:14 PM (6 years ago)
Author:
Devin Rousso
Message:

Web Inspector: REGRESSION: InspectorStyleSheet not visible in the resources sidebar
https://bugs.webkit.org/show_bug.cgi?id=188819
<rdar://problem/43579039>

Reviewed by Brian Burg.

  • UserInterface/Models/ResourceCollection.js:

(WI.ResourceCollection.prototype.objectIsRequiredType):

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r235226 r235240  
     12018-08-23  Devin Rousso  <drousso@apple.com>
     2
     3        Web Inspector: REGRESSION: InspectorStyleSheet not visible in the resources sidebar
     4        https://bugs.webkit.org/show_bug.cgi?id=188819
     5        <rdar://problem/43579039>
     6
     7        Reviewed by Brian Burg.
     8
     9        * UserInterface/Models/ResourceCollection.js:
     10        (WI.ResourceCollection.prototype.objectIsRequiredType):
     11
    1122018-08-23  Joseph Pecoraro  <pecoraro@apple.com>
    213
  • trunk/Source/WebInspectorUI/UserInterface/Models/ResourceCollection.js

    r223997 r235240  
    4848    objectIsRequiredType(object)
    4949    {
     50        if (this._resourceType === WI.Resource.Type.Stylesheet && object instanceof WI.CSSStyleSheet)
     51            return true;
     52
    5053        if (!(object instanceof WI.Resource))
    5154            return false;
    5255
    5356        if (!this._resourceType)
    54             return true;
    55 
    56         if (this._resourceType === WI.Resource.Type.Stylesheet && object instanceof WI.CSSStyleSheet)
    5757            return true;
    5858
Note: See TracChangeset for help on using the changeset viewer.