Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fc055c9d0995a2e2b897205c98a58ea611e10d53
      
https://github.com/WebKit/WebKit/commit/fc055c9d0995a2e2b897205c98a58ea611e10d53
  Author: Alex Atwater <[email protected]>
  Date:   2026-03-17 (Tue, 17 Mar 2026)

  Changed paths:
    M 
Tools/Scripts/libraries/webkitcorepy/webkitcorepy/tests/version_unittest.py
    M Tools/Scripts/libraries/webkitcorepy/webkitcorepy/version.py

  Log Message:
  -----------
  version._strip_zeros will return an empty string if the list digit is non zero
https://bugs.webkit.org/show_bug.cgi?id=309187
rdar://169045226

Reviewed by Sam Sneddon.

if the last number in the list is non zero, return the entire list
instead of just an empty list

* Tools/Scripts/libraries/webkitcorepy/webkitcorepy/tests/version_unittest.py:
(VersionTestCase.test_string):
(VersionTestCase.test_representation):
* Tools/Scripts/libraries/webkitcorepy/webkitcorepy/version.py:
(Version._strip_zeros):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to