From 6b879147585c873c88c175fef93e24dfbe8af519 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski?= Date: Mon, 31 Mar 2014 23:07:24 +0200 Subject: [PATCH] Support: Add Android support tests results --- test/unit/support.js | 74 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) 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 ) {