]> source.dussan.org Git - jquery.git/commitdiff
Tests: Make support tests pass in Firefox 52
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Mon, 30 Jul 2018 16:06:08 +0000 (18:06 +0200)
committerMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Mon, 30 Jul 2018 16:06:08 +0000 (18:06 +0200)
jQuery Core now supports Firefox ESR.

test/unit/support.js

index 331c349a571187ed7fb81028bd5a571884c49c60..0ed77a9323a68920e5a332693b17fea3e03398a6 100644 (file)
@@ -296,7 +296,7 @@ testIframe(
                expected = expectedMap.safari_11;
        } else if ( /\b(?:9|10)\.\d(\.\d+)* safari/i.test( userAgent ) ) {
                expected = expectedMap.safari_9_10;
-       } else if ( /firefox\/60/i.test( userAgent ) ) {
+       } else if ( /firefox\/(?:52|60)/i.test( userAgent ) ) {
                expected = expectedMap.firefox_60;
        } else if ( /firefox/i.test( userAgent ) ) {
                expected = expectedMap.firefox;