Skip to content
Permalink
Browse files
Tests: Make regexes for iOS devices more rigid
  • Loading branch information
mgol committed Oct 30, 2015
1 parent 602c34d commit 83391859bda90f630bf02a5e04d82e9f1babeb1f
Showing with 3 additions and 3 deletions.
  1. +3 −3 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,

0 comments on commit 8339185

Please sign in to comment.