File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 12981298 case OS :
12991299 // Since iOS 26, Safari's UA reports the OS version as frozen at 18:
13001300 // https://webkit.org/blog/17333/webkit-features-in-safari-26-0/#update-to-ua-string
1301- if ( this . get ( NAME ) == 'iOS' && this . get ( VERSION ) && / ^ 1 [ 8 9 ] [ ^ \d ] / . exec ( this . get ( VERSION ) ) ||
1302- // also on macOS 26, Safari reports the OS version as frozen at 10.15.7
1303- this . get ( NAME ) == 'macOS' && this . get ( VERSION ) == '10.15.7' ) {
1301+ if ( this . get ( NAME ) == 'iOS' && this . get ( VERSION ) && / ^ 1 [ 8 9 ] [ ^ \d ] / . exec ( this . get ( VERSION ) ) ) {
13041302 // Based on the assumption that "iOS" version is tightly coupled with "Safari" version
13051303 var realVersion = / \) V e r s i o n \/ ( ( \d + ) [ \d \. ] * ) / . exec ( this . ua ) ;
13061304 if ( realVersion && parseInt ( realVersion [ 2 ] , 10 ) >= 26 ) {
Original file line number Diff line number Diff line change 4141 "expect" :
4242 {
4343 "name" : " macOS" ,
44- "version" : " 26.5 "
44+ "version" : " 10.15.7 "
4545 }
4646 }
4747]
You can’t perform that action at this time.
0 commit comments