From a4e31a8e2c214e4a021856b44a23368d103c169d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20Go=C5=82=C4=99biowski?= Date: Sat, 13 Dec 2014 21:45:58 +0100 Subject: [PATCH] Support: Correct iOS 8 support test results, re-arrange entries --- test/unit/support.js | 41 ++++++++++++++++++++++++++++++++++++----- 1 file changed, 36 insertions(+), 5 deletions(-) diff --git a/test/unit/support.js b/test/unit/support.js index e09566006..a820cb413 100644 --- a/test/unit/support.js +++ b/test/unit/support.js @@ -194,7 +194,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec "style": false, "submitBubbles": false }; - } else if ( /(6|7)\.0(\.\d+|) safari/i.test( userAgent ) ) { + } else if ( /8.0(\.\d+|) safari/i.test( userAgent ) ) { expected = { "ajax": true, "attributes": true, @@ -204,7 +204,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec "checkOn": true, "clearCloneStyle": true, "cors": true, - "createHTMLDocument": true, + "createHTMLDocument": false, "cssFloat": true, "deleteExpando": true, "focusinBubbles": false, @@ -225,7 +225,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec "style": true, "submitBubbles": true }; - } else if ( /8.0(\.\d+|) safari/i.test( userAgent ) ) { + } else if ( /(6|7)\.0(\.\d+|) safari/i.test( userAgent ) ) { expected = { "ajax": true, "attributes": true, @@ -235,7 +235,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec "checkOn": true, "clearCloneStyle": true, "cors": true, - "createHTMLDocument": false, + "createHTMLDocument": true, "cssFloat": true, "deleteExpando": true, "focusinBubbles": false, @@ -287,7 +287,38 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec "style": true, "submitBubbles": true }; - } else if ( /iphone os/i.test( userAgent ) ) { + } else if ( /iphone os 8/i.test( userAgent ) ) { + expected = { + "ajax": true, + "attributes": true, + "boxSizingReliable": true, + "changeBubbles": true, + "checkClone": true, + "checkOn": true, + "clearCloneStyle": true, + "cors": true, + "createHTMLDocument": false, + "cssFloat": true, + "deleteExpando": true, + "focusinBubbles": false, + "html5Clone": true, + "htmlSerialize": true, + "input": true, + "leadingWhitespace": true, + "noCloneChecked": true, + "noCloneEvent": true, + "opacity": true, + "optDisabled": true, + "optSelected": true, + "ownLast": false, + "pixelPosition": false, + "radioValue": true, + "reliableHiddenOffsets": true, + "reliableMarginRight": true, + "style": true, + "submitBubbles": true + }; + } else if ( /iphone os (6|7)/i.test( userAgent ) ) { expected = { "ajax": true, "attributes": true, -- 2.39.5