aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/dimensions.js
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2016-04-08 12:00:17 -0400
committerDave Methvin <dave.methvin@gmail.com>2016-04-11 13:29:11 -0400
commit08d73d7f9c7eec2f0abd14d00bf903625728ef17 (patch)
treea6cfec625dfcde55eed1d88eebd0164356dbcb52 /test/unit/dimensions.js
parent755e7ccf018eb150eddefe78063a9ec58b3229e3 (diff)
downloadjquery-08d73d7f9c7eec2f0abd14d00bf903625728ef17.tar.gz
jquery-08d73d7f9c7eec2f0abd14d00bf903625728ef17.zip
Tests: Make iframe tests wait after checking isReady
Ref gh-3040
Diffstat (limited to 'test/unit/dimensions.js')
-rw-r--r--test/unit/dimensions.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/dimensions.js b/test/unit/dimensions.js
index 31c5aa48b..1f8ff5007 100644
--- a/test/unit/dimensions.js
+++ b/test/unit/dimensions.js
@@ -469,9 +469,9 @@ QUnit.test( "setters with and without box-sizing:border-box", function( assert )
} );
} );
-testIframe(
- "dimensions/documentLarge",
+testIframeWithCallback(
"window vs. large document",
+ "dimensions/documentLarge.html",
function( jQuery, window, document, assert ) {
assert.expect( 2 );