From: Michał Gołębiowski Date: Mon, 31 Mar 2014 21:07:24 +0000 (+0200) Subject: Support: Add Android support tests results X-Git-Tag: 1.11.1-rc1~26 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6b879147585c873c88c175fef93e24dfbe8af519;p=jquery.git Support: Add Android support tests results --- diff --git a/test/unit/support.js b/test/unit/support.js index c1f9d9bb9..d74dc1faf 100644 --- a/test/unit/support.js +++ b/test/unit/support.js @@ -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 ) {