Commit Graph

954 Commits

Author SHA1 Message Date
Masayuki Nakano
060287addd Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc 2011-05-25 15:31:59 +09:00
Alon Zakai
b8874744ed Bug 619494 - Make IndexedDB work in IPC Fennec. r=bent,mfinkle 2011-04-29 16:46:20 -07:00
Peter Van der Beken
2f1dbc28dd 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
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
Peter Van der Beken
122342da0b 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
7e2c5ae50d 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
85c4348adc 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
414ac259f6 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
05cbdc2ddd Bug 633414: Update cursor properties to latest spec. r=bent a=jst 2011-02-10 23:47:00 -08:00
Ben Turner
f440d4e09c 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
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
ddbaa55a08 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
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
50d531b122 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
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
Ben Turner
1b6fafb680 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
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
Ben Turner
c926abf576 Bug 618484 - 'Allow ChromeWorkers access to XPCOM objects'. r=jst+jorendorff, a=blocking. 2011-01-06 22:21:30 -08:00
Chris Leary
1d3c0638b7 Merge mozilla-central into tracemonkey. 2011-01-04 10:51:14 -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
Chris Leary
272d457a20 Merge mozilla-central to tracemonkey. 2010-12-29 19:25:04 -05: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
8a02f568a0 Backing out worker changes, a=backout. 2010-12-21 16:44:49 -05:00
Ben Turner
d8739dcb8a Bug 618484 - 'Allow ChromeWorkers access to XPCOM objects'. r=jst, a=blocking. 2010-12-21 14:28:08 -05:00
Ben Turner
bb620ec2bf 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
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
6344037c8a Bug 618717 - 'IndexedDB: Fix error codes to match spec changes'. r=sicking, a=blocking. 2010-12-15 13:21:14 -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
Luke Wagner
2fc61cf52e 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
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
e44932bf78 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
ddffd8ae43 Bug 608195 - 'IndexedDB: Expose more breadcrumbs on IDB objects'. r=sicking, a=blocking+. 2010-12-09 18:14:09 -08:00
Ben Turner
06f05e75ce Bug 612807 - 'IndexedDB: Transaction thread observer isn't quite safe'. r=jst, a=blocking+. 2010-11-18 14:19:19 -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
Ben Turner
526e4c645a Bug 607040 - 'IndexedDB: Rename all 'Remove...' functions to 'Delete...''. rs=sicking, a=blocking+ 2010-11-10 15:25:57 -08:00
Ben Turner
b7dbcc7acd Bug 606703 - 'IndexedDB: Remove preloaded cursors'. r=sicking, a=blocking+ 2010-11-10 15:25:53 -08:00
Ben Turner
c13f283fd0 Bug 606701 - 'IndexedDB: Make IDBErrorEvent have readonly attributes'. r=sicking, a=blocking+ 2010-11-10 15:25:51 -08:00
Ben Turner
3204b48b89 Bug 606700 - 'IndexedDB: Remove IDBDatabase.description'. r=sicking, a=blocking+ 2010-11-10 15:25:48 -08:00
Ben Turner
52bc9dcc50 Bug 601774 - 'IndexedDB: Audit exceptions thrown from indexedDB methods'. r=sicking, a=blocking+ 2010-11-10 15:25:44 -08:00
Ben Turner
0d06e737b7 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
b49af221be Test fix needs a=testfix 2010-10-19 18:32:05 -07:00
Ben Turner
63abb02945 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
1f6b65248d 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
07830b6931 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
18a533e8e1 Bug 598108 - 'IndexedDB: Remove IDBDatabase.objectStore()'. r=sicking 2010-10-19 10:58:49 -07:00
Ben Turner
2e9eb2abd5 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
77e622f0ec Bug 596776 - 'IndexedDB: Prevent quota prompt from hanging on shutdown'. r=sicking. 2010-10-19 10:58:39 -07:00
Ben Turner
9576024ca0 Bug 596377 - 'IndexedDB: Move usage and clearing IO off the main thread'. r=sicking. 2010-10-19 10:58:33 -07:00
Blake Kaplan
29e85b9844 Merge mozilla-central into tracemonkey 2010-10-13 17:54:54 -07:00
Jonas Sicking
e7e13b2084 Bug 575946: Implement File.slice. r=khuey sr=biesi a=beltzner 2010-10-13 16:25:33 -07:00
Ben Turner
b264d08919 Bug 580128 - Make IndexedDB work with compartments. r=jst 2010-10-10 15:35:42 -07:00
Justin Wood
49c7e1c9a8 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
77d017bea1 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
ecf263a596 Bug 592352 - 'Assertbotch on shutdown after IDB solo mochitest -- leaked contexts?'. r=bent. 2010-09-13 15:32:56 -07:00
David Mandelin
87e9ceb9bf 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
250280ac1c Bug 592352 - 'Assertbotch on shutdown after IDB solo mochitest -- leaked contexts?'. r=bent. 2010-09-13 15:32:56 -07:00
Ben Turner
9d64943303 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
21827132d6 Bug 592801. a=crashfix 2010-09-09 21:54:25 -07:00
Ben Turner
c769e22813 Bug 591516 - 'IndexedDB: Add some UI to prompt for IndexedDB permissions'. Tests. 2010-09-09 15:15:44 -07:00
Ben Turner
cf28451779 Bug 591516 - 'IndexedDB: Add some UI to prompt for IndexedDB permissions'. r=sicking+gavin. 2010-09-09 15:15:40 -07:00
Ben Turner
59b3600f55 Bug 592801 - 'IndexedDB: IDBRequest rework, make everything an event target'. r=sicking. 2010-09-09 15:15:38 -07:00
Ben Turner
8cb3801142 Bug 589355 - 'IndexedDB: Add IDBObjectStore::Clear'. r=sicking 2010-08-26 13:57:30 -07:00
Ben Turner
268051d320 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
5c5c6402b3 Bug 579882 - 'IndexedDB: Investigate/review IndexedDB event handling'. r=smaug+sicking. 2010-08-26 13:57:25 -07:00
Ben Turner
9848cc7be0 Remove unused stack class, rs=jst. 2010-08-04 14:44:33 -07:00
Ben Turner
b49ee09c3f Bug 577704 - 'IndexedDB: OpenObjectCursor broken for autoIncremented indexes'. r=sdwilsh 2010-08-04 14:44:30 -07:00
Ben Turner
c449d1e403 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
182f339089 Bug 576406 - 'IndexedDB: Calling AddOrModify inserts duplicates into the database'. r=sdwilsh 2010-08-04 14:44:26 -07:00
Ben Turner
399e6e68bb 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
073bde8d2b Merge mozilla-central to tracemonkey. 2010-07-30 21:57:41 -07:00
Luke Wagner
99411cc93d Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Ehsan Akhgari
88d537e86d 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
27b5a3b6fb 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
c60f030694 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
69c48821c5 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
a283994c5f 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
1d8ac7be25 Bug 575399 - 'IndexedDB: Remove XPConnect slow paths from some IndexedDB methods'. r=sdwilsh 2010-06-28 15:22:41 -07:00
Shawn Wilsher
57685bdd35 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
aff7e85a3b 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
ad8dc5eaf7 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
1dd26b5f02 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
7efa6fa6f7 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
8f3f92a5f4 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