Commit Graph

172 Commits

Author SHA1 Message Date
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
Kyle Huey
92be2b261d Bug 697247: Part 2 - Rework IDB synchronization mechanisms. r=bent 2011-11-02 08:53:12 -04:00
Kyle Huey
d4ebda4714 Bug 697177: Disable test that's triggering some known bugs. 2011-10-26 14:59:09 -04:00
Kyle Huey
e0d8626ffd Bug 692991: Refactor some VERSION_CHANGE transaction locking stuff and disallow transaction creation before databases are completely open. r=bent 2011-10-25 08:49:31 -04:00
Ed Morley
ada43c2d75 Backout 26ac81280f33 (bug 692911) for Moth orange on all platforms & M2 orange on win opt 2011-10-24 23:49:59 +01:00
Kyle Huey
7ec5127798 Bug 692911: Refactor some VERSION_CHANGE transaction locking stuff and disallow transaction creation before databases are completely open. r=bent 2011-10-24 16:01:11 -04:00
Kyle Huey
0d874b65fa Bug 687361: Implement the new IndexedDB setVersion API. r=bent
--HG--
rename : dom/indexedDB/nsIIDBVersionChangeRequest.idl => dom/indexedDB/nsIIDBOpenDBRequest.idl
2011-10-20 12:10:56 -04:00
Joel Maher
be5ce7dc85 Bug 676274 - refactor specialpowers so we can use the api in mochitest-chrome without specialpowers. r=ted, a=test-only. 2011-10-06 10:51:03 -04:00
Boris Zbarsky
788803a0af Bug 660233 part 1. Fix tests that assume UniversalXPConnect in otherwise-untrusted pages will get one nodePrincipal, documentURIObject, baseURIObject properties. r=mrbkap
--HG--
rename : dom/tests/mochitest/bugs/test_bug396843.html => dom/tests/browser/browser_bug396843.js
2011-09-23 01:03:50 -04:00
Malini Das
02665c9658 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain 1/1. r=jmaher, a=test-only 2011-08-12 12:21:42 -04:00
Ben Turner
980d6b87e0 Bug 638067 - 'IndexedDB: Inserting data with multiple indexes on an autoIncrement object store throws an error'. r=sdwilsh. 2011-04-13 00:26:20 -07:00
Jonas Sicking
05cbdc2ddd Bug 633414: Update cursor properties to latest spec. r=bent a=jst 2011-02-10 23:47:00 -08:00
Serge Gautherie
9755023488 Bug 614474 - ERROR TEST-UNEXPECTED-FAIL | /tests/dom/indexedDB/test/test_bfcache.html | Test timed out; (Cv1) Disable this test on (all) Windows 2003 as a workaround.
r=jonas a=(test only).
2011-01-31 22:30:39 +01:00
Jonas Sicking
7df9624ca1 Bug 618590 Part 3: When a page is destroyed, abort any running indexedDB transactions. r=bent a=blocker 2011-01-27 13:47:36 -08:00
Jonas Sicking
b06abf6bff Bug 618590 Part 1: Change Abort() so that it's possible to abort from outside of transaction callbacks. r=bent a=blocker 2011-01-27 13:47:35 -08:00
Ben Turner
c96b568869 Bug 628071 - 'Crash inspecting IDBRequest(mozIndexedDB.open)'. r=sicking, a=blocking. 2011-01-26 17:53:02 -08:00
Ben Turner
731feca470 Bug 628063 - 'IndexedDB: Indexes created after data are added are sometimes improperly populated'. r=sicking, a=blocking. 2011-01-23 10:16:00 -08:00
Ehsan Akhgari
1049cda97b Bug 594478 - IndexedDB needs to be hooked up with "Forget about this site"; r=jonas,bent a=blocking-final+ 2011-01-10 19:09:56 -05:00
Ben Turner
cde3f1127c Bug 622042 - 'IndexedDB: Rework events and requests'. r=sicking, a=sicking. 2011-01-06 22:21:36 -08:00
Ben Turner
c35f5a040d Bug 595307 - 'IndexedDB: third-party checks'. r=sicking+dwitte, a=blocking. 2011-01-06 22:21:33 -08:00
Doug Turner
8bce62ee3a Bug 619182 - Convert moz_indexedDB to mozIndexedDB. Tests. r=sicking a=blocking2.0 2011-01-03 12:03:06 -08:00
Ben Turner
e3f9d708a4 Add tests for private browsing in indexedDB, no bug. a=tests. 2010-12-30 10:04:24 -08:00
Serge Gautherie
4116d178ce Bug 614474 - ERROR TEST-UNEXPECTED-FAIL | /tests/dom/indexedDB/test/test_bfcache.html | Test timed out; Backout "(Av1) Add |SimpleTest.requestLongerTimeout(2);|" which didn't really help.
rs=(bent, philringnalda)  a=(test only).
DONTBUILD
2010-12-24 08:57:14 +01:00
Serge Gautherie
05fc879704 Bug 614474 - ERROR TEST-UNEXPECTED-FAIL | /tests/dom/indexedDB/test/test_bfcache.html | Test timed out; (Av1) Add |SimpleTest.requestLongerTimeout(2);|.
r=jonas a=(test only).
2010-12-22 07:19:34 +01:00
Ben Turner
81a511c1aa Bug 618141 - 'IndexedDB: createObjectStore and createIndex should accept an optional object argument'. r=sicking, a=blocking. 2010-12-21 11:02:01 -05:00
Ben Turner
68954fc1d7 Bug 618616 - 'IndexedDB: Make IDBObjectStore.get() accept a key range'. r=sicking, a=blocking. 2010-12-15 13:21:20 -08:00
Ben Turner
2fe29b705a Bug 618140 - 'IndexedDB: Don't fire success event callbacks once a transaction has been aborted'. r=sicking, a=blocking. 2010-12-15 13:21:17 -08:00
Ben Turner
30e3d76c64 Bug 618135 - 'IndexedDB: Implement update() on index cursors (not on index key cursors)'. r-sicking, a=blocking. 2010-12-15 13:21:11 -08:00
Ben Turner
530dbe8a5c Bug 618139 - 'IndexedDB: Make delete() and get() not return an error event when the key does not exist'. r=sicking, a=blocking. 2010-12-15 13:21:09 -08:00
Ben Turner
5fc5e7f7f8 Bug 618143 - 'IndexedDB: Don't accept null as a valid key'. r=sicking, a=blocking. 2010-12-15 13:21:07 -08:00
Ben Turner
2e64fdbaec Bug 618606 - 'IndexedDB: keyPath parameter for createObjectStore should be optional'. r=sicking, a=blocking. 2010-12-15 13:21:04 -08:00
Ben Turner
72466ecb2a Bug 618134 - 'IndexedDB: Rename cursor types to comply with spec changes'. r=sicking, a=blocking. 2010-12-15 13:21:02 -08:00
Ben Turner
60505928db Bug 613372 - 'IndexedDB: Success event for setVersion request has wrong result'. r=sicking, a=blocking. 2010-12-15 13:20:59 -08:00
Ben Turner
aec6dbb710 Bug 618196 - 'IndexedDB: Error events and exceptions thrown during success events should abort transactions'. r=sicking, a=blocking. 2010-12-15 13:20:57 -08:00
Ben Turner
e44932bf78 Bug 615269 - 'IndexedDB: Cursors should not copy all results before iterating'. r=sicking, a=blocking+. 2010-12-09 18:15:00 -08:00
Jonas Sicking
104725b10e Bug 605019: Evict entries in the bfcache if they are holding open a database which is being upgraded. r=bent/smaug a=blocker 2010-11-23 13:24:57 -08:00
Margaret Leibovic
cd33150f53 backout d25bfdc458cf a=bustage 2010-11-23 21:16:23 -08:00
Jonas Sicking
5d0624e29c Bug 605019: Evict entries in the bfcache if they are holding open a database which is being upgraded. r=bent/smaug a=blocker 2010-11-23 13:24:57 -08:00
Ben Turner
801c52fd90 Bug 608186 - 'IndexedDB: Transactions should expire when we return to the event loop'. r=sicking, a=blocking+ 2010-11-15 13:49:49 -08:00
Ben Turner
ceed7c8d18 Bug 607729 - Reenable test, a=testfix 2010-11-11 10:57:07 -08:00
Ben Turner
56b1ed14ae Bug 607729 - disable test, a=orange 2010-11-10 20:11:40 -08:00
Ben Turner
bc48dfd52a Bug 607729 - fix test, a=orange 2010-11-10 17:49:07 -08:00
Ben Turner
758b991dab Bug 607729 - 'IndexedDB: Allow IndexedDB events to propagate, and error events to hit window.error'. r=sicking, a=blocking+ 2010-11-10 15:26:03 -08:00
Ben Turner
719ea5cedf Bug 607122 - 'IndexedDB: IDBKeyRange cleanup'. r=sicking, a=blocking+ 2010-11-10 15:26:00 -08:00