diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2016-09-19 18:55:12 +0200 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2016-09-19 18:55:12 +0200 |
commit | 223ed99f4a7e6259daf90af9bce849d1400b11d6 (patch) | |
tree | f5ae52f56808803a47a69c14a30fa2d8ce8128c5 | |
parent | b5d09b90ca39876d1d9cc29508cfd56e7e3c350e (diff) | |
download | jquery-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.js | 21 |
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, |