aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/support.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/support.js')
-rw-r--r--test/unit/support.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/unit/support.js b/test/unit/support.js
index 50a40e4a0..4917a5478 100644
--- a/test/unit/support.js
+++ b/test/unit/support.js
@@ -33,12 +33,14 @@ supportIFrameTest( "proper boxModel in compatMode CSS1Compat (IE6 and IE7)", "bo
supportIFrameTest( "body background is not lost if set prior to loading jQuery (#9238)", "bodyBackground", function( color, support ) {
expect( 2 );
- var okValue = {
+ var i,
+ passed = true,
+ okValue = {
"#000000": true,
"rgb(0, 0, 0)": true
- };
+ };
ok( okValue[ color ], "color was not reset (" + color + ")" );
- var i, passed = true;
+
for ( i in jQuery.support ) {
if ( jQuery.support[ i ] !== support[ i ] ) {
passed = false;