[Webkit-unassigned] [Bug 242186] New: Web Inspector: REGRESSION (Bug 241817 ) Filter bars missing from Styles and Computed panels

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 30 06:44:47 PDT 2022


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

            Bug ID: 242186
           Summary: Web Inspector: REGRESSION (Bug 241817 ) Filter bars
                    missing from Styles and Computed panels
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rcaliman at apple.com
                CC: inspector-bugzilla-changes at group.apple.com

Created attachment 460578

  --> https://bugs.webkit.org/attachment.cgi?id=460578&action=review

Missing filter bars

Regressed by Bug 241817

`Source/WebInspectorUI/UserInterface/Views/GeneralStyleDetailsSidebarPanel.js:216`

```
this.contentView.element.classList.toggle("has-filter-bar", !!this._filterBar);
```

The check for the truthiness of `this._filterBar` always occurs before the member is assigned. 
It always returns false: `!!undefined === false`.


`WI.GeneralStyleDetailsSidebarPanel._showPanel()` is called at the top of `WI.GeneralStyleDetailsSidebarPanel.initialLayout()` before `this._filterBar` is ever assigned.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220630/a732cbd1/attachment.htm>


More information about the webkit-unassigned mailing list