Bug 242186

Summary: Web Inspector: REGRESSION (Bug 241817 ) Filter bars missing from Styles and Computed panels
Product: WebKit Reporter: Razvan Caliman <rcaliman>
Component: Web InspectorAssignee: Razvan Caliman <rcaliman>
Status: RESOLVED FIXED    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
See Also: https://bugs.webkit.org/show_bug.cgi?id=241817
Attachments:
Description Flags
Missing filter bars
none
With filter bars none

Razvan Caliman
Reported 2022-06-30 06:44:47 PDT
Created attachment 460578 [details] 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.
Attachments
Missing filter bars (185.11 KB, image/png)
2022-06-30 06:44 PDT, Razvan Caliman
no flags
With filter bars (188.51 KB, image/png)
2022-06-30 06:52 PDT, Razvan Caliman
no flags
Radar WebKit Bug Importer
Comment 1 2022-06-30 06:45:58 PDT
Razvan Caliman
Comment 2 2022-06-30 06:52:18 PDT
Created attachment 460579 [details] With filter bars
Razvan Caliman
Comment 3 2022-06-30 07:13:22 PDT
EWS
Comment 4 2022-07-02 04:17:11 PDT
Committed 252093@main (27afcd755691): <https://commits.webkit.org/252093@main> Reviewed commits have been landed. Closing PR #1946 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.