Title: [250838] trunk/Source/WebKit
- Revision
- 250838
- Author
- [email protected]
- Date
- 2019-10-08 10:44:44 -0700 (Tue, 08 Oct 2019)
Log Message
Sort Internal and Experimental features by human readable name
https://bugs.webkit.org/show_bug.cgi?id=202667
Reviewed by Zalan Bujtas.
Sort the statically generated vectors of internal and
experimental features by their human readable name, rather than
the feature key, so that looking at them in the Settings app
doesn't make people who like alphabetical order angry.
* Scripts/GeneratePreferences.rb: Add an extra sort call to the list generation.
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (250837 => 250838)
--- trunk/Source/WebKit/ChangeLog 2019-10-08 17:26:30 UTC (rev 250837)
+++ trunk/Source/WebKit/ChangeLog 2019-10-08 17:44:44 UTC (rev 250838)
@@ -1,3 +1,17 @@
+2019-10-08 Dean Jackson <[email protected]>
+
+ Sort Internal and Experimental features by human readable name
+ https://bugs.webkit.org/show_bug.cgi?id=202667
+
+ Reviewed by Zalan Bujtas.
+
+ Sort the statically generated vectors of internal and
+ experimental features by their human readable name, rather than
+ the feature key, so that looking at them in the Settings app
+ doesn't make people who like alphabetical order angry.
+
+ * Scripts/GeneratePreferences.rb: Add an extra sort call to the list generation.
+
2019-10-08 Wenson Hsieh <[email protected]>
[Clipboard API] Introduce bindings for the async Clipboard API
Modified: trunk/Source/WebKit/Scripts/GeneratePreferences.rb (250837 => 250838)
--- trunk/Source/WebKit/Scripts/GeneratePreferences.rb 2019-10-08 17:26:30 UTC (rev 250837)
+++ trunk/Source/WebKit/Scripts/GeneratePreferences.rb 2019-10-08 17:44:44 UTC (rev 250838)
@@ -140,8 +140,8 @@
@preferencesNotDebug = @preferences.select { |p| !p.category }
@preferencesDebug = @preferences.select { |p| p.category == "debug" }
- @experimentalFeatures = @preferences.select { |p| p.category == "experimental" }
- @internalDebugFeatures = @preferences.select { |p| p.category == "internal" }
+ @experimentalFeatures = @preferences.select { |p| p.category == "experimental" }.sort! { |x, y| x.humanReadableName <=> y.humanReadableName }
+ @internalDebugFeatures = @preferences.select { |p| p.category == "internal" }.sort! { |x, y| x.humanReadableName <=> y.humanReadableName }
@preferencesBoundToSetting = @preferences.select { |p| !p.webcoreBinding }
@preferencesBoundToDeprecatedGlobalSettings = @preferences.select { |p| p.webcoreBinding == "DeprecatedGlobalSettings" }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes