]> source.dussan.org Git - jquery.git/commitdiff
Tests: Add support test results for Firefox 61+
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Mon, 9 Jul 2018 16:37:52 +0000 (18:37 +0200)
committerGitHub <noreply@github.com>
Mon, 9 Jul 2018 16:37:52 +0000 (18:37 +0200)
Firefox 61 now passes the reliableMarginLeft test.

Closes gh-4122

test/unit/support.js

index 19906797572625ea70b3758090dc4cce054fc4ac..331c349a571187ed7fb81028bd5a571884c49c60 100644 (file)
@@ -160,7 +160,7 @@ testIframe(
                                "reliableMarginLeft": true,
                                "scrollboxSize": true
                        },
-                       firefox: {
+                       firefox_60: {
                                "ajax": true,
                                "boxSizingReliable": true,
                                "checkClone": true,
@@ -177,6 +177,23 @@ testIframe(
                                "reliableMarginLeft": false,
                                "scrollboxSize": true
                        },
+                       firefox: {
+                               "ajax": true,
+                               "boxSizingReliable": true,
+                               "checkClone": true,
+                               "checkOn": true,
+                               "clearCloneStyle": true,
+                               "cors": true,
+                               "createHTMLDocument": true,
+                               "focusin": false,
+                               "noCloneChecked": true,
+                               "optSelected": true,
+                               "pixelBoxStyles": true,
+                               "pixelPosition": true,
+                               "radioValue": true,
+                               "reliableMarginLeft": true,
+                               "scrollboxSize": true
+                       },
                        ios_11: {
                                "ajax": true,
                                "boxSizingReliable": true,
@@ -279,6 +296,8 @@ 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 ) ) {
+               expected = expectedMap.firefox_60;
        } else if ( /firefox/i.test( userAgent ) ) {
                expected = expectedMap.firefox;
        } else if ( /iphone os 11_/i.test( userAgent ) ) {