mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +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.
(cherry-picked from 7f2ebd2c4d
)
This commit is contained in:
parent
b9272aaedc
commit
b052e16cd3
@ -150,7 +150,7 @@ testIframeWithCallback(
|
||||
"reliableMarginLeft": true,
|
||||
"reliableMarginRight": true
|
||||
};
|
||||
} else if ( /9(\.\d+|) safari/i.test( userAgent ) ) {
|
||||
} else if ( /\b9\.\d(\.\d+)* safari/i.test( userAgent ) ) {
|
||||
expected = {
|
||||
"ajax": true,
|
||||
"boxSizingReliable": true,
|
||||
|
Loading…
Reference in New Issue
Block a user