mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Tests: Make regexes for iOS devices more rigid
This commit is contained in:
parent
602c34d45b
commit
83391859bd
@ -351,7 +351,7 @@ testIframeWithCallback(
|
|||||||
"style": true,
|
"style": true,
|
||||||
"submit": true
|
"submit": true
|
||||||
};
|
};
|
||||||
} else if ( /iphone os 9/i.test( userAgent ) ) {
|
} else if ( /iphone os 9_/i.test( userAgent ) ) {
|
||||||
expected = {
|
expected = {
|
||||||
"ajax": true,
|
"ajax": true,
|
||||||
"attributes": true,
|
"attributes": true,
|
||||||
@ -385,7 +385,7 @@ testIframeWithCallback(
|
|||||||
"style": true,
|
"style": true,
|
||||||
"submit": true
|
"submit": true
|
||||||
};
|
};
|
||||||
} else if ( /iphone os 8/i.test( userAgent ) ) {
|
} else if ( /iphone os 8_/i.test( userAgent ) ) {
|
||||||
expected = {
|
expected = {
|
||||||
"ajax": true,
|
"ajax": true,
|
||||||
"attributes": true,
|
"attributes": true,
|
||||||
@ -419,7 +419,7 @@ testIframeWithCallback(
|
|||||||
"style": true,
|
"style": true,
|
||||||
"submit": true
|
"submit": true
|
||||||
};
|
};
|
||||||
} else if ( /iphone os 7/i.test( userAgent ) ) {
|
} else if ( /iphone os 7_/i.test( userAgent ) ) {
|
||||||
expected = {
|
expected = {
|
||||||
"ajax": true,
|
"ajax": true,
|
||||||
"attributes": true,
|
"attributes": true,
|
||||||
|
Loading…
Reference in New Issue
Block a user