aboutsummaryrefslogtreecommitdiffstats
path: root/test/data
diff options
context:
space:
mode:
authorRichard Gibson <richard.gibson@gmail.com>2017-04-29 02:00:12 -0400
committerRichard Gibson <richard.gibson@gmail.com>2017-04-29 09:46:19 -0400
commitb3defccdc0ca93b49647e79df5e70fb933af679c (patch)
tree94f739472572338830c119e423ffc12ced62f8a6 /test/data
parent72af0c4c7e22567da72e7e811ce8114543a6b2de (diff)
downloadjquery-b3defccdc0ca93b49647e79df5e70fb933af679c.tar.gz
jquery-b3defccdc0ca93b49647e79df5e70fb933af679c.zip
Tests: Revert some testIframe changes to fix dimensions tests
Ref c0edd8dc18e02999a25768a4946093b015045f80
Diffstat (limited to 'test/data')
-rw-r--r--test/data/testinit.js9
1 files changed, 2 insertions, 7 deletions
diff --git a/test/data/testinit.js b/test/data/testinit.js
index f2c4ae2a5..1aa9a65da 100644
--- a/test/data/testinit.js
+++ b/test/data/testinit.js
@@ -238,13 +238,8 @@ this.testIframe = function( title, fileName, func, wrapper ) {
wrapper.call( QUnit, title, function( assert ) {
var done = assert.async(),
$iframe = supportjQuery( "<iframe/>" )
- .attr( { id: "qunit-fixture-iframe", src: url( "./data/" + fileName ) } )
- .css( { position: "absolute", top: "0", left: "-600px", width: "500px" } );
-
- // Try to overcome TestSwarm iframe visibilty quirks
- if ( QUnit.isSwarm ) {
- $iframe.css( { left: "0" } );
- }
+ .css( { position: "absolute", top: "0", left: "-600px", width: "500px" } )
+ .attr( { id: "qunit-fixture-iframe", src: url( "./data/" + fileName ) } );
// Test iframes are expected to invoke this via startIframeTest (cf. iframeTest.js)
window.iframeCallback = function() {