aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/data.js
Commit message (Collapse)AuthorAgeFilesLines
* Manipulation: Make jQuery.htmlPrefilter an identity functionMichał Gołębiowski-Owczarek2020-03-161-10/+10
| | | Closes gh-4642
* Data:Event:Manipulation: Prevent collisions with Object.prototypeMichał Gołębiowski-Owczarek2020-03-021-0/+15
| | | | | | | Make sure events & data keys matching Object.prototype properties work. A separate fix for such events on cloned elements was added as well. Fixes gh-3256 Closes gh-4603
* Tests: Remove obsolete jQuery data testsMichał Gołębiowski-Owczarek2020-01-131-7/+0
| | | | | The tests relied on `jQuery.cache` so they only ever worked in jQuery 1.x. Closes gh-4586
* Core: Remove IE-specific support tests, rely on document.documentModeMichał Gołębiowski-Owczarek2019-05-131-8/+6
| | | | | | | Also, update some tests to IE-sniff when deciding whether to skip a test. Fixes gh-4386 Closes gh-4387
* Core: Remove deprecated jQuery APIsMichał Gołębiowski-Owczarek2019-04-291-1/+10
| | | | Fixes gh-4056 Closes gh-4364
* Data: Separate data & css/effects camelCase implementationsMichał Gołębiowski-Owczarek2019-04-291-1/+19
| | | | | | | | The camelCase implementation used by the data module no longer turns `-ms-foo` into `msFoo` but to `MsFoo` now. This is because `data` is supposed to be a generic utility not specifically bound to CSS use cases. Fixes gh-3355 Closes gh-4365
* Build: Update test code for compatibility with QUnit 2.x (#4297)abnud12019-02-181-3/+3
| | | | | | | | Also, run `grunt npmcopy` to sync the "external" directory with dependencies from package.json. For example, the Sinon library version didn't match. Ref gh-4234 Closes gh-4297
* Core: adjust data tests to ensure proper camelCasingTimmy Willison2018-01-081-29/+96
| | | | | - Add back camelCase to the public object (deprecate not remove) Ref #3384
* Core: make camelCase function available only for internal usageNilton Cesar2018-01-081-8/+5
| | | | | Close gh-3604 Fixes gh-3384
* Tests: Add support for running unit tests via grunt with karmaTimo Tijhof2017-12-181-1/+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
* Build: ESLint detailsOleg Gaidarenko2016-06-111-3/+3
| | | | | | Use eslint pragmas, fix new errors, etc Closes gh-3148
* Tests: Refactor testIframe() to make it DRYer and more consistentDave Methvin2016-04-111-2/+2
| | | | | Ref gh-3040 Closes gh-3049
* Core: Deprecate jQuery.parseJSONMichał Gołębiowski2016-03-021-3/+3
| | | | | Fixes gh-2800 Closes gh-2948
* Tests: Provide equal() arguments in correct order (actual, expected)Richard Gibson2015-09-081-12/+13
| | | | | Ref 224271982eb9cd351d7db1b38c740b4e927e6f97 Ref f5bf9bc48897e3b8f050d87d02252c8be456044a
* Data: avoid using delete on DOM nodesJason Bedard2015-09-081-1/+18
| | | | Closes gh-2479
* Tests: more style correctionsOleg Gaidarenko2015-09-081-1/+1
| | | | | | Provocated by jscs-dev/node-jscs@2de68c0d8351103bb2a989dc942ab47a391d3546 Closes gh-2578
* Tests: further improvements QUnit 2.0 migrationOleg Gaidarenko2015-09-081-2/+2
| | | | | | | | * Remove QUnit jshint globals * Extend QUnit.assert methods * Use assert.async instead of start/stop/done Ref b930d14ce64937e9478405eee2828d4da091d2cb
* Data: do not create data cache when fetching single propertyJason Bedard2015-09-081-0/+16
| | | | Closes gh-2554
* Data: Don't expose jQuery.acceptDataJason Bedard2015-09-081-15/+14
| | | | | | jQuery.acceptData is an undocumented internal API that shouldn't be exposed. Fixes gh-2555
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-071-333/+339
| | | | Fixes gh-2056
* Tests: partially use new qunit interfaceOleg Gaidarenko2015-08-161-257/+260
| | | | | | | | | | | | http://qunitjs.com/upgrade-guide-2.x/ For most of the boring work was used https://github.com/apsdehal/qunit-migrate package However, it can't update local qunit helpers, plus in some places old QUnit.asyncTest signature is still used Fixes gh-2540
* Tests: don't use deprecated argument in test declarationOleg Gaidarenko2015-07-301-8/+24
| | | | Closes gh-2507
* Data: remove the expando when there's no more dataTimmy Willison2015-05-121-2/+19
| | | | | Fixes gh-1760 Close gh-2271
* Data: camelCasing should not ignore caseTimmy Willison2015-05-041-0/+10
| | | | Fixes gh-2070
* Data: always camelCase keys in .data()Timmy Willison2015-05-041-5/+31
| | | | | | | - This effectively implements our "Embrace HTML5" option - Related: http://goo.gl/GcQAtn Fixes gh-2257
* Data: do not include digits when camelCasingTimmy Willison2015-05-031-4/+5
| | | | Fixes gh-1751
* Data: Drop the tests relying on appletsMichał Gołębiowski2015-03-251-6/+3
| | | | | | | | | | BrowserStack regularly has outdated Java in their IE instances causing our data tests to hang & give no output. Skip the tests that create applets, applets are treated in the same way as an embed elements which we're already testing. Fixes gh-1938 Closes gh-2166
* Data: Use a PDF object instead of a Java applet for acceptData testingMichał Gołębiowski2015-01-291-4/+4
| | | | | | | This should fix "Java out of date" errors on BrowserStack. Fixes gh-1938 Closes gh-2028
* Tests: Minor updates for QUnit 1.16 compatibilityRichard Gibson2014-12-051-2/+2
| | | | | | More to come later. (cherry picked from commit f6f8848fbe477fa93fd27ac7f10885dd6e97f633)
* Build: Fix various typosOleg Gaidarenko2014-11-081-2/+2
| | | | | | | Thanks @jamesgpearce, @vlajos, @imyousuf Closes gh-1828 Closes gh-1830 Closes gh-1844
* Data: Work around IE11 bug with onpageshow attributeDave Methvin2014-04-301-0/+6
| | | | Fixes #14894
* Fix #14074: element id="nodeName". Close gh-1389.Richard Gibson2013-11-071-3/+19
| | | | | | | | | | | (cherry picked from commit 126d596b56924613687329b7aab4f0cdf4b593b3) Conflicts: src/data.js src/data/accepts.js test/unit/core.js test/unit/data.js
* Fix #14101: $().data() should be undefined, not nullCorey Frang2013-11-061-0/+6
|
* Fix #14459: Use jQuery.parseJSON instead of JSON.parseRichard Gibson2013-10-281-12/+2
|
* Ref 2263134b: Better identify potential JSON. Close gh-1401.Ronny Springer2013-10-161-12/+45
|
* AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.Timmy Willison2013-08-151-8/+8
|
* Fixes #14047 jQuery.data should not miss data-* w/ hyphenated property namesRick Waldron2013-06-241-0/+11
| | | | | http://bugs.jquery.com/ticket/14047 Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Fixes #13850. Better removal of hyphenated data property names.Rick Waldron2013-05-021-0/+29
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Fixes #13815: Ensure each element has its own private data object - Tests by ↵Corey Frang2013-04-241-0/+12
| | | | @rwldrn
* Update jshintrc to conform to new style guide. Conform to onevar and unused ↵Timmy Willison2013-04-091-22/+29
| | | | in tests. Fixes #13755.
* Move size() test to deprecated.js and avoid in other tests. Close gh-1237.Michał Gołębiowski2013-04-081-1/+1
|
* Fixes #8335. Do not allow add data to non-elements (2.x). Closes gh-1232Oleg Gaidarenko2013-04-081-8/+20
|
* Removes unnecessary "object/applet" element test from data tests.Rick Waldron2013-04-071-7/+0
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Avoid side-effects when calling jQuery.hasDataRick Waldron2013-04-011-0/+11
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* bind/unbind changed to on/off in unit tests; refs #13554Michał Gołębiowski2013-03-251-2/+2
|
* Fix typos, close gh-1187.stonelee2013-03-251-1/+1
|
* Make data test titles more consistent and accurateRick Waldron2013-03-031-7/+7
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Fixes #13551. Guard against illegal data access by undefined elem-ownerRick Waldron2013-03-031-0/+11
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* test/unit/data.js style nitsRick Waldron2013-03-021-9/+11
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Fixes #13550. .data should not miss attr() set data-* with hyphenated ↵Michał Gołębiowski2013-03-021-5/+13
| | | | property names. Closes gh-1189