RESOLVED FIXED 220437
Web Inspector: Sources: resources should be sorted not including the extension
https://bugs.webkit.org/show_bug.cgi?id=220437
Summary Web Inspector: Sources: resources should be sorted not including the extension
Devin Rousso
Reported 2021-01-07 14:29:17 PST
# STEPS TO REPRODUCE 1. inspect <https://webkit.org/> 2. toggle dark mode (should have `chevron.svg` and `chevron-dark.svg`) # EXPECTED `chevron.svg` should be before `chevron-dark.svg` # ACTUAL `chevron.svg` is after `chevron-dark.svg` I believe this is because Web Inspector does a `String.prototype.localeCompare` against the titles as they are shown in the UI which includes the extension. It may be desirable to call `WI.fileExtensionForFilename` before sorting and only include the extension if the filename is the same.
Attachments
Radar WebKit Bug Importer
Comment 1 2021-01-07 14:29:28 PST
Jon Davis
Comment 2 2023-09-27 12:12:34 PDT
EWS
Comment 3 2023-09-27 19:21:49 PDT
Committed 268557@main (5060974c125e): <https://commits.webkit.org/268557@main> Reviewed commits have been landed. Closing PR #18298 and removing active labels.
Jon Davis
Comment 4 2023-09-28 07:12:55 PDT
Re-opening to address an enhancement recommended during review.
Jon Davis
Comment 5 2023-09-28 07:20:50 PDT
Note You need to log in before you can comment on or make changes to this bug.