@@ -106,6 +106,7 @@ testIframeWithCallback(
106106 "radioValue" : true ,
107107 "reliableHiddenOffsets" : true ,
108108 "reliableMarginRight" : true ,
109+ "reliableMarginLeft" : true ,
109110 "style" : true ,
110111 "submit" : true
111112 } ;
@@ -139,6 +140,7 @@ testIframeWithCallback(
139140 "radioValue" : false ,
140141 "reliableHiddenOffsets" : true ,
141142 "reliableMarginRight" : true ,
143+ "reliableMarginLeft" : true ,
142144 "style" : true ,
143145 "submit" : true
144146 } ;
@@ -172,6 +174,7 @@ testIframeWithCallback(
172174 "radioValue" : false ,
173175 "reliableHiddenOffsets" : true ,
174176 "reliableMarginRight" : true ,
177+ "reliableMarginLeft" : true ,
175178 "style" : true ,
176179 "submit" : true
177180 } ;
@@ -205,6 +208,7 @@ testIframeWithCallback(
205208 "radioValue" : false ,
206209 "reliableHiddenOffsets" : false ,
207210 "reliableMarginRight" : true ,
211+ "reliableMarginLeft" : false ,
208212 "style" : false ,
209213 "submit" : false
210214 } ;
@@ -241,6 +245,7 @@ testIframeWithCallback(
241245 "radioValue" : true ,
242246 "reliableHiddenOffsets" : true ,
243247 "reliableMarginRight" : true ,
248+ "reliableMarginLeft" : true ,
244249 "style" : true ,
245250 "submit" : true
246251 } ;
@@ -274,6 +279,7 @@ testIframeWithCallback(
274279 "radioValue" : true ,
275280 "reliableHiddenOffsets" : true ,
276281 "reliableMarginRight" : true ,
282+ "reliableMarginLeft" : true ,
277283 "style" : true ,
278284 "submit" : true
279285 } ;
@@ -307,6 +313,7 @@ testIframeWithCallback(
307313 "radioValue" : true ,
308314 "reliableHiddenOffsets" : true ,
309315 "reliableMarginRight" : true ,
316+ "reliableMarginLeft" : true ,
310317 "style" : true ,
311318 "submit" : true
312319 } ;
@@ -340,6 +347,7 @@ testIframeWithCallback(
340347 "radioValue" : true ,
341348 "reliableHiddenOffsets" : true ,
342349 "reliableMarginRight" : true ,
350+ "reliableMarginLeft" : false ,
343351 "style" : true ,
344352 "submit" : true
345353 } ;
@@ -373,6 +381,7 @@ testIframeWithCallback(
373381 "radioValue" : true ,
374382 "reliableHiddenOffsets" : true ,
375383 "reliableMarginRight" : true ,
384+ "reliableMarginLeft" : true ,
376385 "style" : true ,
377386 "submit" : true
378387 } ;
@@ -406,6 +415,7 @@ testIframeWithCallback(
406415 "radioValue" : true ,
407416 "reliableHiddenOffsets" : true ,
408417 "reliableMarginRight" : true ,
418+ "reliableMarginLeft" : true ,
409419 "style" : true ,
410420 "submit" : true
411421 } ;
@@ -439,6 +449,7 @@ testIframeWithCallback(
439449 "radioValue" : true ,
440450 "reliableHiddenOffsets" : true ,
441451 "reliableMarginRight" : true ,
452+ "reliableMarginLeft" : false ,
442453 "style" : true ,
443454 "submit" : true
444455 } ;
@@ -472,32 +483,36 @@ testIframeWithCallback(
472483 "radioValue" : true ,
473484 "reliableHiddenOffsets" : true ,
474485 "reliableMarginRight" : false ,
486+ "reliableMarginLeft" : true ,
475487 "style" : true ,
476488 "submit" : true
477489 } ;
478490 }
479491
480- if ( expected ) {
481- QUnit . test ( "Verify that the support tests resolve as expected per browser" , function ( assert ) {
482- var i , prop ,
483- j = 0 ;
492+ QUnit . test ( "Verify that support tests resolve as expected per browser" , function ( assert ) {
493+ if ( ! expected ) {
494+ assert . expect ( 1 ) ;
495+ assert . ok ( false , "Known client: " + userAgent ) ;
496+ }
484497
485- for ( prop in computedSupport ) {
486- j ++ ;
487- }
498+ var i , prop ,
499+ j = 0 ;
500+
501+ for ( prop in computedSupport ) {
502+ j ++ ;
503+ }
488504
489- assert . expect ( j ) ;
505+ assert . expect ( j ) ;
490506
491- for ( i in expected ) {
492- if ( jQuery . ajax || i !== "ajax" && i !== "cors" ) {
493- assert . equal ( computedSupport [ i ] , expected [ i ] ,
494- "jQuery.support['" + i + "']: " + computedSupport [ i ] +
495- ", expected['" + i + "']: " + expected [ i ] ) ;
496- } else {
497- assert . ok ( true , "no ajax; skipping jQuery.support['" + i + "']" ) ;
498- }
507+ for ( i in expected ) {
508+ if ( jQuery . ajax || i !== "ajax" && i !== "cors" ) {
509+ assert . equal ( computedSupport [ i ] , expected [ i ] ,
510+ "jQuery.support['" + i + "']: " + computedSupport [ i ] +
511+ ", expected['" + i + "']: " + expected [ i ] ) ;
512+ } else {
513+ assert . ok ( true , "no ajax; skipping jQuery.support['" + i + "']" ) ;
499514 }
500- } ) ;
501- }
515+ }
516+ } ) ;
502517
503518} ) ( ) ;
0 commit comments