mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Tests: Make the regex catching Safari 9.0/9.1 more resilient
The word boundary character will prevent iOS from being a false positive.
This commit is contained in:
parent
234a2d8280
commit
7f2ebd2c4d
@ -130,7 +130,7 @@ testIframe(
|
|||||||
"radioValue": true,
|
"radioValue": true,
|
||||||
"reliableMarginLeft": true
|
"reliableMarginLeft": true
|
||||||
};
|
};
|
||||||
} else if ( /9(\.\d+|) safari/i.test( userAgent ) ) {
|
} else if ( /\b9\.\d(\.\d+)* safari/i.test( userAgent ) ) {
|
||||||
expected = {
|
expected = {
|
||||||
"ajax": true,
|
"ajax": true,
|
||||||
"boxSizingReliable": true,
|
"boxSizingReliable": true,
|
||||||
|
Loading…
Reference in New Issue
Block a user