mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Tests: Make the support tests pass on Firefox 4x/5x/60
The check for old Firefox versions with different support test result only checked for Firefox 52 or 60. It now checks for 4x/5x/60 to understand more versions. Closes gh-4583
This commit is contained in:
parent
4cbdc745cc
commit
f0d5ec62c3
@ -307,7 +307,7 @@ testIframe(
|
||||
expected = expectedMap.chrome;
|
||||
} else if ( /\b(?:9|10)\.\d+(\.\d+)* safari/i.test( userAgent ) ) {
|
||||
expected = expectedMap.safari_9_10;
|
||||
} else if ( /firefox\/(?:52|60)/i.test( userAgent ) ) {
|
||||
} else if ( /firefox\/(?:4\d|5\d|60)/i.test( userAgent ) ) {
|
||||
expected = expectedMap.firefox_60;
|
||||
} else if ( /firefox/i.test( userAgent ) ) {
|
||||
expected = expectedMap.firefox;
|
||||
|
Loading…
Reference in New Issue
Block a user