RESOLVED FIXED 192105
Web Inspector: Audit: "Add Default Audits" shown when there are no filter results
https://bugs.webkit.org/show_bug.cgi?id=192105
Summary Web Inspector: Audit: "Add Default Audits" shown when there are no filter res...
Devin Rousso
Reported 2018-11-28 14:40:57 PST
This is due to the fact that empty content placeholders are cached per `WI.TreeOutline`, meaning that when the "Add Default Audits" is shown for the first time, it is used instead of the "No Filter Results". We should remove this caching.
Attachments
Patch (8.08 KB, patch)
2018-11-28 14:55 PST, Devin Rousso
no flags
Archive of layout-test-results from ews121 for ios-simulator-wk2 (2.63 MB, application/zip)
2018-11-28 17:33 PST, EWS Watchlist
no flags
Patch (16.10 KB, patch)
2018-12-03 15:35 PST, Devin Rousso
no flags
Devin Rousso
Comment 1 2018-11-28 14:55:19 PST
EWS Watchlist
Comment 2 2018-11-28 17:33:08 PST Comment hidden (obsolete)
EWS Watchlist
Comment 3 2018-11-28 17:33:10 PST Comment hidden (obsolete)
Radar WebKit Bug Importer
Comment 4 2018-12-03 10:41:22 PST
Matt Baker
Comment 5 2018-12-03 14:17:21 PST
Comment on attachment 355922 [details] Patch r-, due to some issues that came up during testing: Before applying patch: - I can't reproduce the bug: when I filter the sidebar "No Filter Results" is always shown. - It looks like "Add Default Audits" isn't shown after removing all audits from the sidebar. After applying patch: - "Add Default Audits" works now. - After removing all audits, adding filter text causes "No Filter Results" to be shown again. Clearing the filter text does not remove the message, and there is no way to add the default audits.
Devin Rousso
Comment 6 2018-12-03 15:35:44 PST
Matt Baker
Comment 7 2018-12-03 16:23:26 PST
Comment on attachment 356421 [details] Patch r=me
WebKit Commit Bot
Comment 8 2018-12-03 16:57:43 PST
Comment on attachment 356421 [details] Patch Clearing flags on attachment: 356421 Committed r238831: <https://trac.webkit.org/changeset/238831>
WebKit Commit Bot
Comment 9 2018-12-03 16:57:44 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.