2015-02-17 07:45:30 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en" id="html">
|
2006-08-13 15:24:52 +00:00
|
|
|
<head>
|
2015-02-17 07:45:30 +00:00
|
|
|
<meta charset="utf-8">
|
2006-11-18 13:37:01 +00:00
|
|
|
<title>jQuery Test Suite</title>
|
2021-03-24 22:36:25 +00:00
|
|
|
<link rel="stylesheet" href="../external/qunit/qunit.css" />
|
2015-02-17 07:45:30 +00:00
|
|
|
<link rel="stylesheet" href="data/testsuite.css" />
|
2010-03-23 16:12:16 +00:00
|
|
|
|
2013-11-07 21:51:46 +00:00
|
|
|
<!--
|
|
|
|
We have to use previous jQuery as helper to ensure testability with
|
|
|
|
ajax-free builds (and non-interference when changing ajax internals)
|
|
|
|
-->
|
|
|
|
<script src="data/jquery-1.9.1.js"></script>
|
2012-11-01 04:40:27 +00:00
|
|
|
|
2021-03-24 22:36:25 +00:00
|
|
|
<script src="../external/qunit/qunit.js"></script>
|
|
|
|
<script src="../external/sinon/sinon.js"></script>
|
|
|
|
<script src="../external/npo/npo.js"></script>
|
|
|
|
<script src="../external/requirejs/require.js"></script>
|
2013-09-06 20:23:20 +00:00
|
|
|
<!-- See testinit for the list of tests -->
|
2013-08-29 20:18:17 +00:00
|
|
|
<script src="data/testinit.js"></script>
|
|
|
|
|
2023-06-27 16:23:58 +00:00
|
|
|
<!-- A script that includes jQuery min, dev or ES modules -->
|
2013-08-15 18:15:49 +00:00
|
|
|
<!-- Adds "basic" URL option, even to iframes -->
|
2023-06-27 16:23:58 +00:00
|
|
|
<!-- iframes will not load ESM as loading needs to be synchronous for some tests -->
|
2013-08-29 20:18:17 +00:00
|
|
|
<!-- Also executes the function above to load tests -->
|
2013-08-15 18:15:49 +00:00
|
|
|
<script src="jquery.js"></script>
|
2012-07-20 02:02:37 +00:00
|
|
|
|
2011-09-19 20:42:36 +00:00
|
|
|
<script>
|
2013-09-06 21:11:04 +00:00
|
|
|
// Load tests if they have not been loaded
|
|
|
|
// This is in a different script tag to ensure that
|
|
|
|
// jQuery is on the page when the testrunner executes
|
2019-12-16 18:33:49 +00:00
|
|
|
// QUnit.config is populated from QUnit.urlParams but only at the beginning
|
|
|
|
// of the test run. We need to read both.
|
2023-06-27 16:23:58 +00:00
|
|
|
var esmodules = QUnit.config.esmodules || QUnit.urlParams.esmodules;
|
2019-12-16 18:33:49 +00:00
|
|
|
|
|
|
|
// Workaround: Remove call to `window.__karma__.loaded()`
|
2020-07-22 14:12:54 +00:00
|
|
|
// in favor of calling `window.__karma__.start()` from `loadTests()`
|
2019-12-16 18:33:49 +00:00
|
|
|
// because tests such as unit/ready.js should run after document ready.
|
2023-06-27 16:23:58 +00:00
|
|
|
if ( !esmodules ) {
|
2013-09-06 21:11:04 +00:00
|
|
|
loadTests();
|
|
|
|
}
|
2011-09-19 20:42:36 +00:00
|
|
|
</script>
|
2009-05-20 21:59:24 +00:00
|
|
|
</head>
|
|
|
|
|
2006-08-14 01:46:05 +00:00
|
|
|
<body id="body">
|
2012-12-11 00:07:07 +00:00
|
|
|
<div id="qunit"></div>
|
2010-10-22 05:48:32 +00:00
|
|
|
|
2006-08-14 01:46:05 +00:00
|
|
|
<!-- Test HTML -->
|
2015-12-05 09:35:01 +00:00
|
|
|
<!-- this iframe is outside the #qunit-fixture so it won't waste time by constantly reloading; the tests are "safe" and clean up after themselves -->
|
2007-12-05 00:26:13 +00:00
|
|
|
<iframe id="loadediframe" name="loadediframe" style="display:none;" src="data/iframe.html"></iframe>
|
2017-08-01 16:52:45 +00:00
|
|
|
<div id="qunit-fixture"></div>
|
|
|
|
<script src="data/qunit-fixture.js"></script>
|
2006-08-13 15:24:52 +00:00
|
|
|
</body>
|
|
|
|
</html>
|