aboutsummaryrefslogtreecommitdiffstats
path: root/test/data/event
diff options
context:
space:
mode:
authorOleg Gaidarenko <markelog@gmail.com>2015-11-13 19:48:45 +0300
committerOleg Gaidarenko <markelog@gmail.com>2015-11-13 20:04:54 +0300
commit91acd85b167e39e05e8f4fb1be6f75cdcac9c466 (patch)
tree48c6ab809fdbfb90834563046b9096b455f4a826 /test/data/event
parent9d1d4c272a58ced36242d90b3f0462c2bbb972a3 (diff)
downloadjquery-91acd85b167e39e05e8f4fb1be6f75cdcac9c466.tar.gz
jquery-91acd85b167e39e05e8f4fb1be6f75cdcac9c466.zip
Revert "Ajax: Always use script injection in globalEval"
This reverts commit bbdfbb4ee859fe9319b348d88120ddc2c9efbd63.
Diffstat (limited to 'test/data/event')
-rw-r--r--test/data/event/longLoadScript.php4
-rw-r--r--test/data/event/syncReady.html2
2 files changed, 5 insertions, 1 deletions
diff --git a/test/data/event/longLoadScript.php b/test/data/event/longLoadScript.php
new file mode 100644
index 000000000..ba47168b4
--- /dev/null
+++ b/test/data/event/longLoadScript.php
@@ -0,0 +1,4 @@
+<?php
+sleep((int)$_GET['sleep']);
+header('Content-type: text/javascript');
+?> \ No newline at end of file
diff --git a/test/data/event/syncReady.html b/test/data/event/syncReady.html
index dfa9ac337..e0885707e 100644
--- a/test/data/event/syncReady.html
+++ b/test/data/event/syncReady.html
@@ -17,7 +17,7 @@ jQuery( document ).ready(function () {
oldIE into thinking the dom is ready, but it's not...
leaving this check here for future trailblazers to attempt
fixing this...-->
-<script type="text/javascript" src="../longLoadScript.php?sleep=1"></script>
+<script type="text/javascript" src="longLoadScript.php?sleep=1"></script>
<div id="container" style="height: 300px"></div>
</body>
</html>