aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2014-03-31 23:07:24 +0200
committerMichał Gołębiowski <m.goleb@gmail.com>2014-03-31 23:07:24 +0200
commit6b879147585c873c88c175fef93e24dfbe8af519 (patch)
tree1ceaadcf0fd00f5dc4e339a98aba76ae1795d594
parent8072d25e6f9c0bd761aaaf90658917b3623a65c9 (diff)
downloadjquery-6b879147585c873c88c175fef93e24dfbe8af519.tar.gz
jquery-6b879147585c873c88c175fef93e24dfbe8af519.zip
Support: Add Android support tests results
-rw-r--r--test/unit/support.js74
1 files changed, 74 insertions, 0 deletions
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 ) {