Permalink
Browse files

Support: Correct iOS 8 support test results, re-arrange entries

  • Loading branch information...
mgol committed Dec 13, 2014
1 parent b091fdb commit ce308e25e57a0a040cd1ea05f00bf1cc23c1bd8a
Showing with 22 additions and 5 deletions.
  1. +22 −5 test/unit/support.js
View
@@ -104,15 +104,15 @@ 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,
"checkClone": true,
"checkOn": true,
"clearCloneStyle": true,
"cors": true,
- "createHTMLDocument": true,
+ "createHTMLDocument": false,
"focusinBubbles": false,
"noCloneChecked": true,
"optDisabled": true,
@@ -121,15 +121,15 @@ 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,
"checkClone": true,
"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,

0 comments on commit ce308e2

Please sign in to comment.