Commit Graph

415 Commits

Author SHA1 Message Date
Ben Turner
2e66854405 Bug 920800 - 'Add openKeyCursor() to IDBObjectStore'. r=janv. 2013-09-25 16:11:47 -07:00
Ben Turner
17727f5952 Bug 920633 - 'Add getAllKeys() to IDBObjectStore'. r=janv. 2013-09-24 10:14:16 -07:00
Jan Varga
c5d294a60c Bug 785884 - Implement support for temporary storage (aka shared pool). r=ehsan, r=bent
--HG--
rename : caps/tests/mochitest/test_principal_extendedorigin_appid_appstatus.html => caps/tests/mochitest/test_principal_jarprefix_origin_appid_appstatus.html
rename : dom/quota/UsageRunnable.h => dom/quota/UsageInfo.h
2013-09-11 06:18:36 +02:00
Bobby Holley
686a940c6e Bug 912322 - Fix tests. r=bz
The crashtest changes are untested (aside from the fact that they don't crash).
2013-09-06 09:12:56 -07:00
Phil Ringnalda
82a82c7965 Back out e46601eb7279:533dc9ea3301 (bug 912322) for Android reftest bustage 2013-09-04 21:49:16 -07:00
Bobby Holley
4f18e183bb Bug 912322 - Fix tests. r=bz
The crashtest changes are untested (aside from the fact that they don't crash).
2013-09-04 19:05:51 -07:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Andrea Marchesini
413ce8df28 Bug 887524 - Move IDBRequest to WebIDL, r=janv 2013-08-01 00:28:15 +02:00
Andrea Marchesini
affecad19a Bug 891944 - Move IDBCursor to WebIDL, r=janv 2013-08-01 00:28:13 +02:00
Andrea Marchesini
507b5977c9 Bug 888596 - Move IDBDatabase to WebIDL, r=janv 2013-07-31 17:48:46 +02:00
Andrea Marchesini
a55b90d029 Bug 892065 - Move IDBIndex to WebIDL, r=janv 2013-07-31 17:48:40 +02:00
Andrea Marchesini
f88a92b855 Bug 888597 - Move IDBObjectStore to WebIDL, r=janv 2013-07-31 17:48:36 +02:00
Andrea Marchesini
59c5192f42 Bug 888598 - Move IDBTransaction to WebIDL, r=janv 2013-07-29 19:12:21 +02:00
David Keeler
80dcdfdff7 bug 842384 - speculative fix: maybe browser_bug839193.js needs a window.focus() r=bent 2013-07-02 14:09:10 -07:00
Tim Taubert
e84c9d2533 Bug 891806 - part 4 - replace 'yield;' with 'yield undefined;' in dom/; r=smaug 2013-07-10 23:52:35 +02:00
Ehsan Akhgari
fc8792b565 Bug 890382 - Implement a Web IDL event constructor for IDBVersionChangeEvent; r=smaug 2013-07-05 13:57:28 -04:00
Ehsan Akhgari
957dde44bf Backed out changeset 170e1863b9b6 (bug 890382) because of xpcshell test failures 2013-07-04 20:59:44 -04:00
Ehsan Akhgari
dcbd7c592e Bug 890382 - Implement a Web IDL event constructor for IDBVersionChangeEvent; r=smaug 2013-07-04 18:12:39 -04:00
Bobby Holley
2efb065754 Bug 877478 - Fix tests that depend on creating verboten instances in content. r=mrbkap
XPConnect generally throws when trying to create instances of non-DOM objects
in content. Due to some bugs this has historically worked in certain cases, but
we're fixing those now. So we need to fix the tests that do this sort of thing.
2013-06-04 19:56:42 -07:00
Jan Varga
3c6c764e38 Bug 860183 - Sync IDB mochi-tests with IDB xpcshell-tests. r=bent 2013-05-22 11:34:22 +02:00
Joey Armstrong
2dbf79e9a4 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Ben Turner
10da9011a4 Bug 861903 - Enable test. 2013-05-12 21:10:58 -07:00
Ryan VanderMeulen
1809e72d0b Bug 861903 - Disable faulty test until it can be fixed with 100% less bustage. 2013-05-10 21:43:50 -04:00
Ben Turner
82bcfb325e Bug 861903 - Disable faulty test until it can be fixed. 2013-05-10 17:48:54 -07:00
Ben Turner
6e9d63ab9b Bug 861903 - Hook IndexedDB up to low disk space notifications. r=janv. 2013-05-10 14:22:01 -07:00
Joey Armstrong
8e99512c32 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Ben Turner
b65f942f9f Bug 859591 - 'Aborted transactions sometimes block all remaining transactions forever'. r=khuey. 2013-04-10 09:27:00 -07:00
Ryan VanderMeulen
02beb6561c Backed out changeset 366758c34e31 (bug 859591) for xpcshell failures. 2013-04-10 14:45:40 -04:00
Ben Turner
70c5f545b9 Bug 859591 - 'Aborted transactions sometimes block all remaining transactions forever'. r=khuey. 2013-04-10 09:27:00 -07:00
Dale Harvey
7a815d332e Bug 826058 - Hosted app install/update tests. r=fabrice, r=ted 2013-04-04 17:58:44 -07:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Jan Varga
c60929486c Bug 854323 - Move IDBFactory to Paris bindings. r=khuey 2013-03-31 10:18:30 +02:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Bobby Holley
d8a04fedd9 Bug 790732 - Fix automation detection to handle Components shim. rs=mccr8 2013-03-28 14:26:02 -07:00
Jan Varga
8ed93ed02a Bug 767944 - Implement a manager for centralized quota and storage handling. r=bent 2013-03-26 12:13:17 +01:00
Vendelin Ruzicka
dd09877f5e Bug 854190 - Remove duplicate JS code in test_create_objectStore.html and import existing JS file. r=janv 2013-03-25 11:12:14 +01:00
Kyle Huey
ea74a097f0 Bug 847147: Disable test. r=me 2013-03-06 08:37:03 -08:00
Kyle Huey
348baf461d Bug 847171: Null check the window before asking IndexedDB to look up transactions. r=bent 2013-03-06 06:29:58 -08:00
Gregory Szorc
faf262c4ee Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
e2966f651c Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
Jonathan Griffin
59f7607781 Bug 831367 - Simplify SpecialPowersAPI.bindDOMWindowUtils(), r=ted 2013-02-22 14:18:38 -08:00
Bobby Holley
440bea3fd7 Bug 843711 - Fix up new |Components| culprits in test suite. r=mccr8 2013-02-25 10:43:03 -08:00
David Keeler
a4d7ed61ff bug 839193 - test for corresponding bug r=bent 2013-02-07 17:11:46 -08:00
Ehsan Akhgari
84c4ac3c75 Bug 817477 - Remove support for global private browsing mode; r=jdm,glandium
--HG--
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js
2013-01-29 13:12:13 -05:00
Kyle Huey
2a039521c8 Bug 828992: Deal with blobs properly when creating indexes on existing data. r=bent 2013-01-11 05:32:20 -08:00
Ed Morley
866d5ef43f Backout d6efd06ceb84 (bug 828992) for assertions on a CLOSED TREE 2013-01-11 14:30:05 +00:00
Kyle Huey
828336c28a Bug 828992: Deal with blobs properly when creating indexes on existing data. r=bent 2013-01-11 05:32:20 -08:00
Josh Matthews
c4823bbdfb Bug 782542 - Secure necko IPDL usage. r=ted,jduell a=blocking-b2g 2012-12-29 04:02:16 -05:00
Josh Matthews
a2029f145a Backed out changeset 6cd44513d285 (bug 782542) 2012-12-28 19:18:38 -05:00
Josh Matthews
9260666d38 Bug 782542 - Secure necko IPDL usage. r=ted,jduell a=blocking-b2g 2012-12-12 10:40:33 -05:00
Jan Varga
812af47d24 Bug 787804 - Rewrite quota handling (eliminate test_quota.c). r=bent,asuth,vladan 2012-12-17 20:25:10 +01:00
Ed Morley
62e46aa794 Backout 3e4e600adc3b (bug 782542) for crashtest-ipc timeouts 2012-12-16 18:09:39 +00:00
Josh Matthews
b5a5e3ef75 Bug 782542 - Secure necko IPDL usage. r=ted,jduell
* * *
Bug 782542 - Disable network.ipc security for certain mochitests r=ted
* * *
Bug 782542.  Disable some more tests that use mozbrowser w/o app r?ted
* * *
Bug 782542 : yet another test needs tweaking. r?ted
2012-12-12 10:40:33 -05:00
Ed Morley
6ae14209c1 Backout 4fce20d0189f (bug 783913) since the later tests still failed 2012-11-12 13:47:33 +00:00
Justin Lebar
637c4e809a Bug 806168 - Remove extra indentation in webapp_clearBrowserData.js. r=bent
The extra indentaiton was necessary because we wanted hg/git to notice that webapp_clearBrowserData.js was actually a rename of test_webapp_clearBrowserData.html.
2012-11-10 10:32:38 -08:00
Justin Lebar
114ec5cd8d Bug 806168 - Test for bugs 802366 and 806127. r=bent
These new tests are disabled on Android because the test they're replacing, test_webapp_clearBrowserData.html, was also disabled on Android, and the new tests fail in the same way as the original test.

--HG--
rename : dom/indexedDB/test/test_webapp_clearBrowserData.html => dom/indexedDB/test/webapp_clearBrowserData.js
2012-11-10 10:32:38 -08:00
Philipp von Weitershausen
c7830976fa Bug 809727 - Wait for the write transaction to finish so that the blobs are expired. r=janv 2012-11-09 20:32:10 -05:00
Ryan VanderMeulen
f774dcd8ba Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage.
--HG--
rename : dom/indexedDB/test/webapp_clearBrowserData.js => dom/indexedDB/test/test_webapp_clearBrowserData.html
2012-11-09 20:14:40 -05:00
Justin Lebar
9a60759573 Bug 806168 - Remove extra indentation in webapp_clearBrowserData.js. r=bent
The extra indentaiton was necessary because we wanted hg/git to notice that webapp_clearBrowserData.js was actually a rename of test_webapp_clearBrowserData.html.
2012-11-09 16:37:41 -08:00
Justin Lebar
8c926613e7 Bug 806168 - Test for bugs 802366 and 806127. r=bent
These new tests are disabled on Android because the test they're replacing, test_webapp_clearBrowserData.html, was also disabled on Android, and the new tests fail in the same way as the original test.

--HG--
rename : dom/indexedDB/test/test_webapp_clearBrowserData.html => dom/indexedDB/test/webapp_clearBrowserData.js
2012-11-09 16:37:41 -08:00
Jan Varga
96013e1347 Bug 809973 - Disable FileHandle in child processes. r=bent 2012-11-08 13:41:23 -08:00
Ehsan Akhgari
1c2b6fe0b3 Bug 806722 - Port indexedDB browser_privateBrowsing.js to the new per-tab PB APIs; r=jdm
--HG--
rename : dom/indexedDB/test/browser_privateBrowsing.js => dom/indexedDB/test/browser_perwindow_privateBrowsing.js
2012-11-08 15:30:48 -05:00
Andrea Marchesini
10c8366adf Bug 795930 - Hide ArchiveReader feature behind a pref (disabled by default), r=mounir
--HG--
extra : rebase_source : fc267035c0eb85bb08b9da91bf79ecbb816da1b3
2012-11-08 15:57:17 +00:00
Mounir Lamouri
2c4f8c0fac Backed out changeset 3566ba4296f7 because of wrong bug number.
--HG--
extra : rebase_source : c5d189308a555c7235d6cd405aa44d36c9b7db9a
2012-11-08 15:56:48 +00:00
Andrea Marchesini
2751e6fb32 Bug 809567 - Hide ArchiveReader feature behind a pref (disabled by default), r=mounir 2012-11-08 15:54:26 +00:00
Ed Morley
d7a0fc5759 Bug 783913 - Disable test_add_put.html for too many intermittent timeouts 2012-11-06 22:26:02 +00:00
Justin Lebar
e6629a4045 Backed out changeset fcf7daa94373 (bug 806168)
--HG--
rename : dom/indexedDB/test/webapp_clearBrowserData.js => dom/indexedDB/test/test_webapp_clearBrowserData.html
2012-10-30 21:35:45 -04:00
Justin Lebar
50dc5fc310 Backed out changeset 4eba57a286d7 (bug 806168) 2012-10-30 21:35:44 -04:00
Justin Lebar
fd1dec6d7f Bug 806168 - Remove extra indentation in webapp_clearBrowserData.js. r=bent
The extra indentaiton was necessary because we wanted hg/git to notice that webapp_clearBrowserData.js was actually a rename of test_webapp_clearBrowserData.html.

--HG--
extra : rebase_source : 5154e7406238a0a257e10114a8446ca9288ec08d
2012-10-30 15:55:06 -04:00
Justin Lebar
94490d8c63 Bug 806168 - Test for bugs 802366 and 806127. r=bent
--HG--
rename : dom/indexedDB/test/test_webapp_clearBrowserData.html => dom/indexedDB/test/webapp_clearBrowserData.js
extra : rebase_source : baa5325286fa456eaf5c828b4a59a0ba57680e21
2012-10-30 15:55:06 -04:00
Jan Varga
49e3ad9384 Bug 786688 - Part 3: Automatic tests. r=sicking 2012-10-30 07:12:18 +01:00
Ben Turner
1493ea2ca6 Bug 786295 - 'Delete IndexedDB related to an app when uninstalled'. r=bz+khuey+sicking. 2012-10-23 09:31:19 -07:00
Ehsan Akhgari
129e401577 Bug 799126 - Rename ClearRecentHistory to ForgetAboutSite; r=jdm
--HG--
rename : browser/components/privatebrowsing/src/ClearRecentHistory.jsm => browser/components/privatebrowsing/src/ForgetAboutSite.jsm
2012-10-08 11:55:41 -04:00
Ehsan Akhgari
6a6d0d8405 Bug 774963 - Remove removeDataFromDomain from nsIPrivateBrowsingService, and put it in its own JS module, ClearRecentHistory; r=jdm 2012-10-03 11:29:10 -04:00
Bobby Holley
8d0a3c172a Bug 792036 - Expose |Components| to content in the indexedDB test harness. r=bent 2012-09-24 14:46:27 +02:00
Jonas Sicking
bddd31eff7 Bug 769880: Make createIndex throw InvalidAccessError instead of NotSupportedError. r=khuey 2012-08-31 18:33:24 -03:00
Kyle Huey
c25f8e64ef Bug 687332: Part 2 - Move event handlers off of DOM objects and keep track of them solely in the event listener manager. r=smaug,bz 2012-08-30 20:45:16 -07:00
Mounir Lamouri
f0f4143eaf No bug - Update tests for bug 756645 to use permissions instead of whitelist in prefs. r=bent
--HG--
extra : rebase_source : f05215f2c72538a3b5bb4382710c1fa5f9cc1759
2012-08-28 14:05:33 -03:00
Ben Turner
3ebc67242c Bug 786003 - 'Fix file handle leak in nsDOMFileReader, add tests to IndexedDB'. r=jst.
--HG--
extra : transplant_source : %FB%7Ew%94%1C%9D%29%DD%B9%08%EC%FC%E5N%B7P%3F.1%C9
2012-08-28 07:59:18 -07:00
Mounir Lamouri
62167af904 Bug 756645 - Implement IndexedDB apps isolation. r=bent 2012-08-28 09:46:46 -03:00
Matt Brubeck
71245eab94 Back out changeset 5ff334b7781d (bug 786003) because of test failures on Windows on a CLOSED TREE 2012-08-27 16:28:51 -07:00
Ben Turner
36712eead9 Bug 786003 - 'Add a few extra tests for blobs in IndexedDB'. r=jst. 2012-08-27 12:40:06 -07:00
Ryan VanderMeulen
a590c02f1f Backout 4bb90f8c6909 (bug 756645) due to Android opt M3 orange on a CLOSED TREE. 2012-08-23 22:54:15 -04:00
Mounir Lamouri
62228626d9 Bug 756645 - Implement IndexedDB apps isolation. r=bent 2012-08-23 11:45:01 -07:00
Kyle Huey
4a5b054834 Bug 781700: Revert test changes. 2012-08-10 15:57:59 -07:00
Kyle Huey
f28379843e Bug 781700: Disable failing test in xpcshell. 2012-08-10 11:04:16 -07:00
Kyle Huey
c44a5bd7c8 Bug 781700: Don't hold strong references to databases from the synchronization queue, so that GCing a database will unblock waiting operations. r=bent
--HG--
extra : rebase_source : 2f1b2405ffc91831d33eb91e4b2d61c2b1ac872b
2012-08-10 09:15:02 -07:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ben Turner
51792b2d7b Bug 778968 - 'Avoid stat-ing remote blobs on the main thread'. r=janv.
--HG--
extra : transplant_source : %90%87%047%07BA%97%E0%F1n%1DY%08D%7C%E39%20%0F
2012-08-02 23:25:30 -07:00
Ben Turner
7f1e8a99aa Backed out changeset 46653198caac 2012-08-02 21:53:03 -07:00
Ben Turner
56da575b73 Bug 778968 - 'Avoid stat-ing remote blobs on the main thread'. r=janv. 2012-08-02 13:42:30 -07:00
Ben Turner
0010e82b08 Bug 759427 - 'Multiprocess blob support for MessageManager and IndexedDB'. r=smaug+janv+khuey (rs=sicking for nsBlobURI changes).
--HG--
extra : transplant_source : %95%B5y%11%C5%AB%D9%CF%FF%7C%5E%BB%E5%DA%F5j%83o%29%EB
2012-08-01 23:02:29 -07:00
Mounir Lamouri
72b86db435 Bug 775817 - Update [most] tests to use the new permission manager api. r=sicking 2012-07-23 11:08:07 -07:00
Dão Gottwald
8cb27ce02a Bug 767133 - Add slide-in animation for arrow panels. r=Enn,Mossop 2012-07-18 16:15:24 +02:00
Ben Turner
ffa4f808f2 Bug 772700 - 'IndexedDB - OOP from a JS component or JSM doesn't work'. r=khuey+mrbkap.
--HG--
rename : dom/indexedDB/test/unit/head_idb.js => dom/indexedDB/test/unit/head.js
extra : transplant_source : %5D1%15%CC%90%E0%F5%0D%0B%FDi%0B%B9YA%D4c%24%D42
2012-07-14 07:24:20 -04:00
Ms2ger
ee938e4233 Backout changeset 592bfc94e628 for X orange. 2012-07-14 11:23:52 +02:00
Ben Turner
e738469ac9 Bug 772700 - 'IndexedDB - OOP from a JS component or JSM doesn't work'. r=khuey+mrbkap.
--HG--
rename : dom/indexedDB/test/unit/head_idb.js => dom/indexedDB/test/unit/head.js
extra : transplant_source : %217%FC%0D%A3%82%DB%F2DB%F1%5Dc%99%B9%C6j%E1U%A2
2012-07-13 23:05:58 -04:00
Jan Varga
98be9f5caf Bug 773182 - Remove unused db description parameter from IDB mochitests. r=sicking 2012-07-13 07:37:28 +02:00
Jan Varga
994c586c3d Bug 771498 - FileHandle: getFile() should return a DOMRequest (instead of a FileRequest). r=sicking 2012-07-10 07:07:01 +02:00
Nathan Froyd
a7eb97f896 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Ben Turner
798ac10ab8 Bug 758357 - Only show prompt after 50mb of quota was reached. r=sicking 2012-07-05 14:11:48 -07:00
Chris Pearce
5b73534832 Bug 758357 - Backout 2d295ed03d7f for causing bug 770085. r=backout 2012-07-02 16:49:38 +12:00
Chris Pearce
ed6718553a Bug 758357 - Backout 540cd3aabdd4 for causing bug 770085. r=backout 2012-07-02 16:48:06 +12:00
Ryan VanderMeulen
ea4eac24f4 Bug 758357 - Back out part of the landing due to risk of it introducing oranges. 2012-07-01 09:38:44 -04:00
Ryan VanderMeulen
ed99b8a4f0 Backout a8bfe5a447e7 for creating more orange than it fixed. 2012-06-30 21:51:09 -04:00
Jonas Sicking
3463ca6bd2 Back out part of the landing for bug 758357 due to risk of it introducing oranges 2012-07-01 02:25:20 +02:00
Ben Turner
5eacba0467 Bug 758357: Only show prompt after 50mb of usage for now. Plan is to soon introduce a new service which allows us to remove "old" indexedDB databases and keep a global quota, but for now we simply remove the prompt. r=sicking 2012-06-30 19:57:15 +02:00
Kyle Huey
3b3b755501 Bug 726378: Unprefix IndexedDB. r=sicking 2012-06-29 09:48:35 -07:00
Jonas Sicking
2e7cb24268 Bug 755514: Cursor.update support for keypath arrays. r=khuey 2012-06-29 09:48:34 -07:00
Kyle Huey
8495031c2a Bug 769356: Calling transaction.abort() should leave transaction.error as null, but throwing exceptions should set transaction.error. r=sicking 2012-06-29 09:48:34 -07:00
Kyle Huey
dac92e82a6 Bug 762206: Fire an nsScriptErrorEvent at the window to get the proper window.onerror behavior. r=sicking 2012-06-29 09:48:34 -07:00
Kyle Huey
90e0774f10 Bug 755511: Revert all in-memory data when reverting versionchange transactions. r=sicking 2012-06-29 09:48:34 -07:00
Kyle Huey
4d13cb8930 Bug 755507: Sort objectStoreNames/indexNames. r=sicking 2012-06-29 09:48:34 -07:00
Kyle Huey
f45badab78 Bug 755515: Catch exceptions in error handlers. r=sicking 2012-06-29 09:48:34 -07:00
Jan Varga
1fddd6b475 Bug 767193 - FileHandles do not get GCed/removed when overwritten in indexeddb. r=bent 2012-06-27 05:14:53 +02:00
Kyle Huey
26dca770d0 Bug 755510: db.transaction should work inside a versionchange transaction's oncomplete handler. r=bent 2012-06-26 08:09:25 -07:00
Kyle Huey
0b74028492 Bug 767999: Actually use QuotaExceededErr. r=bent 2012-06-25 12:15:18 -07:00
Kyle Huey
3a5962a388 Bug 748630: Support IDBTransaction.error. r=bent 2012-06-25 12:15:17 -07:00
Kyle Huey
397b210658 Bug 766462: Twiddle IDB tests some more to make the orange stop. 2012-06-24 11:56:56 -07:00
Kyle Huey
b7fb5db81c Bug 766462: Followup to fix typo. 2012-06-23 08:00:06 -07:00
Kyle Huey
7d77ab25de Bug 766462: Make some tests wait for all their events. r=me 2012-06-23 07:02:52 -07:00
Kyle Huey
3d72da04f0 Bug 767186: Cache the keyPath for objectStores and indexes. r=bent 2012-06-22 14:00:53 -07:00
Kyle Huey
6d81864ffb Bug 767184: Make test_complex_keyPath run in xpcshell too. r=bent 2012-06-22 12:08:50 -07:00
Kyle Huey
59ba531f49 Backed out changeset fdf2d378d405 (landed with wrong bug #). 2012-06-21 15:27:03 -07:00
Kyle Huey
7bac36f19b Bug 765834: Rework and unify keyPath handling. r=bent 2012-06-21 13:41:20 -07:00
Ben Turner
401cf770e8 Bug 765839 - 'Enable IndexedDB OOP test suite'. r=khuey.
--HG--
extra : transplant_source : %3Bb4%A4%99fC%9Cg%86%9B%1F3%C6%0F%01T%1C%3C%AE
2012-06-19 18:50:39 -07:00
Jan Varga
1ac8eec4a0 Bug 763388 - Remove enablePrivilege calls from IndexedDB and FileHandle tests. r=bent 2012-06-18 19:09:26 +02:00
Kyle Huey
0d49be1d43 Bug 759970: Result when reaching the end of a cursor should be null. r=sicking 2012-06-07 13:59:51 -07:00
Jan Varga
6e3e5ab48b Bug 726593 - Implement FileHandle. r=bent 2012-06-03 18:33:52 +02:00
Ben Turner
b072e01d8f Bug 666693 - 'Remote IndexedDB for multiple IndexedDB-using processes'. r=cjones+sicking. 2012-06-01 10:21:12 -07:00
Kyle Huey
daec3cf6f2 Merge m-c to b-s. 2012-05-27 22:31:06 -07:00
Kyle Huey
d93d12b399 Bug 757222: Revert changes made to address a review comment because that comment was wrong. 2012-05-25 16:40:16 -07:00
Kyle Huey
bbbf0d1d23 Bug 755508: Do not allow the use of NaN dates as keys. r=sicking 2012-05-25 11:52:19 -07:00
Kyle Huey
6e8ea79075 Bug 757222: deleteDatabase should fire a versionchange event with newVersion === null. r=sicking 2012-05-25 11:48:27 -07:00
Kyle Huey
33ea1c8251 Bug 755509: Test explicity for request.result === undefined with deleteDatabase. r=sicking 2012-05-21 10:12:16 -07:00
Kyle Huey
a3ce879e6e Bug 755509: Run deleteDatabase test in Window and component scopes. r=sicking 2012-05-21 10:11:27 -07:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Josh Matthews
69d9415509 Bug 722857 - Basic sanity test for before/after private browsing DOM storage implementation. r=honzab 2012-05-26 09:38:06 +01:00
Ed Morley
05ff81b305 Backout 70cde80fa095 & 5a903d496ab0 (bug 722857) for crashes in 646184.html 2012-05-25 12:51:32 +01:00
Josh Matthews
2b475b03a6 Bug 722857 - Basic sanity test for before/after private browsing DOM storage implementation. r=honzab 2012-05-25 12:20:58 +01:00
Masatoshi Kimura
7d3bc384fb Bug 752402 - Support ArrayBufferView as a member of blobParts parameter. r=sicking 2012-05-17 17:53:44 -04:00
Ben Turner
8c2baff1b1 Bug 747581. r=khuey. 2012-04-30 16:52:27 -07:00
Masatoshi Kimura
95f8a3cace Bug 745498 - Add testcases for DOM4 exception types. r=sicking 2012-04-26 09:42:26 -07:00
Masatoshi Kimura
40676e48a8 Bug 730161 - Tests fix. r=sicking 2012-04-11 17:55:22 -04:00
Masatoshi Kimura
f266003760 Bug 743451 - Workaround for ISO date parsing bug. r=bent 2012-04-09 18:43:47 -04:00
Masatoshi Kimura
add7512617 Bug 736687 - Warn on use of MozBlobBuilder. r=sicking
--HG--
rename : layout/reftests/svg/as-image/img-blobBuilder-1.html => layout/reftests/svg/as-image/img-blobURI-1.html
rename : layout/reftests/svg/as-image/img-blobBuilder-2.html => layout/reftests/svg/as-image/img-blobURI-2.html
2012-03-19 12:00:43 +01:00
Jonas Sicking
39ecbe97e4 Bug 735094: Implement new string values (rather than numeric constants) for IndexedDB. r=bent 2012-03-12 21:44:45 -07:00
Kyle Huey
090e99a445 Bug 725418: IndexedDB - GetAll[Keys] with an explicit 0, null, or undefined for the maximum number of records should return all records. r=bent
--HG--
extra : rebase_source : d4ebec7bb33e581bf9e709440a20117e245d1fcd
2012-02-09 20:56:48 -08:00
Gabor Krizsanits
01ae9410c1 Bug 717190 - IndexedDB test fix: Follow-up of accessing IndexedDB API from chrome; r=sicking 2012-02-06 18:25:30 +00:00
Kyle Huey
31062dc5ea Bug 715014: Delete IndexedDB files directory so that databases can be opened again after being deleted. r=bent 2012-01-04 11:25:26 -05:00
Gabor Krizsanits
6058ee6e19 Bug 587797 - Tests. r=khuey 2012-01-04 10:43:33 -05:00
Phil Ringnalda
4be2906106 Bug 595368 - Disable test_writer_starvation.html until it learns not to hit infinite loops, r=khuey 2011-12-27 19:38:39 -08:00
Jan Varga
3975331303 Bug 711727 - Followup cleanup for files in IndexedDB. r=sicking/bent 2011-12-20 12:23:27 +01:00
Jonas Sicking
abe11e8c63 Bug 694138: Support an array of strings as keyPath on objectStores and indexes. r=janv/bent 2011-12-20 02:59:07 -08:00
Jonas Sicking
fcaa811a2a Bug 692614: Support all spec'ed key-types, including Arrays. Patch by Jan Varga and me. r=janv/bent/me 2011-12-20 02:58:44 -08:00
Jonas Sicking
8b7b6f44b3 Bug 701772: Manage autoIncrement for objectStores ourselves in order to simplify the code, make ai-keys unique per objectStore and not per database, and allow ai-objectStores to contain non-integer keys. r=bent 2011-12-16 16:40:47 -08:00
Jonas Sicking
6787a7998e Back out fb4d12d2a2da, bug 701772, due to leaks. 2011-12-16 13:09:42 -08:00
Jonas Sicking
6df231f9b2 Bug 701772: Manage autoIncrement for objectStores ourselves in order to simplify the code, make ai-keys unique per objectStore and not per database, and allow ai-objectStores to contain non-integer keys. r=bent 2011-12-16 12:29:15 -08:00
Jan Varga
8702627c09 Bug 661877 - Enable storing files in IndexedDB. r=bent 2011-12-16 08:34:24 +01:00
Jonas Sicking
b95e9005a5 Tests for Bug 706088. r=khuey. Also removes a now-obsolete test. r=bent. a=khuey 2011-12-13 11:46:19 -08:00
Ed Morley
131e465687 Backout e479e03eaa71 (bug 706088) for mochitest-2 permaorange 2011-12-08 13:46:16 +00:00
Jonas Sicking
b8af8984e0 Bug 706088 part 2: Add tests for all combinations of add/put/keypath/autoincrement/explicit keys etc. r=khuey 2011-12-08 03:03:51 -08:00
Kyle Huey
df26b7adb6 Bug 706088 Make .put allow no key being provided if it's an autoIncrement object store. r=bent 2011-12-06 02:45:46 -08:00
Jonas Sicking
2d743f6976 Bug 706068: Make complex keys work on auto-increment object stores. Patch by khuey and sicking. r=sicking on parts by khuey and r=bent on parts by sicking. 2011-12-04 09:39:02 -08:00
Jonas Sicking
5e626ffd6d Bug 706762: Ensure that object stores and indexes are removed from caches when they are deleted. r=bent 2011-12-04 09:39:01 -08:00
Jonas Sicking
cd4051ca12 Bug 692630: Support multi-entry indexes. r=bent 2011-12-04 09:39:01 -08:00
Jonas Sicking
aeb8da00ba Bug 706659 part 2: Support empty keypaths on objectStores. r=bent 2011-12-04 09:39:01 -08:00
Jonas Sicking
995edcbe9a Bug 706659 part 1: Make complex keypaths ignore index rather than throwing in all situations if it can't get key for index. r=bent 2011-12-04 09:39:01 -08:00
Kyle Huey
215879a985 Bug 704464: Part 2 - Make Database creation hook into the quota system. r=bent 2011-12-03 12:18:38 -05:00
Jonas Sicking
8d116d7109 Back out patches due to test failures. rev 1b9ca56d4aab and a few more. 2011-12-02 19:46:25 -08:00
Jonas Sicking
f55d5c31ca Bug 706068: Make complex keys work on auto-increment object stores. Patch by khuey and sicking. r=sicking on parts by khuey and r=bent on parts by sicking. 2011-12-02 18:32:46 -08:00
Jonas Sicking
88daaa8255 Bug 706762: Ensure that object stores and indexes are removed from caches when they are deleted. r=bent 2011-12-02 18:32:46 -08:00
Jonas Sicking
a4afec4d29 Bug 692630: Support multi-entry indexes. r=bent 2011-12-02 18:32:46 -08:00
Jonas Sicking
d13f23d073 Bug 706659 part 2: Support empty keypaths on objectStores. r=bent 2011-12-02 18:32:46 -08:00
Jonas Sicking
485705d013 Bug 706659 part 1: Make complex keypaths ignore index rather than throwing in all situations if it can't get key for index. r=bent 2011-12-02 18:32:46 -08:00
Kyle Huey
c54e849e3b Bug 692635: Transaction abort events should bubble. r=sicking 2011-11-23 09:15:15 -05:00
Kyle Huey
7a3cbb76a9 Bug 702809: Allow creating indexes with empty keyPaths. r=sicking 2011-11-23 09:15:15 -05:00
Ben Turner
cc1df4e7cb Bug 692652 - IndexedDB: Index updating is broken. r=sicking.
--HG--
extra : transplant_source : %92%5BBT%93%BA%3DO%D7%03v%B7%88%01%3AjZ%D0%81%AA
2011-11-21 20:18:19 -08:00
Kyle Huey
dfec011cec Bug 692627: Support complex keyPaths in IndexedDB. r=bent,jorendorff 2011-11-21 09:56:24 -05:00
Kyle Huey
2e5f4b01a2 Bug 700544: Transactions should be ordered based on creation, not on the first request. r=bent 2011-11-18 10:21:04 -05:00
Ben Turner
27203a7bfd Bug 692642: IndexedDB: support indexedDB.cmp. r=sicking. 2011-11-08 11:03:18 -08:00
Ben Turner
594a9b2961 Bug 692671: IndexedDB: remove timeout in database operations. r=sicking. 2011-11-08 09:43:00 -08:00
Jonas Sicking
ef00405547 Bug 692659: Fix sort order for PREV cursors on indexes. r=bent 2011-11-07 23:34:59 -08:00
Jonas Sicking
a8f35226a8 Bug 692674: Set the errorCode to "ABORT_ERR" for all pending requests when a transaction is aborted, even ones that failed for other reasons. r=bent 2011-11-07 22:27:03 -08:00
Jonas Sicking
eec1ee6dc1 Bug 694135: Don't throw if there are unknown properties in the options objects to createObjectStore/createIndex. r=bent 2011-11-07 22:25:51 -08:00
Ben Turner
a32db4372c Bug 696914 - 'IndexedDB: IDBObjectStore.delete and IDBCursor.delete should return undefined'. r=sicking. 2011-11-07 18:08:02 -08:00
Kyle Huey
2212aeceae Bug 625071: Implement deleteDatabase. r=bent 2011-11-07 19:15:45 -05:00
Kyle Huey
6ecd76ea59 Bug 699468: Part 5 - Clone the canonical DatabaseInfo when a Database is closed. r=bent 2011-11-07 19:15:45 -05:00
Ben Turner
d2fe7043a2 Bug 692628 - 'IndexedDB: Support IDBCursor.advance'. r=sicking. 2011-11-07 15:37:19 -08:00
Ben Turner
d159d4ae55 Bug 692632 - 'IndexedDB: support empty objectstore/index names'. r=sicking. 2011-11-07 15:37:16 -08:00
Ed Morley
6a998be2c5 Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
364e83c545 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Ben Turner
8802ea7670 Bug 694145 - 'IndexedDB: various methods should accept both keys and KeyRanges'. r=sicking.
--HG--
extra : transplant_source : R%0C%DA%D7%EF%8D3U%7DQ%1A%05%1A3%94%1E%F8%B0%A3k
2011-11-03 08:59:17 -07:00
Ben Turner
a9d4865e7b Bug 692629 - 'IndexedDB: Support IDBObjectStore/IDBIndex.count'. r=sicking.
--HG--
extra : transplant_source : %87%F7%A6%8Cc%15%C7%C4%19%5D%14%CB%98%9BF%A4%5C/%5B%FF
2011-11-03 08:57:42 -07:00
Ben Turner
d1ccef79ea Bug 692669 - 'IndexedDB: remove nsIVariant from IDB* interfaces'. r=sicking.
--HG--
extra : transplant_source : %84%E3%96%9F%C5%BA%D56%A4%94%83%9F%C3%F5%2B%01%7B%87%FB9
2011-11-03 08:57:30 -07:00
Ed Morley
b08ad8e6dc Backout eb32aca6d54d, b5c0bfd03fcf and 5675bf2c7930 (bug 692669 and bug 692669) for failing to build on all platforms 2011-11-03 01:57:48 +00:00
Ben Turner
fa4097234f Bug 692629 - 'IndexedDB: Support IDBObjectStore/IDBIndex.count'. r=sicking.
--HG--
extra : transplant_source : %CC%FEE%A0%E0%FD%AC%23%E8%BB%8BrV%95%A5%1B4If7
2011-11-02 18:03:47 -07:00
Ben Turner
8ec37931d5 Bug 692669 - 'IndexedDB: remove nsIVariant from IDB* interfaces'. r=sicking.
--HG--
extra : transplant_source : E%E9%F9%B5%FB%88%1E%FA%C1%BE%04%1F%1E%3D%5E%EB%3C%D2%D2c
2011-11-02 18:03:15 -07:00
Kyle Huey
c6a3d6dc7f Bug 698440: Implement IndexedDB optional version syntax. r=bent 2011-11-02 08:53:12 -04:00