From: Michał Gołębiowski Date: Sun, 14 Jun 2015 00:05:05 +0000 (+0200) Subject: Tests: Correct a typo in the regex matching Safari 8 X-Git-Tag: 3.0.0-alpha1+compat~32 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ef332c7c7b14533a078860e3e1527acfa59a26a7;p=jquery.git Tests: Correct a typo in the regex matching Safari 8 (cherry-picked from c17543fd3c14ff86c448dbb90f9fe1223661a73b) --- diff --git a/test/unit/support.js b/test/unit/support.js index 4d5ba5789..fcbf5600b 100644 --- a/test/unit/support.js +++ b/test/unit/support.js @@ -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,