Skip to content

Commit ce308e2

Browse files
committedDec 13, 2014
Support: Correct iOS 8 support test results, re-arrange entries
1 parent b091fdb commit ce308e2

File tree

1 file changed

+22
-5
lines changed

1 file changed

+22
-5
lines changed
 

‎test/unit/support.js

+22-5
Original file line numberDiff line numberDiff line change
@@ -104,15 +104,15 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
104104
"radioValue": false,
105105
"reliableMarginRight": true
106106
};
107-
} else if ( /(6|7)\.0(\.\d+|) safari/i.test( userAgent ) ) {
107+
} else if ( /8.0(\.\d+|) safari/i.test( userAgent ) ) {
108108
expected = {
109109
"ajax": true,
110110
"boxSizingReliable": true,
111111
"checkClone": true,
112112
"checkOn": true,
113113
"clearCloneStyle": true,
114114
"cors": true,
115-
"createHTMLDocument": true,
115+
"createHTMLDocument": false,
116116
"focusinBubbles": false,
117117
"noCloneChecked": true,
118118
"optDisabled": true,
@@ -121,15 +121,15 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
121121
"radioValue": true,
122122
"reliableMarginRight": true
123123
};
124-
} else if ( /8.0(\.\d+|) safari/i.test( userAgent ) ) {
124+
} else if ( /(6|7)\.0(\.\d+|) safari/i.test( userAgent ) ) {
125125
expected = {
126126
"ajax": true,
127127
"boxSizingReliable": true,
128128
"checkClone": true,
129129
"checkOn": true,
130130
"clearCloneStyle": true,
131131
"cors": true,
132-
"createHTMLDocument": false,
132+
"createHTMLDocument": true,
133133
"focusinBubbles": false,
134134
"noCloneChecked": true,
135135
"optDisabled": true,
@@ -155,7 +155,24 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
155155
"radioValue": true,
156156
"reliableMarginRight": true
157157
};
158-
} else if ( /iphone os/i.test( userAgent ) ) {
158+
} else if ( /iphone os 8/i.test( userAgent ) ) {
159+
expected = {
160+
"ajax": true,
161+
"boxSizingReliable": true,
162+
"checkClone": true,
163+
"checkOn": true,
164+
"clearCloneStyle": true,
165+
"cors": true,
166+
"createHTMLDocument": false,
167+
"focusinBubbles": false,
168+
"noCloneChecked": true,
169+
"optDisabled": true,
170+
"optSelected": true,
171+
"pixelPosition": false,
172+
"radioValue": true,
173+
"reliableMarginRight": true
174+
};
175+
} else if ( /iphone os (6|7)/i.test( userAgent ) ) {
159176
expected = {
160177
"ajax": true,
161178
"boxSizingReliable": true,

0 commit comments

Comments
 (0)