@@ -219,7 +219,15 @@ window.os_detect.getVersion = function(){
219
219
// Thanks to developer.mozilla.org "Firefox for developers" series for most
220
220
// of these.
221
221
// Release changelogs: http://www.mozilla.org/en-US/firefox/releases/
222
- if ( css_is_valid ( 'flex-wrap' , 'flexWrap' , 'nowrap' ) ) {
222
+ if ( 'copyWithin' in Array . prototype ) {
223
+ ua_version = '32.0' ;
224
+ } else if ( 'fill' in Array . prototype ) {
225
+ ua_version = '31.0' ;
226
+ else if ( css_is_valid ( 'background-blend-mode' , 'backgroundBlendMode' , 'multiply' ) ) {
227
+ ua_version = '30.0' ;
228
+ } else if ( css_is_valid ( 'box-sizing' , 'boxSizing' , 'border-box' ) ) {
229
+ ua_version = '29.0' ;
230
+ } else if ( css_is_valid ( 'flex-wrap' , 'flexWrap' , 'nowrap' ) ) {
223
231
ua_version = '28.0' ;
224
232
} else if ( css_is_valid ( 'cursor' , 'cursor' , 'grab' ) ) {
225
233
ua_version = '27.0' ;
@@ -699,7 +707,7 @@ window.os_detect.getVersion = function(){
699
707
// Verify whether the ua string is lying by checking if it contains
700
708
// the major version we detected using known objects above. If it
701
709
// appears to be truthful, then use its more precise version number.
702
- if ( version && version . split ( "." ) [ 0 ] == ua_version . split ( "." ) [ 0 ] ) {
710
+ if ( version && ua_version && version . split ( "." ) [ 0 ] == ua_version . split ( "." ) [ 0 ] ) {
703
711
// The version number will sometimes end with a space or end of
704
712
// line, so strip off anything after a space if one exists
705
713
if ( - 1 != version . indexOf ( " " ) ) {
0 commit comments