Commit Graph

176 Commits

Author SHA1 Message Date
Jeff Walden
1ae34fd49a Bug 676738 - Change the index argument to JS_SetElement from jsint to uint32. r=dmandelin 2011-08-04 19:39:13 -07:00
Justin Lebar
8e5777e1a0 Bug 646641 - Part 1: Create nsSHEntryShared, so SHEntries from the same document can share state. r=smaug
--HG--
extra : rebase_source : 67c37d16f9ac4cbd69f7a76ee94e47c8adf59ae3
2011-08-06 11:44:02 -04:00
Ed Morley
4ee1e89b9f Bug 669810 - IndexedDB: IDBDatabase has an unused field mOnBlockedListener; r=bent 2011-08-06 16:59:38 +02:00
Justin Lebar
f12a40a987 Backing out cfea4859f458, 883e581e0849 due to permaorange on moth opt. 2011-08-02 13:23:11 -04:00
Justin Lebar
a895a1311d Bug 646641 - Part 1: SHEntries for the same document should share bfcache state. r=smaug 2011-05-09 17:59:49 -04:00
Luke Wagner
ecb709e7c9 Bug 673473 - Remove off-main-thread JSRuntime use in GetKeyPathValueFromStructuredData (r=bent)
--HG--
extra : rebase_source : 8148e64815ed0471c827cf5abbd6131f6a88bb52
2011-07-25 15:41:50 -07:00
Marco Bonardo
0e1497721b Backout changeset e931fb581aee (Bug 673473) due to trace malloc regression on OSX. 2011-08-01 10:45:41 +02:00
Luke Wagner
79edc22eab Bug 673473 - Remove off-main-thread JSRuntime use in GetKeyPathValueFromStructuredData (r=bent)
--HG--
extra : rebase_source : 097008c1c6d67f51d08bcf5364683c5cd1b00a8d
2011-07-25 15:41:50 -07:00
Luke Wagner
1f831c5948 Bug 668915 - JSAutoStructuredCloneBuffer shouldn't require a 'cx' (r=bent,jorendorff)
--HG--
extra : rebase_source : f2fe9ab1e25188223f75e8d2ddcbdf977e62782b
2011-07-12 10:42:24 -07:00
Luke Wagner
640dd6a5c2 Backout 2e0fea2cbd9b for windows linker lameness 2011-07-28 14:35:38 -07:00
Luke Wagner
c0bacd6aa9 Bug 668915 - JSAutoStructuredCloneBuffer shouldn't require a 'cx' (r=bent,jorendorff) 2011-07-12 10:42:24 -07:00
Kyle Huey
03b4749f50 Bug 667652: Make the off-main-thread structured clone modification less hacky. r=bent. 2011-06-29 12:09:20 -07:00
Ben Turner
02f459f359 Bug 665579: Merge nsIThreadInternal and nsIThreadInternal2. r=bsmedberg 2011-06-24 14:12:54 -07:00
Kyle Huey
b908447ca8 Bug 663479: Move all IDB structured clone operations to the main thread. r=bent 2011-06-24 07:21:21 -07:00
Marco Bonardo
acc6a474c6 Revert to changeset a87ee7550f6a due to incomplete backout 2011-06-24 17:23:04 +02:00
Kyle Huey
cb9b5a078f Bug 663479: Move all IDB structured clone operations to the main thread. r=bent 2011-06-24 07:21:21 -07:00
Jonas Sicking
e3f6b769a1 Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug 2011-06-23 19:18:00 -07:00
Kyle Huey
c9e242750a Bug 663483: IDB IDL includes jsapi.h when it wants jspubtd.h. r=bent 2011-06-11 12:22:21 -07:00
Peter Van der Beken
cede8382a6 Fix for bug 658637 (Traverse/unlink IDBRequest::mTransaction). r=sicking.
--HG--
extra : rebase_source : 10d2943be60d04dfd0e9138fb5f60d482dd87ad9
2011-05-25 10:46:51 +02:00
Kyle Huey
5e38617c17 Bug 662930: Consolidate IDB structured clone serializations/deserializations. r=bent 2011-06-08 19:21:53 -07:00
Dominic Fandrey
0ab2f46136 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Masayuki Nakano
85c451e309 Bug 660121 Remove all pref related methods from nsContentUtils r=roc 2011-05-29 08:42:57 +09:00
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