aboutsummaryrefslogtreecommitdiffstats
path: root/test/data/core
Commit message (Collapse)AuthorAgeFilesLines
* Docs: Replace `#NUMBER` Trac issue references with `trac-NUMBER`Michał Gołębiowski-Owczarek2022-01-122-3/+3
| | | | | | | | | | | | | | | | | This is a version of gh-4993 for the `3.x-stable` branch. The GitHub UI treats `#NUMBER` as referring to its own issues which is confusing when in jQuery source it's usually referring to the old deprecated Trac instance at https://bugs.jquery.com. This change replaces all such Trac references with `trac-NUMBER`. A few of the references came with the Sizzle integration and referred to the Sizzle GitHub bug tracker. Those have been replaced with full links instead. A new entry describing issue reference conventions has been added to README. Closes gh-4994 Ref gh-4993 Ref 5d5ea015114092c157311c4948f7cc3d8c8e7f8a
* Build: Take core-js from the external directory as wellMichał Gołębiowski-Owczarek2021-04-141-1/+1
| | | | | | | | | | All the other files were already taken from the external directory. The fact core-js was taken from node_modules broke IE core tests on TestSwarm. Ref gh-4865 Ref gh-4870 (partially cherry picked from 345cd22e5664655ed315958ed2056610607c12ef)
* Core: Fire iframe script in its context, add doc param in globalEvalMichał Gołębiowski-Owczarek2020-02-101-0/+15
| | | | | | | | | | | | | 1. Support passing custom document to jQuery.globalEval; the script will be invoked in the context of this document. 2. Fire external scripts appended to iframe contents in that iframe context; this was already supported & tested for inline scripts but not for external ones. Fixes gh-4518 Closes gh-4601 (cherry picked from commit 4592595b478be979141ce35c693dbc6b65647173)
* Build:Tests: Fix custom build tests, verify on Travis; name Travis jobsMichał Gołębiowski-Owczarek2020-01-271-1/+1
| | | | | | | | | | | | | | | | 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 4.0 (#4553) slim build: `custom:-ajax,-callbacks,-deferred,-effects` It also adds separate Travis jobs for the no-deprecated & slim builds. Apart from that, add intuitive names to Travis jobs. Otherwise it's hard to see at a glance that a particular job is running on Firefox ESR, for example. Ref gh-4577 Ref gh-4596 Closes gh-4600
* Build: Update jsdom; migrate a test with Symbol polyfill to an iframe testMichał Gołębiowski-Owczarek2019-03-042-0/+28
| | | | | | | | | | | So far, we've been testing that jQuery element iteration works with polyfilled Symbol & transpiled for-of via a Node test with jsdom with the Symbol global removed. Unfortunately, jsdom now requires Symbol to be present for its internal functionality so such a test is no longer possible. Instead, it's been migrated to an iframe test with transpiled JavaScript. This PR also enables us to use ECMAScript 2017 or newer in Node.js code. Closes gh-4305
* Tests: Add support for running unit tests via grunt with karmaTimo Tijhof2017-12-182-4/+1
| | | | | | | | | | | | | - Update QUnit to 1.23.1 - Remove unused dl#dl from test/index.html - Remove unused map#imgmap from test/index.html - Ensure all urls to data use baseURI - Add the 'grunt karma:main' task - customContextFile & customDebugFile - Add 'npm run jenkins' script Close gh-3744 Fixes gh-1999
* Tests: Refactor testIframe() to make it DRYer and more consistentDave Methvin2016-04-114-7/+11
| | | | | Ref gh-3040 Closes gh-3049
* Core: Change the sleep time in dont_return.php from 100s to 30sMichał Gołębiowski2014-03-191-1/+1
| | | | | | Half a minute is more than enough for the test to finish even in the slowest browsers and in case of starving the PHP FPM process pool, one has to wait for only half a minute to try again.
* Core: Change the sleep time in dont_return.php to a sane valueMichał Gołębiowski2014-03-181-1/+1
| | | | | PHP sleep function accepts time in seconds, not milliseconds; the previous value was starving the PHP FPM process pool.
* Core: Bump timeouts to stabilize doc ready testMichał Gołębiowski2014-03-132-2/+2
| | | | | | 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.
* Core: Do not run window.onready when readyDave Methvin2014-03-041-0/+24
| | | | Fixes #14802
* Fix #14074: element id="nodeName". Close gh-1389.Richard Gibson2013-11-071-0/+24
| | | | | | | | | | | (cherry picked from commit 126d596b56924613687329b7aab4f0cdf4b593b3) Conflicts: src/data.js src/data/accepts.js test/unit/core.js test/unit/data.js
* Fix #13655. Add test for jQuery.ready.promise fallback load. Close gh-1209.Michał Gołębiowski2013-04-042-0/+38
|
* Ref #13316: Sync all documents on full vs. minified source. Close gh-1147.Richard Gibson2013-02-071-1/+1
|
* Fix #13274: Wrap sourceMap directive in multiline comments. Close gh-1143.Richard Gibson2013-01-251-0/+22
(cherry picked from commit ac93559eb9f18fcaec95dfdc97358b1b85bfe234)