From ce308e25e57a0a040cd1ea05f00bf1cc23c1bd8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82=C4=99biowski?= Date: Sat, 13 Dec 2014 21:41:04 +0100 Subject: [PATCH] Support: Correct iOS 8 support test results, re-arrange entries --- test/unit/support.js | 53 +++++++++++++++++++++++++++++--------------- 1 file changed, 35 insertions(+), 18 deletions(-) diff --git a/test/unit/support.js b/test/unit/support.js index 0e58aa53b..b86aa9449 100644 --- a/test/unit/support.js +++ b/test/unit/support.js @@ -104,23 +104,6 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec "radioValue": false, "reliableMarginRight": true }; - } else if ( /(6|7)\.0(\.\d+|) safari/i.test( userAgent ) ) { - expected = { - "ajax": true, - "boxSizingReliable": true, - "checkClone": true, - "checkOn": true, - "clearCloneStyle": true, - "cors": true, - "createHTMLDocument": true, - "focusinBubbles": false, - "noCloneChecked": true, - "optDisabled": true, - "optSelected": true, - "pixelPosition": false, - "radioValue": true, - "reliableMarginRight": true - }; } else if ( /8.0(\.\d+|) safari/i.test( userAgent ) ) { expected = { "ajax": true, @@ -138,6 +121,23 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec "radioValue": true, "reliableMarginRight": true }; + } else if ( /(6|7)\.0(\.\d+|) safari/i.test( userAgent ) ) { + expected = { + "ajax": true, + "boxSizingReliable": true, + "checkClone": true, + "checkOn": true, + "clearCloneStyle": true, + "cors": true, + "createHTMLDocument": true, + "focusinBubbles": false, + "noCloneChecked": true, + "optDisabled": true, + "optSelected": true, + "pixelPosition": false, + "radioValue": true, + "reliableMarginRight": true + }; } else if ( /firefox/i.test( userAgent ) ) { expected = { "ajax": true, @@ -155,7 +155,24 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec "radioValue": true, "reliableMarginRight": true }; - } else if ( /iphone os/i.test( userAgent ) ) { + } else if ( /iphone os 8/i.test( userAgent ) ) { + expected = { + "ajax": true, + "boxSizingReliable": true, + "checkClone": true, + "checkOn": true, + "clearCloneStyle": true, + "cors": true, + "createHTMLDocument": false, + "focusinBubbles": false, + "noCloneChecked": true, + "optDisabled": true, + "optSelected": true, + "pixelPosition": false, + "radioValue": true, + "reliableMarginRight": true + }; + } else if ( /iphone os (6|7)/i.test( userAgent ) ) { expected = { "ajax": true, "boxSizingReliable": true,