aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/support.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/support.js')
-rw-r--r--test/unit/support.js36
1 files changed, 3 insertions, 33 deletions
diff --git a/test/unit/support.js b/test/unit/support.js
index 97650bdff..80ce287d8 100644
--- a/test/unit/support.js
+++ b/test/unit/support.js
@@ -52,6 +52,8 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
userAgent = window.navigator.userAgent;
if ( /chrome/i.test( userAgent ) ) {
+ // Catches Chrome on Android as well (i.e. the default
+ // Android browser on Android >= 4.4).
expected = {
"ajax": true,
"boxSizingReliable": true,
@@ -67,22 +69,6 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
"radioValue": true,
"reliableMarginRight": true
};
- } else if ( /opera.*version\/12\.1/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": true,
- "radioValue": false,
- "reliableMarginRight": true
- };
} else if ( /trident\/7\.0/i.test( userAgent ) ) {
expected = {
"ajax": true,
@@ -163,22 +149,6 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
"radioValue": true,
"reliableMarginRight": true
};
- } else if ( /5\.1(\.\d+|) safari/i.test( userAgent ) ) {
- expected = {
- "ajax": true,
- "boxSizingReliable": true,
- "checkClone": false,
- "checkOn": false,
- "clearCloneStyle": true,
- "cors": true,
- "focusinBubbles": false,
- "noCloneChecked": true,
- "optDisabled": true,
- "optSelected": true,
- "pixelPosition": false,
- "radioValue": true,
- "reliableMarginRight": true
- };
} else if ( /firefox/i.test( userAgent ) ) {
expected = {
"ajax": true,
@@ -195,7 +165,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
"radioValue": true,
"reliableMarginRight": true
};
- } else if ( /iphone os (?:6|7)_/i.test( userAgent ) ) {
+ } else if ( /iphone os/i.test( userAgent ) ) {
expected = {
"ajax": true,
"boxSizingReliable": true,