]> 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:50:25 +0000 (22:50 +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.

(cherry-picked from 234a2d828021b6eb36d83d83cc30c5a09045e781)

test/unit/support.js

index 46f48711522b292cc8e19849890283fa13e32a5f..155ebd54b4171cd53d97a96c06be4ed32a3511b5 100644 (file)
@@ -416,7 +416,7 @@ testIframeWithCallback(
                        "submit": true,
                        "tbody": true
                };
-       } else if ( /9\.0(\.\d+|) safari/i.test( userAgent ) ) {
+       } else if ( /9(\.\d+|) safari/i.test( userAgent ) ) {
                expected = {
                        "ajax": true,
                        "appendChecked": true,