From: Michał Gołębiowski Date: Fri, 30 Oct 2015 18:19:01 +0000 (+0100) Subject: Tests: Make regexes for iOS devices more rigid X-Git-Tag: 1.12.0~70 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=83391859bda90f630bf02a5e04d82e9f1babeb1f;p=jquery.git Tests: Make regexes for iOS devices more rigid --- 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,