aboutsummaryrefslogtreecommitdiffstats
path: root/test/data/event/interactiveReady.html
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2016-04-10 15:42:44 -0400
committerDave Methvin <dave.methvin@gmail.com>2016-04-11 13:32:51 -0400
commite5ffcb0838c894e26f4ff32dfec162cf624d8d7d (patch)
tree1a57c3a0cbf026dcd98d1f821dc9ed6f848f46d3 /test/data/event/interactiveReady.html
parent08d73d7f9c7eec2f0abd14d00bf903625728ef17 (diff)
downloadjquery-e5ffcb0838c894e26f4ff32dfec162cf624d8d7d.tar.gz
jquery-e5ffcb0838c894e26f4ff32dfec162cf624d8d7d.zip
Tests: Refactor testIframe() to make it DRYer and more consistent
Ref gh-3040 Closes gh-3049
Diffstat (limited to 'test/data/event/interactiveReady.html')
-rw-r--r--test/data/event/interactiveReady.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/data/event/interactiveReady.html b/test/data/event/interactiveReady.html
index 77b37104d..3fb25f907 100644
--- a/test/data/event/interactiveReady.html
+++ b/test/data/event/interactiveReady.html
@@ -4,13 +4,14 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Test case for gh-2100</title>
<script src="../../jquery.js"></script>
+<script src="../iframeTest.js"></script>
</head>
<body>
<script type="text/javascript">
-jQuery( document ).ready(function () {
- window.parent.iframeCallback( jQuery("#container").length === 1 );
-});
+jQuery( function () {
+ startIframeTest( jQuery("#container").length === 1 );
+} );
</script>
<!-- external resources that come before elements trick