]> source.dussan.org Git - jquery.git/commitdiff
Support: Correct iOS 8 support test results, re-arrange entries
authorMichał Gołębiowski <m.goleb@gmail.com>
Sat, 13 Dec 2014 20:41:04 +0000 (21:41 +0100)
committerMichał Gołębiowski <m.goleb@gmail.com>
Sat, 13 Dec 2014 20:41:04 +0000 (21:41 +0100)
test/unit/support.js

index 0e58aa53b4ee73f4a2ddf0a3aadc79f1b79c0cd5..b86aa9449ac08bbf0c8457dae874e9f693178cc9 100644 (file)
@@ -104,7 +104,7 @@ 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 ) ) {
+       } else if ( /8.0(\.\d+|) safari/i.test( userAgent ) ) {
                expected = {
                        "ajax": true,
                        "boxSizingReliable": true,
@@ -112,7 +112,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
                        "checkOn": true,
                        "clearCloneStyle": true,
                        "cors": true,
-                       "createHTMLDocument": true,
+                       "createHTMLDocument": false,
                        "focusinBubbles": false,
                        "noCloneChecked": true,
                        "optDisabled": true,
@@ -121,7 +121,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
                        "radioValue": true,
                        "reliableMarginRight": true
                };
-       } else if ( /8.0(\.\d+|) safari/i.test( userAgent ) ) {
+       } else if ( /(6|7)\.0(\.\d+|) safari/i.test( userAgent ) ) {
                expected = {
                        "ajax": true,
                        "boxSizingReliable": true,
@@ -129,7 +129,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
                        "checkOn": true,
                        "clearCloneStyle": true,
                        "cors": true,
-                       "createHTMLDocument": false,
+                       "createHTMLDocument": true,
                        "focusinBubbles": false,
                        "noCloneChecked": true,
                        "optDisabled": 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,