Граф коммитов

1657 Коммитов

Автор SHA1 Сообщение Дата
Kyle Huey 09247f2597 Bug 662930: Consolidate IDB structured clone serializations/deserializations. r=bent 2011-06-08 19:21:53 -07:00
Dominic Fandrey 968bf5196a Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Masayuki Nakano 4a5030c91a Bug 660121 Remove all pref related methods from nsContentUtils r=roc 2011-05-29 08:42:57 +09:00
Masayuki Nakano caee4cc73f Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc 2011-05-25 15:31:59 +09:00
Alon Zakai 0c39bea133 Bug 619494 - Make IndexedDB work in IPC Fennec. r=bent,mfinkle 2011-04-29 16:46:20 -07:00
Peter Van der Beken eb0c1061d1 Fix for bug ug 652135 (Add more CC edge names). r=dbaron.
--HG--
extra : rebase_source : a29d880341d333f6082f640ea467928b621b5b82
2011-02-02 16:30:03 +01:00
Ben Turner 3d078b9b8a 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
Peter Van der Beken a571493d4a Fix for bug 584048 (Clean up cycle collection code) - move unlinking of JS members from root into unlink. r=bent. 2010-11-08 16:02:49 +01:00
Justin Lebar d5dcbf68a6 Bug 592557 - Eliminate uses of PR_Atomic{Increment,Decrement} functions in favor of PR_ATOMIC_{INCREMENT,DECREMENT} macros. r=bsmedberg,gal
--HG--
extra : rebase_source : 71069eb9c9d61131adee49279e136c8574dabc62
2011-03-28 15:58:49 -04:00
Mike Shaver 6293a9a3ae Backed out changeset 4d86e63ff60d, diagnostic patch; back out 3da12edf735e, followup fix; back out bug 631135 completely, unexplained intermittent orange. r=waldo, a=orange 2011-02-19 20:46:44 -08:00
Jeff Walden 155cb95ef3 Bug 631135 - Objects created by or on behalf of fast natives and property ops (getters or setters) are parented to the wrong proto and global. r=lw,jst,mrbkap,bz, a=jst
--HG--
extra : rebase_source : a2f6a11ac3bcc7925cbf122057b694a0aafac970
2011-02-08 17:20:06 -08:00
Jonas Sicking 6b533e98a4 Bug 633414: Update cursor properties to latest spec. r=bent a=jst 2011-02-10 23:47:00 -08:00
Ben Turner 2135a63ce2 Bug 631452 - 'LazyIdleThread can race with newly dispatched events when shutting down'. r=sdwilsh, a=blocking. 2011-02-04 11:48:59 -08:00
Serge Gautherie e49d1f0adf 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 dde3e2e869 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 d664a198d2 Bug 618590 Part 2: Don't put a document in bfcache if there are running transactions in it. r=bent a=blocker 2011-01-27 13:47:36 -08:00
Jonas Sicking 1e8e1d82f7 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 1734f9abbc Bug 628071 - 'Crash inspecting IDBRequest(mozIndexedDB.open)'. r=sicking, a=blocking. 2011-01-26 17:53:02 -08:00
Ben Turner b803e3260c Bug 624531 - 'IndexedDB: Change the enum values of IDBTransaction to match spec'. r=sicking, a=blocking. 2011-01-23 10:16:00 -08:00
Ben Turner 056d72865d 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
Ben Turner ab991f5b04 Bug 619568 - 'Intermittent test_index_object_cursors.html | indexedDB error, code 4'. r=sdwilsh, a=blocking. 2011-01-13 12:11:26 -08:00
Ehsan Akhgari ef16112f6e 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 9b0dc88cb6 Bug 622042 - 'IndexedDB: Rework events and requests'. r=sicking, a=sicking. 2011-01-06 22:21:36 -08:00
Ben Turner 63d4f951ac Bug 595307 - 'IndexedDB: third-party checks'. r=sicking+dwitte, a=blocking. 2011-01-06 22:21:33 -08:00
Ben Turner 5f9dd9d69f Bug 618484 - 'Allow ChromeWorkers access to XPCOM objects'. r=jst+jorendorff, a=blocking. 2011-01-06 22:21:30 -08:00
Chris Leary cba55906d2 Merge mozilla-central into tracemonkey. 2011-01-04 10:51:14 -08:00
Doug Turner 3678f82a54 Bug 619182 - Convert moz_indexedDB to mozIndexedDB. Tests. r=sicking a=blocking2.0 2011-01-03 12:03:06 -08:00
Ben Turner 6835981036 Add tests for private browsing in indexedDB, no bug. a=tests. 2010-12-30 10:04:24 -08:00
Chris Leary b83b3feb7f Merge mozilla-central to tracemonkey. 2010-12-29 19:25:04 -05:00
Serge Gautherie 9c8cc5e239 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 31cc98ee22 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 85219a3a02 Backing out worker changes, a=backout. 2010-12-21 16:44:49 -05:00
Ben Turner a7ff51c2c7 Bug 618484 - 'Allow ChromeWorkers access to XPCOM objects'. r=jst, a=blocking. 2010-12-21 14:28:08 -05:00
Ben Turner 06b9c71a4a Bug 613083 - 'IndexedDB: Switch serialization format from JSON to structured clone bytestream'. r=sicking, a=blocking. 2010-12-21 11:02:04 -05:00
Ben Turner d2d1140ec3 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 fa5292bd5c Bug 618616 - 'IndexedDB: Make IDBObjectStore.get() accept a key range'. r=sicking, a=blocking. 2010-12-15 13:21:20 -08:00
Ben Turner 4ce4104e17 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 94c153d868 Bug 618717 - 'IndexedDB: Fix error codes to match spec changes'. r=sicking, a=blocking. 2010-12-15 13:21:14 -08:00
Ben Turner 97c1f285c2 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 22d87f1a86 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 71fe61850b 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 df30ba20da Bug 618606 - 'IndexedDB: keyPath parameter for createObjectStore should be optional'. r=sicking, a=blocking. 2010-12-15 13:21:04 -08:00
Ben Turner 65d3922d64 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 b17dc24412 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 f1386fb91c 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
Luke Wagner 56b2810a26 Bug 609440, part 3 - remove fallible public APIs, update mozilla (r=bent,jst,mrbkap,waldo,sdwilsh) 2010-12-03 00:24:17 -08:00
Jonas Sicking 5ec63c5bb2 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 4d60f6bfd2 backout d25bfdc458cf a=bustage 2010-11-23 21:16:23 -08:00
Jonas Sicking c88ced1105 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 50483cd601 Bug 615269 - 'IndexedDB: Cursors should not copy all results before iterating'. r=sicking, a=blocking+. 2010-12-09 18:15:00 -08:00
Ben Turner 97349c8f41 Bug 608195 - 'IndexedDB: Expose more breadcrumbs on IDB objects'. r=sicking, a=blocking+. 2010-12-09 18:14:09 -08:00
Ben Turner 72ea70e7b6 Bug 612807 - 'IndexedDB: Transaction thread observer isn't quite safe'. r=jst, a=blocking+. 2010-11-18 14:19:19 -08:00
Ben Turner 488481b966 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 8f4b6434fa Bug 607729 - Reenable test, a=testfix 2010-11-11 10:57:07 -08:00
Ben Turner 817d80532b Bug 607729 - disable test, a=orange 2010-11-10 20:11:40 -08:00
Ben Turner 7e96e27cb1 Bug 607729 - fix test, a=orange 2010-11-10 17:49:07 -08:00
Ben Turner 5583c79faf 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 d891e8880c Bug 607122 - 'IndexedDB: IDBKeyRange cleanup'. r=sicking, a=blocking+ 2010-11-10 15:26:00 -08:00
Ben Turner 6f6dc4e252 Bug 607040 - 'IndexedDB: Rename all 'Remove...' functions to 'Delete...''. rs=sicking, a=blocking+ 2010-11-10 15:25:57 -08:00
Ben Turner 8b9218d2dc Bug 606703 - 'IndexedDB: Remove preloaded cursors'. r=sicking, a=blocking+ 2010-11-10 15:25:53 -08:00
Ben Turner 07e148225c Bug 606701 - 'IndexedDB: Make IDBErrorEvent have readonly attributes'. r=sicking, a=blocking+ 2010-11-10 15:25:51 -08:00
Ben Turner c713335336 Bug 606700 - 'IndexedDB: Remove IDBDatabase.description'. r=sicking, a=blocking+ 2010-11-10 15:25:48 -08:00
Ben Turner b682a58ad1 Bug 601774 - 'IndexedDB: Audit exceptions thrown from indexedDB methods'. r=sicking, a=blocking+ 2010-11-10 15:25:44 -08:00
Ben Turner 7b5bf0c0c7 Bug 606281 - 'IndexedDB: Don't return different objects representing the same object stores and indexes'. r=sicking, a=blocking+ 2010-11-10 15:25:40 -08:00
Ben Turner 87619027fa Test fix needs a=testfix 2010-10-19 18:32:05 -07:00
Ben Turner eadd6c352f Bug 603811 - 'IndexedDB: Implement setVersion changes to the spec'. Fix browrandom orange, r=sicking, a=testfix. 2010-10-19 17:46:37 -07:00
Ben Turner f623aa8ab0 Bug 603811 - 'IndexedDB: Implement setVersion changes to the spec'. Fix browser-chrome test, a=testfix. 2010-10-19 12:14:30 -07:00
Ben Turner 027592ef2a Bug 603811 - 'IndexedDB: Implement setVersion changes to the spec'. r=sicking, a=blocking2.0-betaN+ 2010-10-19 10:58:52 -07:00
Ben Turner 93e25b0573 Bug 598108 - 'IndexedDB: Remove IDBDatabase.objectStore()'. r=sicking 2010-10-19 10:58:49 -07:00
Ben Turner 88b443f419 Bug 584319 - 'IndexedDB: Out of Memory error and crash when calling moz_indexedDB.open a lot'. r=sicking 2010-10-19 10:58:42 -07:00
Ben Turner e8315ce8b9 Bug 596776 - 'IndexedDB: Prevent quota prompt from hanging on shutdown'. r=sicking. 2010-10-19 10:58:39 -07:00
Ben Turner 53e5ee9ab3 Bug 596377 - 'IndexedDB: Move usage and clearing IO off the main thread'. r=sicking. 2010-10-19 10:58:33 -07:00
Blake Kaplan 312e4e1e90 Merge mozilla-central into tracemonkey 2010-10-13 17:54:54 -07:00
Jonas Sicking 1dee38609c Bug 575946: Implement File.slice. r=khuey sr=biesi a=beltzner 2010-10-13 16:25:33 -07:00
Ben Turner 1bea2a0e1e Bug 580128 - Make IndexedDB work with compartments. r=jst 2010-10-10 15:35:42 -07:00
Justin Wood 6eff8f1cbd Bug 600364 - [seamonkey] mochi-browser failures due to indexedDB issues: browser_permissionsPromptAllow.js and others. r=khuey a=tests 2010-10-07 16:23:19 +02:00
Joel Maher c5435ea8f3 Bug 597056. Firefox browser-chrome tests are ending up in Fennec. ifdef them away for mobile builds. r=mfinkle. a=sayrer 2010-09-29 14:21:09 -04:00
Peter Van der Beken df9b07548e Bug 592352 - 'Assertbotch on shutdown after IDB solo mochitest -- leaked contexts?'. r=bent. 2010-09-13 15:32:56 -07:00
David Mandelin 0213339141 Backed out changeset 834e5fb759c2 -- appears to be causing leaks on mochitest-browser-chrome 2010-09-13 18:34:11 -07:00
Peter Van der Beken 511524fbed Bug 592352 - 'Assertbotch on shutdown after IDB solo mochitest -- leaked contexts?'. r=bent. 2010-09-13 15:32:56 -07:00
Ben Turner c9978327b5 Bug 594583 - 'IndexedDB: Add some UI to clear IndexedDB databases'. r=sicking+gavin. a=beta6blocking. 2010-09-10 12:12:11 -07:00
Ben Turner a10bd5f22b Bug 592801. a=crashfix 2010-09-09 21:54:25 -07:00
Ben Turner a66adcb5f5 Bug 591516 - 'IndexedDB: Add some UI to prompt for IndexedDB permissions'. Tests. 2010-09-09 15:15:44 -07:00
Ben Turner b88dc31fa2 Bug 591516 - 'IndexedDB: Add some UI to prompt for IndexedDB permissions'. r=sicking+gavin. 2010-09-09 15:15:40 -07:00
Ben Turner 5158899107 Bug 592801 - 'IndexedDB: IDBRequest rework, make everything an event target'. r=sicking. 2010-09-09 15:15:38 -07:00
Ben Turner 4e765058fe Bug 589355 - 'IndexedDB: Add IDBObjectStore::Clear'. r=sicking 2010-08-26 13:57:30 -07:00
Ben Turner d004d346ff Bug 589334 - 'IndexedDB: Get rid of IDBObjectStore::Modify, rename IDBObjectStore::AddOrModify to Put'. r=sicking 2010-08-26 13:57:28 -07:00
Ben Turner f267817a9c Bug 579882 - 'IndexedDB: Investigate/review IndexedDB event handling'. r=smaug+sicking. 2010-08-26 13:57:25 -07:00
Ben Turner a792ef3719 Remove unused stack class, rs=jst. 2010-08-04 14:44:33 -07:00
Ben Turner c4e797706b Bug 577704 - 'IndexedDB: OpenObjectCursor broken for autoIncremented indexes'. r=sdwilsh 2010-08-04 14:44:30 -07:00
Ben Turner e5a07dae46 Bug 583923 - 'IndexedDB: Don't fire events if there are no listeners for it'. r=sicking. 2010-08-04 14:44:28 -07:00
Ben Turner 20fdbdcaa8 Bug 576406 - 'IndexedDB: Calling AddOrModify inserts duplicates into the database'. r=sdwilsh 2010-08-04 14:44:26 -07:00
Ben Turner f6a17a5418 Bug 574507 - 'IndexedDB: Fix transaction queue logic to prevent starving transactions across multiple objectStores'. r=sicking 2010-07-12 10:05:01 -04:00
Robert Sayre 802a358676 Merge mozilla-central to tracemonkey. 2010-07-30 21:57:41 -07:00
Luke Wagner 7371ad00ed Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Ehsan Akhgari 898b31882c Bug 580875 - Intermittent timeout in dom/indexedDB/test/test_writer_starvation.html, followed by 168504 other errors r=bent 2010-07-21 23:46:48 -04:00
Robert Sayre 9b4b59c837 Merge mozilla-central to tracemonkey.
--HG--
rename : dom/indexedDB/IDBCursorRequest.cpp => dom/indexedDB/IDBCursor.cpp
rename : dom/indexedDB/IDBCursorRequest.h => dom/indexedDB/IDBCursor.h
2010-06-30 11:54:20 -07:00
Robert Sayre 09c9e748a4 Do a trivial rooting change instead of the more involved one I tried after the merge. 2010-06-25 14:54:22 -07:00
Robert Sayre 514faf210c Fix rooting API differences. will get review after the fact, taking care of bustage now. 2010-06-23 19:24:28 -07:00
Ben Turner 4334db65c2 Bug 553413 - 'Implement Asynchronous parts of the Indexed Database API.' p=sdwilsh+bent, r=jst. 2010-06-23 12:46:08 -07:00
Ben Turner d4a7c32a21 Bug 575399 - 'IndexedDB: Remove XPConnect slow paths from some IndexedDB methods'. r=sdwilsh 2010-06-28 15:22:41 -07:00
Shawn Wilsher f871937b41 Bug 574811 - Rename IDBCursorRequest to IDBCursor
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBCursorRequest.cpp => dom/indexedDB/IDBCursor.cpp
rename : dom/indexedDB/IDBCursorRequest.h => dom/indexedDB/IDBCursor.h
2010-06-28 11:51:06 -07:00
Shawn Wilsher 3d5256df47 Bug 574811 - Rename IDBIndexRequest to IDBIndex
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBIndexRequest.cpp => dom/indexedDB/IDBIndex.cpp
rename : dom/indexedDB/IDBIndexRequest.h => dom/indexedDB/IDBIndex.h
2010-06-28 11:51:06 -07:00
Shawn Wilsher c4b3932911 Bug 574811 - Rename IDBObjectStoreRequest to IDBObjectStore
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBObjectStoreRequest.cpp => dom/indexedDB/IDBObjectStore.cpp
rename : dom/indexedDB/IDBObjectStoreRequest.h => dom/indexedDB/IDBObjectStore.h
2010-06-28 11:51:06 -07:00
Shawn Wilsher a2baef3136 Bug 574811 - Rename IDBDatabaseRequest to IDBDatabase
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBDatabaseRequest.cpp => dom/indexedDB/IDBDatabase.cpp
rename : dom/indexedDB/IDBDatabaseRequest.h => dom/indexedDB/IDBDatabase.h
2010-06-28 09:46:49 -07:00
Shawn Wilsher b68638c849 Bug 574811 - Rename IDBTransactionRequest to IDBTransaction
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBTransactionRequest.cpp => dom/indexedDB/IDBTransaction.cpp
rename : dom/indexedDB/IDBTransactionRequest.h => dom/indexedDB/IDBTransaction.h
2010-06-28 09:46:21 -07:00
Shawn Wilsher 3405a47131 Bug 574740 - Rename nsIIndexedDatabaseRequest to nsIIDBFactory
Update interface names per specification.
r=bent

--HG--
rename : dom/indexedDB/IndexedDatabaseRequest.cpp => dom/indexedDB/IDBFactory.cpp
rename : dom/indexedDB/IndexedDatabaseRequest.h => dom/indexedDB/IDBFactory.h
rename : dom/indexedDB/nsIIndexedDatabaseRequest.idl => dom/indexedDB/nsIIDBFactory.idl
2010-06-28 09:44:30 -07:00