Tests: Make regexes for iOS devices more rigid

This commit is contained in:
Michał Gołębiowski 2015-10-30 19:19:01 +01:00
parent 602c34d45b
commit 83391859bd

View File

@ -351,7 +351,7 @@ testIframeWithCallback(
"style": true,
"submit": true
};
} else if ( /iphone os 9/i.test( userAgent ) ) {
} else if ( /iphone os 9_/i.test( userAgent ) ) {
expected = {
"ajax": true,
"attributes": true,
@ -385,7 +385,7 @@ testIframeWithCallback(
"style": true,
"submit": true
};
} else if ( /iphone os 8/i.test( userAgent ) ) {
} else if ( /iphone os 8_/i.test( userAgent ) ) {
expected = {
"ajax": true,
"attributes": true,
@ -419,7 +419,7 @@ testIframeWithCallback(
"style": true,
"submit": true
};
} else if ( /iphone os 7/i.test( userAgent ) ) {
} else if ( /iphone os 7_/i.test( userAgent ) ) {
expected = {
"ajax": true,
"attributes": true,