From 83391859bda90f630bf02a5e04d82e9f1babeb1f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20Go=C5=82=C4=99biowski?= Date: Fri, 30 Oct 2015 19:19:01 +0100 Subject: [PATCH] Tests: Make regexes for iOS devices more rigid --- test/unit/support.js | 6 +++--- 1 file 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, -- 2.39.5