Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Tests: Make regexes for iOS devices more rigid
- Loading branch information
Showing
with
3 additions
and
3 deletions.
-
+3
−3
test/unit/support.js
There are no files selected for viewing
|
|
@@ -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, |
|
|
|