Skip to content

Commit b3defcc

Browse files
committed
Tests: Revert some testIframe changes to fix dimensions tests
Ref c0edd8d
1 parent 72af0c4 commit b3defcc

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

test/data/testinit.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -238,13 +238,8 @@ this.testIframe = function( title, fileName, func, wrapper ) {
238238
wrapper.call( QUnit, title, function( assert ) {
239239
var done = assert.async(),
240240
$iframe = supportjQuery( "<iframe/>" )
241-
.attr( { id: "qunit-fixture-iframe", src: url( "./data/" + fileName ) } )
242-
.css( { position: "absolute", top: "0", left: "-600px", width: "500px" } );
243-
244-
// Try to overcome TestSwarm iframe visibilty quirks
245-
if ( QUnit.isSwarm ) {
246-
$iframe.css( { left: "0" } );
247-
}
241+
.css( { position: "absolute", top: "0", left: "-600px", width: "500px" } )
242+
.attr( { id: "qunit-fixture-iframe", src: url( "./data/" + fileName ) } );
248243

249244
// Test iframes are expected to invoke this via startIframeTest (cf. iframeTest.js)
250245
window.iframeCallback = function() {

0 commit comments

Comments
 (0)