aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2016-09-19 18:55:12 +0200
committerMichał Gołębiowski <m.goleb@gmail.com>2016-09-19 18:55:12 +0200
commit223ed99f4a7e6259daf90af9bce849d1400b11d6 (patch)
treef5ae52f56808803a47a69c14a30fa2d8ce8128c5
parentb5d09b90ca39876d1d9cc29508cfd56e7e3c350e (diff)
downloadjquery-223ed99f4a7e6259daf90af9bce849d1400b11d6.tar.gz
jquery-223ed99f4a7e6259daf90af9bce849d1400b11d6.zip
Tests: Add test results for Safari 10/iOS 10, remove for Safari 8
-rw-r--r--test/unit/support.js21
1 files changed, 2 insertions, 19 deletions
diff --git a/test/unit/support.js b/test/unit/support.js
index e6f292ad6..5be781942 100644
--- a/test/unit/support.js
+++ b/test/unit/support.js
@@ -130,7 +130,7 @@ testIframe(
"radioValue": true,
"reliableMarginLeft": true
};
- } else if ( /\b9\.\d(\.\d+)* safari/i.test( userAgent ) ) {
+ } else if ( /\b(?:9|10)\.\d(\.\d+)* safari/i.test( userAgent ) ) {
expected = {
"ajax": true,
"boxSizingReliable": true,
@@ -147,23 +147,6 @@ testIframe(
"radioValue": true,
"reliableMarginLeft": true
};
- } else if ( /8\.0(\.\d+|) safari/i.test( userAgent ) ) {
- expected = {
- "ajax": true,
- "boxSizingReliable": true,
- "checkClone": true,
- "checkOn": true,
- "clearCloneStyle": true,
- "cors": true,
- "createHTMLDocument": false,
- "focusin": false,
- "noCloneChecked": true,
- "optSelected": true,
- "pixelMarginRight": true,
- "pixelPosition": false,
- "radioValue": true,
- "reliableMarginLeft": true
- };
} else if ( /firefox/i.test( userAgent ) ) {
expected = {
"ajax": true,
@@ -181,7 +164,7 @@ testIframe(
"radioValue": true,
"reliableMarginLeft": false
};
- } else if ( /iphone os 9_/i.test( userAgent ) ) {
+ } else if ( /iphone os (?:9|10)_/i.test( userAgent ) ) {
expected = {
"ajax": true,
"boxSizingReliable": true,