aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/data.js
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fixes #13548. .data should not miss attr() set data-* with hyphenated ↵Rick Waldron2013-03-011-1/+12
| | | | property names
* Old acceptData tests refactored and adapted to support new data systemRick Waldron2013-02-281-27/+21
|
* Refactor: Data.prototype.access. Thanks to @RubyLouvre and @gibson042. ↵Rick Waldron2013-02-131-8/+26
| | | | Closes #1167
* Optimized Data rewriteRick Waldron2013-02-111-4/+7
|
* 2.0: Rewrite data.js (Incl. event, manipulation, tests)Rick Waldron2013-02-031-2/+36
|
* Fix #8335: Avoid memory leak by never setting data on non-element ↵danilsomsikov2013-01-161-1/+12
| | | | non-document nodes. Close gh-1127.
* Remove deleteExpando detect.Dave Methvin2013-01-031-34/+0
|
* Revert data.js rewrite.Dave Methvin2013-01-031-35/+6
| | | | | | | | | | | | | | | | | | | | | | Reverts the following commits: commit f717226b3a44f918eec30b2d59ab257270189bc3 Author: Rick Waldron <waldron.rick@gmail.com> Date: Mon Dec 31 18:06:38 2012 -0500 Only splice from internal arrays when item actually exists. commit b9cdc4136b688963d1dc4befb169be02a0216ba9 Author: Rick Waldron <waldron.rick@gmail.com> Date: Mon Dec 31 16:20:35 2012 -0500 Updates to data.js re-write to pass events and manipulation commit d1de3000c6d50c298de14fb1ae3381d75c303723 Author: Rick Waldron <waldron.rick@gmail.com> Date: Mon Dec 31 15:09:45 2012 -0500 2.0: Rewrite data.js
* 2.0: Rewrite data.jsRick Waldron2012-12-311-6/+35
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Restore jQuery.access parameter mistakenly removed in 80d45a69Richard Gibson2012-11-061-25/+38
|