mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Tests: Make regexes for iOS devices more rigid
This commit is contained in:
@@ -178,7 +178,7 @@ testIframeWithCallback(
|
||||
"radioValue": true,
|
||||
"reliableMarginLeft": false
|
||||
};
|
||||
} else if ( /iphone os 9/i.test( userAgent ) ) {
|
||||
} else if ( /iphone os 9_/i.test( userAgent ) ) {
|
||||
expected = {
|
||||
"ajax": true,
|
||||
"boxSizingReliable": true,
|
||||
@@ -195,7 +195,7 @@ testIframeWithCallback(
|
||||
"radioValue": true,
|
||||
"reliableMarginLeft": true
|
||||
};
|
||||
} else if ( /iphone os 8/i.test( userAgent ) ) {
|
||||
} else if ( /iphone os 8_/i.test( userAgent ) ) {
|
||||
expected = {
|
||||
"ajax": true,
|
||||
"boxSizingReliable": true,
|
||||
@@ -212,7 +212,7 @@ testIframeWithCallback(
|
||||
"radioValue": true,
|
||||
"reliableMarginLeft": true
|
||||
};
|
||||
} else if ( /iphone os 7/i.test( userAgent ) ) {
|
||||
} else if ( /iphone os 7_/i.test( userAgent ) ) {
|
||||
expected = {
|
||||
"ajax": true,
|
||||
"boxSizingReliable": true,
|
||||
|
||||
Reference in New Issue
Block a user