aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/support.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/support.js b/test/unit/support.js
index 0ed77a932..0983d2295 100644
--- a/test/unit/support.js
+++ b/test/unit/support.js
@@ -300,7 +300,7 @@ testIframe(
expected = expectedMap.firefox_60;
} else if ( /firefox/i.test( userAgent ) ) {
expected = expectedMap.firefox;
- } else if ( /iphone os 11_/i.test( userAgent ) ) {
+ } else if ( /(?:iphone|ipad);.*(?:iphone)? os 11_/i.test( userAgent ) ) {
expected = expectedMap.ios_11;
} else if ( /iphone os (?:9|10)_/i.test( userAgent ) ) {
expected = expectedMap.ios_9_10;