]> source.dussan.org Git - jquery.git/commitdiff
Tests: Correct a typo in the regex matching Safari 8
authorMichał Gołębiowski <m.goleb@gmail.com>
Sun, 14 Jun 2015 00:05:05 +0000 (02:05 +0200)
committerMichał Gołębiowski <m.goleb@gmail.com>
Sun, 14 Jun 2015 00:05:05 +0000 (02:05 +0200)
(cherry-picked from c17543fd3c14ff86c448dbb90f9fe1223661a73b)

test/unit/support.js

index 4d5ba57891207f0eba71ec3d70261b0348f6777f..fcbf5600b54985286deb165afac552ce3c805c0f 100644 (file)
@@ -198,7 +198,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
                        "style": false,
                        "submit": false
                };
-       } else if ( /8.0(\.\d+|) safari/i.test( userAgent ) ) {
+       } else if ( /8\.0(\.\d+|) safari/i.test( userAgent ) ) {
                expected = {
                        "ajax": true,
                        "attributes": true,