aboutsummaryrefslogtreecommitdiffstats
path: root/test/data
diff options
context:
space:
mode:
authorRichard Gibson <richard.gibson@gmail.com>2017-04-24 21:44:51 -0400
committerGitHub <noreply@github.com>2017-04-24 21:44:51 -0400
commit9e121482a532d61aa36d7b314ee46dd1ac40f29e (patch)
tree48ec425c6e934d671fc0d64f4b4fc2deb11f8774 /test/data
parenta16339b8933f115da3661f3d3f64854c3fa60bdc (diff)
downloadjquery-9e121482a532d61aa36d7b314ee46dd1ac40f29e.tar.gz
jquery-9e121482a532d61aa36d7b314ee46dd1ac40f29e.zip
Tests: Improve offset test setup and labels
Hopefully this fixes iOS testing: http://swarm.jquery.org/job/5226 Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0 Closes gh-3641
Diffstat (limited to 'test/data')
-rw-r--r--test/data/iframeTest.js1
-rw-r--r--test/data/testinit.js1
2 files changed, 1 insertions, 1 deletions
diff --git a/test/data/iframeTest.js b/test/data/iframeTest.js
index 877e884f0..4db56833c 100644
--- a/test/data/iframeTest.js
+++ b/test/data/iframeTest.js
@@ -1,4 +1,3 @@
-
window.startIframeTest = function() {
var args = Array.prototype.slice.call( arguments );
diff --git a/test/data/testinit.js b/test/data/testinit.js
index c37687f68..dd06f86be 100644
--- a/test/data/testinit.js
+++ b/test/data/testinit.js
@@ -236,6 +236,7 @@ this.testIframe = function( title, fileName, func ) {
var iframe;
var done = assert.async();
+ // Test iframes are expected to invoke this via startIframeTest (cf. iframeTest.js)
window.iframeCallback = function() {
var args = Array.prototype.slice.call( arguments );