]> source.dussan.org Git - jquery.git/commitdiff
Tests: take Safari 9.1 into account
authorMichał Gołębiowski <m.goleb@gmail.com>
Mon, 2 May 2016 20:49:17 +0000 (22:49 +0200)
committerMichał Gołębiowski <m.goleb@gmail.com>
Mon, 2 May 2016 20:49:17 +0000 (22:49 +0200)
Safari 9.1 shares its support test results with Safari 9.0 but it's been
excluded from the regex catching Safari 9.0. This has been fixed.

test/unit/support.js

index ff5d66f870d09fac3a659b77e5657372d460ea72..88aa49e55131d7042034f3cd8ff7a534972c5e12 100644 (file)
@@ -130,7 +130,7 @@ testIframe(
                        "radioValue": true,
                        "reliableMarginLeft": true
                };
-       } else if ( /9\.0(\.\d+|) safari/i.test( userAgent ) ) {
+       } else if ( /9(\.\d+|) safari/i.test( userAgent ) ) {
                expected = {
                        "ajax": true,
                        "boxSizingReliable": true,