diff options
author | Richard Gibson <richard.gibson@gmail.com> | 2017-04-29 02:00:12 -0400 |
---|---|---|
committer | Richard Gibson <richard.gibson@gmail.com> | 2017-04-29 02:00:12 -0400 |
commit | c4368a93116e9d1d17587fc2f5421a891957cf45 (patch) | |
tree | 94f739472572338830c119e423ffc12ced62f8a6 /test | |
parent | 00cc67af23bf9cf2cdbaeaeee6ded76baf0292f0 (diff) | |
download | jquery-c4368a93116e9d1d17587fc2f5421a891957cf45.tar.gz jquery-c4368a93116e9d1d17587fc2f5421a891957cf45.zip |
Tests: Revert some testIframe changes to fix dimensions tests
Ref c0edd8dc18e02999a25768a4946093b015045f80
Diffstat (limited to 'test')
-rw-r--r-- | test/data/testinit.js | 9 |
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() { |