aboutsummaryrefslogtreecommitdiffstats
path: root/test/data
diff options
context:
space:
mode:
Diffstat (limited to 'test/data')
-rw-r--r--test/data/event/promiseReady.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/data/event/promiseReady.html b/test/data/event/promiseReady.html
new file mode 100644
index 000000000..f799a7e3e
--- /dev/null
+++ b/test/data/event/promiseReady.html
@@ -0,0 +1,17 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="content-type" content="text/html; charset=utf-8">
+<title>Test case for jQuery ticket #11470</title>
+<script type="text/javascript" src="../include_js.php"></script>
+<script type="text/javascript">
+jQuery.when( jQuery.ready ).done(function() {
+ jQuery("body").append("<div>modifying DOM</div>");
+ window.parent.iframeCallback( $("div").text() === "modifying DOM" );
+});
+</script>
+</head>
+<body>
+<!-- long loading iframe -->
+</body>
+</html> \ No newline at end of file