From 223ed99f4a7e6259daf90af9bce849d1400b11d6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski?= Date: Mon, 19 Sep 2016 18:55:12 +0200 Subject: [PATCH] Tests: Add test results for Safari 10/iOS 10, remove for Safari 8 --- test/unit/support.js | 21 ++------------------- 1 file 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, -- 2.39.5