]> source.dussan.org Git - jquery.git/commitdiff
Core: Bump timeouts to stabilize doc ready test
authorMichał Gołębiowski <m.goleb@gmail.com>
Thu, 13 Mar 2014 02:26:27 +0000 (03:26 +0100)
committerMichał Gołębiowski <m.goleb@gmail.com>
Thu, 13 Mar 2014 02:28:04 +0000 (03:28 +0100)
The "document ready when jQuery loaded asynchronously" test fails all the time
in iOS7 and sometimes in other browsers. Bumping the timeouts *might* help
these other browsers to be less flakey here.

(cherry-picked from 854d242db457e3191e3ca1f2a366f6c981a12fbc)

test/data/core/dont_return.php
test/data/core/dynamic_ready.html

index 3ac56e1efdd4989f4f5a354d356f7e2e9c268563..4168cb3f71748ea83220cb60623ed93b106485b6 100644 (file)
@@ -1,3 +1,3 @@
 <?php
-sleep(10000);
+sleep(100000);
 ?>
index 799145b9813810218dac414000a42daf352b47c8..3b29c1104815222cf298fcd7f27c6639f28aa4dc 100644 (file)
@@ -28,7 +28,7 @@
                timeoutId = setTimeout(function () {
                        timeoutFired = true;
                        window.parent.iframeCallback( false );
-               }, 3000);
+               }, 10000);
        });
 </script>
 </body>