]> source.dussan.org Git - jquery.git/commitdiff
Support: Add expected support results for Safari 7 & IE11
authorMichał Gołębiowski <m.goleb@gmail.com>
Wed, 22 Jan 2014 20:35:09 +0000 (21:35 +0100)
committerMichał Gołębiowski <m.goleb@gmail.com>
Wed, 22 Jan 2014 20:35:09 +0000 (21:35 +0100)
test/unit/support.js

index 86cc7a269d4f59a27583037b2d1f865b086302da..2f171a675a7ea0823e863cdce2845c1e6e860dbd 100644 (file)
@@ -83,6 +83,22 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
                        "radioValue": false,
                        "reliableMarginRight": true
                };
+       } else if ( /trident\/7\.0/i.test( userAgent ) ) {
+               expected = {
+                       "ajax": true,
+                       "boxSizingReliable": false,
+                       "checkClone": true,
+                       "checkOn": true,
+                       "clearCloneStyle": false,
+                       "cors": true,
+                       "focusinBubbles": true,
+                       "noCloneChecked": true,
+                       "optDisabled": true,
+                       "optSelected": false,
+                       "pixelPosition": true,
+                       "radioValue": false,
+                       "reliableMarginRight": true
+               };
        } else if ( /msie 10\.0/i.test( userAgent ) ) {
                expected = {
                        "ajax": true,
@@ -115,6 +131,22 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
                        "radioValue": false,
                        "reliableMarginRight": true
                };
+       } else if ( /7\.0\.\d+ safari/i.test( userAgent ) ) {
+               expected = {
+                       "ajax": true,
+                       "boxSizingReliable": true,
+                       "checkClone": true,
+                       "checkOn": true,
+                       "clearCloneStyle": true,
+                       "cors": true,
+                       "focusinBubbles": false,
+                       "noCloneChecked": true,
+                       "optDisabled": true,
+                       "optSelected": true,
+                       "pixelPosition": false,
+                       "radioValue": true,
+                       "reliableMarginRight": true
+               };
        } else if ( /6\.0\.\d+ safari/i.test( userAgent ) ) {
                expected = {
                        "ajax": true,