From bb79f728b089c60338a4c336afd6ff89e739e15a Mon Sep 17 00:00:00 2001 From: Richard Gibson Date: Tue, 25 Apr 2017 15:39:41 -0400 Subject: Tests: Attach test iframes to the body for visibility-dependent code Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0 Closes gh-3645 --- test/data/testinit.js | 15 +++++++++------ test/data/testrunner.js | 3 +++ 2 files changed, 12 insertions(+), 6 deletions(-) (limited to 'test/data') 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( "