]> source.dussan.org Git - jquery.git/commitdiff
Support: Add Android support tests results
authorMichał Gołębiowski <m.goleb@gmail.com>
Mon, 31 Mar 2014 21:07:24 +0000 (23:07 +0200)
committerMichał Gołębiowski <m.goleb@gmail.com>
Mon, 31 Mar 2014 21:07:24 +0000 (23:07 +0200)
test/unit/support.js

index c1f9d9bb967881dd4dd2ba4752839a254d51a7ea..d74dc1faf6a724463f754976e36308ad99758971 100644 (file)
@@ -558,6 +558,80 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
                        "submitBubbles": true,
                        "tbody": true
                };
+       } else if ( /android 2\.3/i.test( userAgent ) ) {
+               expected = {
+                       "ajax": true,
+                       "appendChecked": true,
+                       "boxSizing": true,
+                       "boxSizingReliable": true,
+                       "changeBubbles": true,
+                       "checkClone": true,
+                       "checkOn": false,
+                       "clearCloneStyle": false,
+                       "cors": true,
+                       "cssFloat": true,
+                       "deleteExpando": true,
+                       "enctype": true,
+                       "focusinBubbles": false,
+                       "getSetAttribute": true,
+                       "hrefNormalized": true,
+                       "html5Clone": true,
+                       "htmlSerialize": true,
+                       "inlineBlockNeedsLayout": false,
+                       "input": true,
+                       "leadingWhitespace": true,
+                       "noCloneChecked": true,
+                       "noCloneEvent": true,
+                       "opacity": true,
+                       "optDisabled": false,
+                       "optSelected": true,
+                       "ownLast": false,
+                       "pixelPosition": false,
+                       "radioValue": true,
+                       "reliableHiddenOffsets": true,
+                       "reliableMarginRight": false,
+                       "shrinkWrapBlocks": false,
+                       "style": true,
+                       "submitBubbles": true,
+                       "tbody": true
+               };
+       } else if ( /android 4\.[0-3]/i.test( userAgent ) ) {
+               expected = {
+                       "ajax": true,
+                       "appendChecked": true,
+                       "boxSizing": true,
+                       "boxSizingReliable": true,
+                       "changeBubbles": true,
+                       "checkClone": false,
+                       "checkOn": false,
+                       "clearCloneStyle": true,
+                       "cors": true,
+                       "cssFloat": true,
+                       "deleteExpando": true,
+                       "enctype": true,
+                       "focusinBubbles": false,
+                       "getSetAttribute": true,
+                       "hrefNormalized": true,
+                       "html5Clone": true,
+                       "htmlSerialize": true,
+                       "inlineBlockNeedsLayout": false,
+                       "input": true,
+                       "leadingWhitespace": true,
+                       "noCloneChecked": true,
+                       "noCloneEvent": true,
+                       "opacity": true,
+                       "optDisabled": true,
+                       "optSelected": true,
+                       "ownLast": false,
+                       "pixelPosition": false,
+                       "radioValue": true,
+                       "reliableHiddenOffsets": true,
+                       "reliableMarginRight": true,
+                       "shrinkWrapBlocks": false,
+                       "style": true,
+                       "submitBubbles": true,
+                       "tbody": true
+               };
        }
 
        if ( expected ) {