From: Richard Gibson Date: Tue, 25 Apr 2017 19:39:41 +0000 (-0400) Subject: Tests: Attach test iframes to the body for visibility-dependent code X-Git-Tag: 3.3.0~86 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bb79f728b089c60338a4c336afd6ff89e739e15a;p=jquery.git Tests: Attach test iframes to the body for visibility-dependent code Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0 Closes gh-3645 --- diff --git a/test/data/testinit.js b/test/data/testinit.js index dd06f86be..c55ebd1bb 100644 --- a/test/data/testinit.js +++ b/test/data/testinit.js @@ -233,8 +233,10 @@ this.ajaxTest = function( title, expect, options ) { this.testIframe = function( title, fileName, func ) { QUnit.test( title, function( assert ) { - var iframe; - var done = assert.async(); + var done = assert.async(), + $iframe = supportjQuery( "