Commit Graph

415 Commits

Author SHA1 Message Date
Ryan VanderMeulen
eb3c84caee 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
0fd2fd7362 Backout a8bfe5a447e7 for creating more orange than it fixed. 2012-06-30 21:51:09 -04:00
Jonas Sicking
ec0cce57a8 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
a221e9eebb 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
ada443da57 Bug 726378: Unprefix IndexedDB. r=sicking 2012-06-29 09:48:35 -07:00
Jonas Sicking
027bdc0528 Bug 755514: Cursor.update support for keypath arrays. r=khuey 2012-06-29 09:48:34 -07:00
Kyle Huey
4eb6d0f6d4 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
c0b8b36893 Bug 769537: Actually use QuotaExceededError for database creation. r=bent 2012-06-29 09:48:34 -07:00
Kyle Huey
cb9671068e Bug 758497: Mimic [EnforceRange] for cursor.advance until we get new WebIDL bindings. r=sicking 2012-06-29 09:48:34 -07:00
Kyle Huey
0dc01d3feb 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
ad7ba9712c Bug 755511: Revert all in-memory data when reverting versionchange transactions. r=sicking 2012-06-29 09:48:34 -07:00
Kyle Huey
e6331f8e70 Bug 755507: Sort objectStoreNames/indexNames. r=sicking 2012-06-29 09:48:34 -07:00
Kyle Huey
fcdde1b6b8 Bug 755515: Catch exceptions in error handlers. r=sicking 2012-06-29 09:48:34 -07:00
Bobby Holley
446f38447d Bug 754202 - Use the safe JSContext rather than the current JSContext in IndexedDBDatabaseParent::HandleDatabaseEvent. r=bent
It's not used for anything substantial, and it can be (or always is?) called with no JS on the stack.
2012-06-28 23:47:56 +02:00
Jan Varga
6565546c36 Bug 767193 - FileHandles do not get GCed/removed when overwritten in indexeddb. r=bent 2012-06-27 05:14:53 +02:00
Kyle Huey
ce05d78426 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
3eb633f947 Bug 767999: Actually use QuotaExceededErr. r=bent 2012-06-25 12:15:18 -07:00
Kyle Huey
67ae468771 Bug 748630: Support IDBTransaction.error. r=bent 2012-06-25 12:15:17 -07:00
Ryan VanderMeulen
08032b903a Merge m-c to inbound. 2012-06-24 22:59:07 -04:00
Landry Breuil
485f6178f4 Bug 765834 - remove extra UTF BOM that breaks builds r=khuey 2012-06-24 15:29:47 +02:00
Kyle Huey
f317da7a9b Bug 766462: Twiddle IDB tests some more to make the orange stop. 2012-06-24 11:56:56 -07:00
Kyle Huey
ce36a304ec Bug 766462: Followup to fix typo. 2012-06-23 08:00:06 -07:00
Kyle Huey
ba21044bbc Bug 766462: Make some tests wait for all their events. r=me 2012-06-23 07:02:52 -07:00
Ms2ger
d9ec3587ea Merge m-c to m-i. 2012-06-23 10:03:22 +02:00
Kyle Huey
8d342e5aca Merge m-c to b-s. 2012-06-22 14:27:07 -07:00
Kyle Huey
5cd06604ad Bug 767186: Cache the keyPath for objectStores and indexes. r=bent 2012-06-22 14:00:53 -07:00
Kyle Huey
7a17628fc2 Bug 767184: Make test_complex_keyPath run in xpcshell too. r=bent 2012-06-22 12:08:50 -07:00
Kyle Huey
73b4c531b6 Bug 767493: Make AsyncUsageRunnable participate in the WaitForOpenAllowed synchronization mechanism. r=bent 2012-06-22 11:47:05 -07:00
Kyle Huey
66107757ab Bug 765834: Followup to placate gcc. 2012-06-21 19:26:57 -07:00
Kyle Huey
d0a8b8c3ae Bug 765834: Rework and unify keyPath handling. r=bent 2012-06-21 15:27:13 -07:00
Kyle Huey
859f15fea3 Backed out changeset fdf2d378d405 (landed with wrong bug #). 2012-06-21 15:27:03 -07:00
Kyle Huey
c890bb2adf Bug 765834: Rework and unify keyPath handling. r=bent 2012-06-21 13:41:20 -07:00
Luke Wagner
026cc7a4de Bug 755186 - s/JS_NewCompartmentAndGlobalObject/JS_NewGlobalObject/ (r=jorendorff)
--HG--
extra : rebase_source : f1ead9226915f72473a01db0a1019cdbe50c8e92
2012-06-20 08:57:29 -07:00
Ben Turner
a1fcfc3b9b 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
Masatoshi Kimura
5664ae8e7a Bug 764916 - Replace nsDOMClassInfo::ThrowJSException with xpc::Throw. r=mrbkap 2012-06-19 19:01:10 -04:00
Gregor Wagner
c7221b4636 Bug 742626 - Allow indexedDB parent directory to not be the default profile directory. r=bent 2012-06-21 09:39:12 -07:00
Ryan VanderMeulen
3182e2b89e Merge m-c to inbound. 2012-06-18 20:59:17 -04:00
Jan Varga
734d413684 Bug 763388 - Remove enablePrivilege calls from IndexedDB and FileHandle tests. r=bent 2012-06-18 19:09:26 +02:00
David Zbarsky
11d5f7c5ec Bug 765362: Remove some unused functions in IDB r=bent 2012-06-18 12:48:15 -07:00
David Zbarsky
5ac544c12e Bug 764705 - Unused variables in IndexedDBParent.cpp r=bent 2012-06-14 14:08:12 -07:00
Honza Bambas
fc7084f564 Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00
Ben Turner
160db69b19 Bug 664029 - 'Make indexeddb mochitests run in fennec'. r=khuey. 2012-06-11 14:59:27 -07:00
Ryan VanderMeulen
0798422bbf Merge m-c to inbound 2012-06-10 17:59:00 -04:00
Olli Pettay
e160cfea86 Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
Andrew McCreight
aa90a88409 Bug 754478 - clean up cycle collector JS tracing callbacks. r=bent 2012-05-15 09:56:39 -07:00
Ms2ger
5125f65a1c Bug 761635 - Fix build in MSVC 8; r=khuey 2012-06-10 19:19:12 +02:00
Kyle Huey
ee8d07ffb2 Bug 759970: Result when reaching the end of a cursor should be null. r=sicking 2012-06-07 13:59:51 -07:00
Kyle Huey
ccce1bbca3 Bug 755767: Shut down IndexedDB at profile-before-change. r=bent 2012-06-07 10:44:17 -07:00
Ben Turner
1eaa000915 Bug 762203 - 'Potential crash in IDBObjectStore::UpdateIndexes'. r=khuey. 2012-06-06 14:02:03 -07:00
Geoff Lankow
5cefea8480 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Landry Breuil
70dd8fd4e2 Bug 761136 - fix uses of uint64_t vs PRUint64 after bug 666693. r=bent 2012-06-04 17:01:51 +02:00
Jan Varga
513c660911 Bug 726593 - Implement FileHandle. r=bent 2012-06-03 18:33:52 +02:00
Ben Turner
3fdf917cd6 Bug 666693 - 'Remote IndexedDB for multiple IndexedDB-using processes'. r=cjones+sicking. 2012-06-01 10:21:12 -07:00
Kyle Huey
3ab011f0e6 Back out Bug 754142. 2012-05-28 00:53:57 -07:00
Kyle Huey
6aade7d74c Merge m-c to b-s. 2012-05-27 22:31:06 -07:00
Kyle Huey
e0df93066c Bug 754142: Don't install quota handlers on chrome databases. r=bent 2012-05-27 22:30:34 -07:00
Kyle Huey
a9355b4cff 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
6279cf8dc5 Bug 755508: Do not allow the use of NaN dates as keys. r=sicking 2012-05-25 11:52:19 -07:00
Kyle Huey
1b351a2f3b Bug 757222: deleteDatabase should fire a versionchange event with newVersion === null. r=sicking 2012-05-25 11:48:27 -07:00
Kyle Huey
16177d934c Bug 755509: Test explicity for request.result === undefined with deleteDatabase. r=sicking 2012-05-21 10:12:16 -07:00
Kyle Huey
d2abe48a19 Bug 755509: Run deleteDatabase test in Window and component scopes. r=sicking 2012-05-21 10:11:27 -07:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Josh Matthews
f0ba4d0fbd Bug 722857 - Basic sanity test for before/after private browsing DOM storage implementation. r=honzab 2012-05-26 09:38:06 +01:00
Josh Matthews
bf85084d66 Bug 722857 - Determine private browsing status for DOMStorage from owning docshell if available, and receive updates if its privacy status changes. r=mayhemer 2012-05-26 09:37:58 +01:00
Ed Morley
5f261f49bb Backout 70cde80fa095 & 5a903d496ab0 (bug 722857) for crashes in 646184.html 2012-05-25 12:51:32 +01:00
Josh Matthews
947e8cb920 Bug 722857 - Basic sanity test for before/after private browsing DOM storage implementation. r=honzab 2012-05-25 12:20:58 +01:00
Josh Matthews
b8424948c9 Bug 722857 - Determine private browsing status for DOMStorage from owning docshell if available, and receive updates if its privacy status changes. r=mayhemer 2012-05-25 12:20:31 +01:00
Benjamin Smedberg
eaa4878487 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Masatoshi Kimura
f809aee2a1 Bug 752402 - Support ArrayBufferView as a member of blobParts parameter. r=sicking 2012-05-17 17:53:44 -04:00
Kyle Huey
32b77ac8c5 Back out bug 754142 due to bustage. 2012-05-16 15:21:58 -07:00
Kyle Huey
0ceb106711 Fix magical text that appeared. r=me No Bug 2012-05-16 15:12:11 -07:00
Ben Turner
44a6e9eb0b Bug 747247: Fix assertions about null owners. r=khuey 2012-05-16 15:08:18 -07:00
Kyle Huey
929cffd17f Bug 754142: Don't install quota handlers on chrome databases. r=bent 2012-05-16 15:08:18 -07:00
Jeff Muizelaar
a99aac410d Bug 755172. Add MOZ_FINAL to a bunch of idb classes. r=khuey 2012-05-15 00:50:29 -04:00
Kyle Huey
25e5317a3b Bug 726376: Prevent infinite recursion in indexedDB::cmp. r=sicking 2012-05-11 10:47:27 -07:00
Ben Turner
dc5ce5cefa Bug 672667 - ' IndexedDB demo causes leaks and never-ending assertions'. r=bsmedberg+smichaud+khuey. 2012-04-06 13:40:10 -07:00
Ms2ger
a147767a14 Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley 2012-05-05 11:00:05 +02:00
Ben Turner
e8e0f22c6e Bug 747581. r=khuey. 2012-04-30 16:52:27 -07:00
Phil Ringnalda
3ea4cf1424 Back out 28cfc474ab58 (bug 742626) for xpcshell bustage 2012-04-30 11:38:09 -07:00
Fabrice Desré
993fcccb96 Bug 742626 - Allow indexedDB parent directory to not be the default profile directory [r=bent] 2012-04-30 10:27:57 -07:00
Masatoshi Kimura
473d12ee2a Bug 745498 - Add testcases for DOM4 exception types. r=sicking 2012-04-26 09:42:26 -07:00
Ms2ger
77ca860259 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger
5a2d0a8476 Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley 2012-04-14 15:05:01 +02:00
Jeff Walden
e868abd4e1 Bug 714260 - Implement FloatingPoint.h to consolidate all IEEE-754 floating point operations in a single location. r=dmandelin for the js bits, r=Ms2ger for mfbt and the core bits 2012-01-23 03:43:16 -08:00
Masatoshi Kimura
1ce6cdf75f Bug 730161 - Tests fix. r=sicking 2012-04-11 17:55:22 -04:00
Masatoshi Kimura
7706cbe7a8 Bug 730161 - Replace IDBDatabaseException and FileException with DOMException. r=sicking 2012-04-11 17:55:21 -04:00
Masatoshi Kimura
cdcec97b74 Bug 730161 - Implement IDBRequest.error. r=sicking 2012-04-11 17:55:21 -04:00
Masatoshi Kimura
3b350aa214 Bug 743451 - Workaround for ISO date parsing bug. r=bent 2012-04-09 18:43:47 -04:00
Kyle Huey
34b94a5666 Merge the last good pgo-green cset on mozilla-inbound to mozilla-central. 2012-03-28 07:40:52 -07:00
Igor Bukanov
45a458920c bug 736978 - remove JS_FinalizeStub. r=:billm
Currently the GC finalizes on the background thread only objects with null
JSClass::finalize. However, this implies that any object that uses
JS_FinalizeStub for the finalizer would be prevented from the background
finalization.

To fix this the patch removes JS_FinalizeStub replacing it with NULL in all
cases when the class has no custom finalizer. For style consistency the patch
also removed the usage of JSCLASS_NO_OPTIONAL_MEMBERS in the static
declarations as the compiler fills the missing fields with null in any cases.
2012-03-19 15:27:58 +01:00
Masatoshi Kimura
d5f85c93cb 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
90ffd8fd2f Bug 735357: Fix Contacts API to use new IndexedDB constants. r=gwagner 2012-03-13 13:25:05 -07:00
Marco Bonardo
720c67a69d Merge last green PGO from inbound to central 2012-03-13 11:17:21 +01:00
Masatoshi Kimura
c1d1c7ca5d Bug 721569 - Support default values for Web IDL dictionaries. r=khuey CLOBBER BUILD 2012-03-12 21:44:48 -07:00
Jonas Sicking
a2be3ad884 Bug 735094: Implement new string values (rather than numeric constants) for IndexedDB. r=bent 2012-03-12 21:44:45 -07:00
Olli Pettay
b063392a27 Bug 734057 - Make nsDOMEventTargetHelper to not have strong pointer to window, r=jst,bent 2012-03-13 02:56:07 +02:00
Justin Lebar
1fc1dc1879 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
David Mandelin
0822e24e67 Bug 733260 followup: use uint32_t for array and string lengths, r=luke
--HG--
extra : rebase_source : 1729b4b927fde0678872b9de62a7466381aa07c3
2012-03-06 15:52:55 -08:00
David Mandelin
fb07fe8847 Bug 733260: remove typedef jsuint, r=luke
--HG--
extra : rebase_source : e8f576e1b5b189b47807c613c0cff79f5c8038e7
2012-03-05 18:43:45 -08:00
Ed Morley
3c657080b5 Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions 2012-03-05 15:22:28 +00:00