Skip to content

Commit a4e31a8

Browse files
committed
Support: Correct iOS 8 support test results, re-arrange entries
1 parent de7ae8c commit a4e31a8

File tree

1 file changed

+36
-5
lines changed

1 file changed

+36
-5
lines changed

test/unit/support.js

Lines changed: 36 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
194194
"style": false,
195195
"submitBubbles": false
196196
};
197-
} else if ( /(6|7)\.0(\.\d+|) safari/i.test( userAgent ) ) {
197+
} else if ( /8.0(\.\d+|) safari/i.test( userAgent ) ) {
198198
expected = {
199199
"ajax": true,
200200
"attributes": true,
@@ -204,7 +204,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
204204
"checkOn": true,
205205
"clearCloneStyle": true,
206206
"cors": true,
207-
"createHTMLDocument": true,
207+
"createHTMLDocument": false,
208208
"cssFloat": true,
209209
"deleteExpando": true,
210210
"focusinBubbles": false,
@@ -225,7 +225,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
225225
"style": true,
226226
"submitBubbles": true
227227
};
228-
} else if ( /8.0(\.\d+|) safari/i.test( userAgent ) ) {
228+
} else if ( /(6|7)\.0(\.\d+|) safari/i.test( userAgent ) ) {
229229
expected = {
230230
"ajax": true,
231231
"attributes": true,
@@ -235,7 +235,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
235235
"checkOn": true,
236236
"clearCloneStyle": true,
237237
"cors": true,
238-
"createHTMLDocument": false,
238+
"createHTMLDocument": true,
239239
"cssFloat": true,
240240
"deleteExpando": true,
241241
"focusinBubbles": false,
@@ -287,7 +287,38 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
287287
"style": true,
288288
"submitBubbles": true
289289
};
290-
} else if ( /iphone os/i.test( userAgent ) ) {
290+
} else if ( /iphone os 8/i.test( userAgent ) ) {
291+
expected = {
292+
"ajax": true,
293+
"attributes": true,
294+
"boxSizingReliable": true,
295+
"changeBubbles": true,
296+
"checkClone": true,
297+
"checkOn": true,
298+
"clearCloneStyle": true,
299+
"cors": true,
300+
"createHTMLDocument": false,
301+
"cssFloat": true,
302+
"deleteExpando": true,
303+
"focusinBubbles": false,
304+
"html5Clone": true,
305+
"htmlSerialize": true,
306+
"input": true,
307+
"leadingWhitespace": true,
308+
"noCloneChecked": true,
309+
"noCloneEvent": true,
310+
"opacity": true,
311+
"optDisabled": true,
312+
"optSelected": true,
313+
"ownLast": false,
314+
"pixelPosition": false,
315+
"radioValue": true,
316+
"reliableHiddenOffsets": true,
317+
"reliableMarginRight": true,
318+
"style": true,
319+
"submitBubbles": true
320+
};
321+
} else if ( /iphone os (6|7)/i.test( userAgent ) ) {
291322
expected = {
292323
"ajax": true,
293324
"attributes": true,

0 commit comments

Comments
 (0)