Spec clarification (minor): handling of version strings with leading zeros in browser UI and stores #283
Labels
inconsistency
Inconsistent behavior across browsers
spec clarification
Needs clarification when specified
Extension
manifest.json
has to specifyversion
and can optionally specifyversion_name
.version_name
is an arbitrary string whileversion
has some rules applied to it. However, these rules are not very consistent across browsers, documentation, and even browser and these browser's own stores:1.01.01
, would be a displayed verbatimchrome://extensions/?id=*
removes these zeroes, e.g.,1.01.01
would become1.1.1
since01
is essentially the same as1
.Of course, this is a minor difference but it could cause confusion for the user. Should specification restrict leading zeroes (or anything else) or allow them?
For reference, Semantic Versioning Specification 2 section 2 disallows leading zeroes as well:
The text was updated successfully, but these errors were encountered: