aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2015-10-30 19:19:01 +0100
committerMichał Gołębiowski <m.goleb@gmail.com>2015-10-30 19:19:01 +0100
commit83391859bda90f630bf02a5e04d82e9f1babeb1f (patch)
tree2f6cb94c25c8d2fe43d1c14e0ec6a52f38caa2bb
parent602c34d45bf3cdc71b2f7e1344b75dc1489dd870 (diff)
downloadjquery-83391859bda90f630bf02a5e04d82e9f1babeb1f.tar.gz
jquery-83391859bda90f630bf02a5e04d82e9f1babeb1f.zip
Tests: Make regexes for iOS devices more rigid
-rw-r--r--test/unit/support.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/support.js b/test/unit/support.js
index 1d50c1124..4cac9d96d 100644
--- a/test/unit/support.js
+++ b/test/unit/support.js
@@ -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,