@@ -75,7 +75,8 @@ testIframe(
7575 "radioValue" : true ,
7676 "reliableMarginLeft" : true ,
7777 "reliableTrDimensions" : false ,
78- "scrollboxSize" : true
78+ "scrollboxSize" : true ,
79+ "trim" : true
7980 } ,
8081 ie_10_11 : {
8182 "ajax" : true ,
@@ -94,7 +95,8 @@ testIframe(
9495 "radioValue" : false ,
9596 "reliableMarginLeft" : true ,
9697 "reliableTrDimensions" : false ,
97- "scrollboxSize" : true
98+ "scrollboxSize" : true ,
99+ "trim" : true
98100 } ,
99101 ie_9 : {
100102 "ajax" : true ,
@@ -113,7 +115,8 @@ testIframe(
113115 "radioValue" : false ,
114116 "reliableMarginLeft" : true ,
115117 "reliableTrDimensions" : false ,
116- "scrollboxSize" : false
118+ "scrollboxSize" : false ,
119+ "trim" : true
117120 } ,
118121 chrome : {
119122 "ajax" : true ,
@@ -132,7 +135,8 @@ testIframe(
132135 "radioValue" : true ,
133136 "reliableMarginLeft" : true ,
134137 "reliableTrDimensions" : true ,
135- "scrollboxSize" : true
138+ "scrollboxSize" : true ,
139+ "trim" : true
136140 } ,
137141 safari : {
138142 "ajax" : true ,
@@ -151,7 +155,8 @@ testIframe(
151155 "radioValue" : true ,
152156 "reliableMarginLeft" : true ,
153157 "reliableTrDimensions" : true ,
154- "scrollboxSize" : true
158+ "scrollboxSize" : true ,
159+ "trim" : true
155160 } ,
156161 safari_9_10 : {
157162 "ajax" : true ,
@@ -170,7 +175,8 @@ testIframe(
170175 "radioValue" : true ,
171176 "reliableMarginLeft" : true ,
172177 "reliableTrDimensions" : true ,
173- "scrollboxSize" : true
178+ "scrollboxSize" : true ,
179+ "trim" : true
174180 } ,
175181 firefox : {
176182 "ajax" : true ,
@@ -189,7 +195,8 @@ testIframe(
189195 "radioValue" : true ,
190196 "reliableMarginLeft" : true ,
191197 "reliableTrDimensions" : false ,
192- "scrollboxSize" : true
198+ "scrollboxSize" : true ,
199+ "trim" : true
193200 } ,
194201 firefox_60 : {
195202 "ajax" : true ,
@@ -208,7 +215,8 @@ testIframe(
208215 "radioValue" : true ,
209216 "reliableMarginLeft" : false ,
210217 "reliableTrDimensions" : true ,
211- "scrollboxSize" : true
218+ "scrollboxSize" : true ,
219+ "trim" : true
212220 } ,
213221 ios : {
214222 "ajax" : true ,
@@ -227,7 +235,8 @@ testIframe(
227235 "radioValue" : true ,
228236 "reliableMarginLeft" : true ,
229237 "reliableTrDimensions" : true ,
230- "scrollboxSize" : true
238+ "scrollboxSize" : true ,
239+ "trim" : true
231240 } ,
232241 ios_9_10 : {
233242 "ajax" : true ,
@@ -246,7 +255,8 @@ testIframe(
246255 "radioValue" : true ,
247256 "reliableMarginLeft" : true ,
248257 "reliableTrDimensions" : true ,
249- "scrollboxSize" : true
258+ "scrollboxSize" : true ,
259+ "trim" : true
250260 } ,
251261 ios_8 : {
252262 "ajax" : true ,
@@ -265,7 +275,8 @@ testIframe(
265275 "radioValue" : true ,
266276 "reliableMarginLeft" : true ,
267277 "reliableTrDimensions" : true ,
268- "scrollboxSize" : true
278+ "scrollboxSize" : true ,
279+ "trim" : true
269280 } ,
270281 ios_7 : {
271282 "ajax" : true ,
@@ -284,7 +295,8 @@ testIframe(
284295 "radioValue" : true ,
285296 "reliableMarginLeft" : true ,
286297 "reliableTrDimensions" : true ,
287- "scrollboxSize" : true
298+ "scrollboxSize" : true ,
299+ "trim" : true
288300 } ,
289301 android : {
290302 "ajax" : true ,
@@ -303,16 +315,41 @@ testIframe(
303315 "radioValue" : true ,
304316 "reliableMarginLeft" : false ,
305317 "reliableTrDimensions" : true ,
306- "scrollboxSize" : true
318+ "scrollboxSize" : true ,
319+ "trim" : true
320+ } ,
321+ android_4_0 : {
322+ "ajax" : true ,
323+ "boxSizingReliable" : true ,
324+ "checkClone" : false ,
325+ "checkOn" : false ,
326+ "clearCloneStyle" : true ,
327+ "cors" : true ,
328+ "createHTMLDocument" : true ,
329+ "focusin" : false ,
330+ "noCloneChecked" : true ,
331+ "option" : true ,
332+ "optSelected" : true ,
333+ "pixelBoxStyles" : false ,
334+ "pixelPosition" : false ,
335+ "radioValue" : true ,
336+ "reliableMarginLeft" : false ,
337+ "reliableTrDimensions" : true ,
338+ "scrollboxSize" : true ,
339+ "trim" : false
307340 }
308341 } ;
309342
310343 // Make the slim build pass tests.
311344 for ( browserKey in expectedMap ) {
312- if ( ! jQuery . ajax ) {
345+ if ( ! includesModule ( " ajax" ) ) {
313346 delete expectedMap [ browserKey ] . ajax ;
314347 delete expectedMap [ browserKey ] . cors ;
315348 }
349+ if ( ! includesModule ( "deprecated" ) ) {
350+ // If running no-deprecated test, then jQuery.trim does not exist, and we should not verify support for it.
351+ delete expectedMap [ browserKey ] . trim ;
352+ }
316353 }
317354
318355 if ( / e d g e \/ / i. test ( userAgent ) ) {
@@ -332,8 +369,10 @@ testIframe(
332369 expected = expectedMap . firefox_60 ;
333370 } else if ( / f i r e f o x / i. test ( userAgent ) ) {
334371 expected = expectedMap . firefox ;
335- } else if ( / a n d r o i d 4 \. [ 0 - 3 ] / i. test ( userAgent ) ) {
372+ } else if ( / a n d r o i d 4 \. [ 1 - 3 ] / i. test ( userAgent ) ) {
336373 expected = expectedMap . android ;
374+ } else if ( / a n d r o i d 4 \. 0 / i. test ( userAgent ) ) {
375+ expected = expectedMap . android_4_0 ;
337376 } else if ( / i p h o n e o s (?: 9 | 1 0 ) _ / i. test ( userAgent ) ) {
338377 expected = expectedMap . ios_9_10 ;
339378 } else if ( / i p h o n e o s 8 _ / i. test ( userAgent ) ) {
0 commit comments