Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5060974c125e844e2b23d23d10e895661cfdd002
      
https://github.com/WebKit/WebKit/commit/5060974c125e844e2b23d23d10e895661cfdd002
  Author: Jonathan Davis <j...@apple.com>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M Source/WebInspectorUI/UserInterface/Views/ResourceTreeElement.js

  Log Message:
  -----------
  Web Inspector: Sources: Sort resources without the file extension first
https://bugs.webkit.org/show_bug.cgi?id=220437
rdar://72905353

Reviewed by Patrick Angle.

Sorting without the file extension first avoids comparing the dot (.) to
longer filenames with the same root string.
(e.g. styles.css and styles-dark.css)

* Source/WebInspectorUI/UserInterface/Views/ResourceTreeElement.js:
(WI.ResourceTreeElement.compareResourceTreeElements.filenameWithoutExtention):
(WI.ResourceTreeElement.compareResourceTreeElements):

Canonical link: https://commits.webkit.org/268557@main


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to