mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
0f780ba7cc
This commit fixes unit tests for the following builds: 1. The no-deprecated build: `custom:-deprecated` 2. The current slim build: `custom:-ajax,-effects` 3. The future (#4553) slim build: `custom:-ajax,-callbacks,-deferred,-effects` It also adds separate Travis jobs for the no-deprecated & slim builds. Closes gh-4577
37 lines
842 B
HTML
37 lines
842 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<script src="../jquery-1.9.1.js"></script>
|
|
<script>var $j = jQuery.noConflict();</script>
|
|
<script src="../iframeTest.js"></script>
|
|
</head>
|
|
<body>
|
|
<iframe id="dont_return" src="../mock.php?action=wait&wait=30"></iframe>
|
|
<script>
|
|
var timeoutId, $,
|
|
timeoutFired = false;
|
|
|
|
setTimeout(function () {
|
|
// Load another jQuery copy using the first one.
|
|
$j.getScript( "../../../dist/jquery.js", function () {
|
|
$j( "#dont_return" ).attr( "src", "about:blank" );
|
|
|
|
// document ready handled by the just-loaded jQuery copy.
|
|
$(function () {
|
|
clearTimeout( timeoutId );
|
|
if ( !timeoutFired ) {
|
|
startIframeTest( true );
|
|
}
|
|
});
|
|
});
|
|
|
|
timeoutId = setTimeout(function () {
|
|
timeoutFired = true;
|
|
startIframeTest( false );
|
|
}, 10000);
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|