Skip to main content

parse_version_parts

Function parse_version_parts 

Source
pub fn parse_version_parts(version: &str) -> Option<Vec<u16>>
Expand description

Parse a dotted numeric version (146.0.7444.60) into parts.

Prefer feeding this the uaFullVersion client hint over the UA string: UA reduction freezes the UA’s version at MAJOR.0.0.0, but real Chrome still reports the true quad through getHighEntropyValues. Deriving fullVersion from the reduced form would answer that probe with 146.0.0.0, which no real browser returns.