WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
309187
version._strip_zeros will return an empty string if the list digit is non zero
https://bugs.webkit.org/show_bug.cgi?id=309187
Summary
version._strip_zeros will return an empty string if the list digit is non zero
alexandera_22
Reported
2026-03-04 13:26:58 PST
When using a Version element like `Version(1, 0, 0, 0, 3)`, if the last digit (3) is non-zero, it will return an empty string all together.
Attachments
Add attachment
proposed patch, testcase, etc.
alexandera_22
Comment 1
2026-03-04 13:27:29 PST
rdar://169045226
alexandera_22
Comment 2
2026-03-04 13:34:49 PST
Pull request:
https://github.com/WebKit/WebKit/pull/59916
EWS
Comment 3
2026-03-17 18:33:14 PDT
Committed
309443@main
(fc055c9d0995): <
https://commits.webkit.org/309443@main
> Reviewed commits have been landed. Closing PR #59916 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug