Changeset 250838 in webkit
- Timestamp:
- Oct 8, 2019 10:44:44 AM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r250824 r250838 1 2019-10-08 Dean Jackson <dino@apple.com> 2 3 Sort Internal and Experimental features by human readable name 4 https://bugs.webkit.org/show_bug.cgi?id=202667 5 6 Reviewed by Zalan Bujtas. 7 8 Sort the statically generated vectors of internal and 9 experimental features by their human readable name, rather than 10 the feature key, so that looking at them in the Settings app 11 doesn't make people who like alphabetical order angry. 12 13 * Scripts/GeneratePreferences.rb: Add an extra sort call to the list generation. 14 1 15 2019-10-08 Wenson Hsieh <wenson_hsieh@apple.com> 2 16 -
trunk/Source/WebKit/Scripts/GeneratePreferences.rb
r235993 r250838 141 141 @preferencesNotDebug = @preferences.select { |p| !p.category } 142 142 @preferencesDebug = @preferences.select { |p| p.category == "debug" } 143 @experimentalFeatures = @preferences.select { |p| p.category == "experimental" } 144 @internalDebugFeatures = @preferences.select { |p| p.category == "internal" } 143 @experimentalFeatures = @preferences.select { |p| p.category == "experimental" }.sort! { |x, y| x.humanReadableName <=> y.humanReadableName } 144 @internalDebugFeatures = @preferences.select { |p| p.category == "internal" }.sort! { |x, y| x.humanReadableName <=> y.humanReadableName } 145 145 146 146 @preferencesBoundToSetting = @preferences.select { |p| !p.webcoreBinding }
Note: See TracChangeset
for help on using the changeset viewer.