]> source.dussan.org Git - jquery.git/commit
Fixes #8205. Mitigates memory usage by recycling jsonp callback names the safest...
authorjaubourg <j@ubourg.net>
Fri, 20 Apr 2012 01:02:20 +0000 (03:02 +0200)
committerjaubourg <j@ubourg.net>
Fri, 20 Apr 2012 01:02:20 +0000 (03:02 +0200)
commit8ebb2f4793d2c464888b5f0dba97fb5c9d0c9541
treed6bb719534c33cb22bdb88aee0a73a0730facec3
parent3e6f94c36046e927121e2b25174f1ecd2e45d65b
Fixes #8205. Mitigates memory usage by recycling jsonp callback names the safest possible way (no kittens were harmed in the making of this). Doesn't even try to delete window properties (would necessitate a try/catch for IE which makes the cost in size prohibitive). Unit tests added.
src/ajax/jsonp.js
test/unit/ajax.js