WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 220993
REGRESSION(
r270637
) Filtering does not work in Styles sidebar panel
https://bugs.webkit.org/show_bug.cgi?id=220993
Summary
REGRESSION(r270637) Filtering does not work in Styles sidebar panel
Razvan Caliman
Reported
2021-01-26 10:57:19 PST
Regressed by
https://bugs.webkit.org/show_bug.cgi?id=218964
Steps to reproduce: - Go to
https://webkit.org
- Open WebInspector and select an element - Switch to Styles sidebar panel - Type a CSS property value into the Filter input at the bottom of the styles Expected: - The styles list is filtered by the term Actual: - No change in the styles list
Attachments
Patch
(1.52 KB, patch)
2021-01-26 11:12 PST
,
Razvan Caliman
no flags
Details
Formatted Diff
Diff
Patch
(2.38 KB, patch)
2021-01-26 11:46 PST
,
Razvan Caliman
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-01-26 10:57:28 PST
<
rdar://problem/73623818
>
Nikita Vasilyev
Comment 2
2021-01-26 11:03:51 PST
[Error] TypeError: super.filterDidChange is not a function. (In 'super.filterDidChange(filterBar)', 'super.filterDidChange' is undefined) filterDidChange (SpreadsheetRulesStyleDetailsPanel.js:323) _filterDidChange (GeneralStyleDetailsSidebarPanel.js:431) dispatch (Object.js:130) dispatchEventToListeners (Object.js:138) _handleFilterChanged (FilterBar.js:198) _handleFilterChanged
Razvan Caliman
Comment 3
2021-01-26 11:12:38 PST
Created
attachment 418448
[details]
Patch
Devin Rousso
Comment 4
2021-01-26 11:18:54 PST
Comment on
attachment 418448
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=418448&action=review
r=me with a recommended alternative
> Source/WebInspectorUI/ChangeLog:9 > + Reverting removal of abstract method used by SpreadsheetRulesStyleDetailsPanel.
I think we should just remove the `super.filterDidChange(filterBar);` call in `ComputedStyleDetailsPanel.js`. `WI.GeneralStyleDetailsSidebarPanel.prototype.initialLayout` checks for `typeof this._panel.filterDidChange === "function"`, so it may be better to remove it from the superclass in case we add new subclasses that don't actually override it.
Razvan Caliman
Comment 5
2021-01-26 11:46:24 PST
Created
attachment 418454
[details]
Patch
Razvan Caliman
Comment 6
2021-01-26 11:46:54 PST
Comment on
attachment 418448
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=418448&action=review
>> Source/WebInspectorUI/ChangeLog:9 >> + Reverting removal of abstract method used by SpreadsheetRulesStyleDetailsPanel. > > I think we should just remove the `super.filterDidChange(filterBar);` call in `ComputedStyleDetailsPanel.js`. `WI.GeneralStyleDetailsSidebarPanel.prototype.initialLayout` checks for `typeof this._panel.filterDidChange === "function"`, so it may be better to remove it from the superclass in case we add new subclasses that don't actually override it.
Sounds good. Done!
Devin Rousso
Comment 7
2021-01-26 11:50:52 PST
Comment on
attachment 418454
[details]
Patch r=me
Blaze Burg
Comment 8
2021-01-26 16:55:51 PST
Setting cq+
EWS
Comment 9
2021-01-26 17:12:06 PST
Committed
r271927
: <
https://trac.webkit.org/changeset/271927
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 418454
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug