Kyle Huey
5f75ce7335
Bug 781700: Revert test changes.
2012-08-10 15:57:59 -07:00
Kyle Huey
d6ed5b18de
Bug 781700: Disable failing test in xpcshell.
2012-08-10 11:04:16 -07:00
Kyle Huey
018dc47367
Bug 781700: Don't hold strong references to databases from the synchronization queue, so that GCing a database will unblock waiting operations. r=bent
...
--HG--
extra : rebase_source : 2f1b2405ffc91831d33eb91e4b2d61c2b1ac872b
2012-08-10 09:15:02 -07:00
Aryeh Gregor
982100775b
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Kyle Huey
00e79dfadf
Bug 775206. r=bent
2012-08-09 18:06:21 -07:00
Ed Morley
36e594f3ce
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-08-08 17:18:26 +01:00
Johnny Stenback
8bb3a5943a
Backing out 77e5cdc7af9a due to it landing w/o following our code checkin process.
2012-08-07 09:11:04 -07:00
Ms2ger
c861fd0028
Bug 743573 - Fix a number of build warnings in dom/; r=mounir
2012-08-07 09:06:29 +02:00
Ms2ger
004e85239d
Bug 770046 - Disable test.
2012-07-16 18:15:36 +02:00
Ms2ger
cb4d106015
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Mike Hommey
c1b35e7b2a
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ed Morley
4eb11bee72
Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE
2012-08-04 18:05:15 +01:00
Ms2ger
b927c10310
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Ben Turner
98a57bfb9c
Bug 778968 - 'Avoid stat-ing remote blobs on the main thread'. r=janv.
...
--HG--
extra : transplant_source : %90%87%047%07BA%97%E0%F1n%1DY%08D%7C%E39%20%0F
2012-08-02 23:25:30 -07:00
Ben Turner
f8dee3f4cb
Backed out changeset 46653198caac
2012-08-02 21:53:03 -07:00
Ben Turner
b77c1c5db1
Bug 778968 - 'Avoid stat-ing remote blobs on the main thread'. r=janv.
2012-08-02 13:42:30 -07:00
Ben Turner
1ef4c0de5b
Bug 759427 - 'Multiprocess blob support for MessageManager and IndexedDB'. r=smaug+janv+khuey (rs=sicking for nsBlobURI changes).
...
--HG--
extra : transplant_source : %95%B5y%11%C5%AB%D9%CF%FF%7C%5E%BB%E5%DA%F5j%83o%29%EB
2012-08-01 23:02:29 -07:00
Eric Faust
6d4e293e26
Bug 752223 - Implement JS_NumberValue(), replacing JS_NewNumberValue(). (r=luke)
2012-08-01 17:59:47 -07:00
Jan Varga
8ddf4945c0
Bug 780625 - Followup fix for "Don't install quota handlers on chrome databases". r=bent
2012-08-08 06:35:48 +02:00
Kyle Huey
e55940e70c
Bug 779638: Delay dropping the transaction until later to avoid races. r=bent
2012-08-01 14:15:12 -07:00
Kyle Huey
d9f7b8ce1d
Bug 754142: Don't install quota handlers on chrome databases. r=bent
2012-08-01 14:09:23 -07:00
Aryeh Gregor
2e7996f8d1
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Aryeh Gregor
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Siddharth Agarwal
f98cae0130
Bustage fix from bug 769908 - remove trailing whitespace after a backslash
2012-07-24 18:58:51 +05:30
Sean DuBois
9010529313
Bug 769908 - Switch DIR_INSTALL to INSTALL. r=ted
2012-07-23 20:02:20 -04:00
Mounir Lamouri
d890fdb95e
Bug 775817 - Update [most] tests to use the new permission manager api. r=sicking
2012-07-23 11:08:07 -07:00
Aryeh Gregor
0c8f5adf50
Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan
2012-07-20 14:16:17 +03:00
Ryan VanderMeulen
7ad11464cb
Merge m-c to inbound.
2012-07-20 17:37:53 -04:00
Olli Pettay
c992398490
Bug 765163 - Implement code generator for simple DOM events, r=jst,khuey
2012-07-20 19:42:08 +03:00
Benjamin Peterson
22a7b2002f
Bug 761723 - Save script sources to implement Function.prototype.toString. r=jorendorff,njn,jimb,jst,Ms2ger
...
--HG--
extra : rebase_source : de1b55647780a30f98fe84d29ee3cb4a437a3ece
2012-07-20 20:17:38 +02:00
Dão Gottwald
cea0e2a669
Bug 767133 - Add slide-in animation for arrow panels. r=Enn,Mossop
2012-07-18 16:15:24 +02:00
Kyle Huey
26d0df6160
Back out 353b4785836a which was landed even after the module owner explicitly said not to. r=me
...
--HG--
extra : rebase_source : ff4a63d2c56435d3aa6b0c572067878cfa09378c
2012-07-18 05:59:21 -07:00
Ms2ger
3832cfe5c5
Bug 770046 - Disable test.
2012-07-16 18:15:36 +02:00
Mounir Lamouri
62e6a8a535
Bug 769597 - IndexedDB should use nsIPermissionManager with principals. r=sicking
2012-07-15 18:35:47 -07:00
Ben Turner
6aa9644815
Bug 772700 - 'IndexedDB - OOP from a JS component or JSM doesn't work'. Disable xpcshell tests entirely until I can figure out how to enable them selectively.
2012-07-14 09:13:40 -04:00
Ben Turner
f44ed8784a
Bug 772700 - 'IndexedDB - OOP from a JS component or JSM doesn't work'. r=khuey+mrbkap.
...
--HG--
rename : dom/indexedDB/test/unit/head_idb.js => dom/indexedDB/test/unit/head.js
extra : transplant_source : %5D1%15%CC%90%E0%F5%0D%0B%FDi%0B%B9YA%D4c%24%D42
2012-07-14 07:24:20 -04:00
Ms2ger
f73be635b4
Backout changeset 592bfc94e628 for X orange.
2012-07-14 11:23:52 +02:00
Ben Turner
c82cc8d4e1
Bug 772700 - 'IndexedDB - OOP from a JS component or JSM doesn't work'. r=khuey+mrbkap.
...
--HG--
rename : dom/indexedDB/test/unit/head_idb.js => dom/indexedDB/test/unit/head.js
extra : transplant_source : %217%FC%0D%A3%82%DB%F2DB%F1%5Dc%99%B9%C6j%E1U%A2
2012-07-13 23:05:58 -04:00
David Zbarsky
9f711d9f42
Bug 773128 - Fix some build warnings r=bent
2012-07-13 19:06:41 -07:00
Jan Varga
614d6f18db
Bug 773182 - Remove unused db description parameter from IDB mochitests. r=sicking
2012-07-13 07:37:28 +02:00
Ehsan Akhgari
2cc2a9c45d
Correct the initialization order in the IDBIndex constructor (no bug; DONTBUILD)
2012-07-11 00:25:47 -04:00
Jan Varga
2d731c29c7
Bug 771498 - FileHandle: getFile() should return a DOMRequest (instead of a FileRequest). r=sicking
2012-07-10 07:07:01 +02:00
Nathan Froyd
5b30baa4c3
Bug 370750 - consolidate mochitest files installation; r=glandium
...
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Daniel Holbert
a9d9553ee3
Bug 771638 - Remove unused variables from IDBObjectStore::GetAddInfo. r=khuey
2012-07-06 14:11:44 -07:00
Kyle Huey
d1532c7382
Bug 765936. r=bent,peterv
2012-07-06 10:28:51 -07:00
Ben Turner
b5f82bb601
Bug 758357 - Only show prompt after 50mb of quota was reached. r=sicking
2012-07-05 14:11:48 -07:00
Daniel Holbert
c493338e00
Bug 770287: Reorder IDBIndex constructor init list to fix build warning. r=khuey
2012-07-03 14:09:35 -07:00
Chris Pearce
fabffa3c7f
Bug 758357 - Backout 2d295ed03d7f for causing bug 770085. r=backout
2012-07-02 16:49:38 +12:00
Chris Pearce
407517f068
Bug 758357 - Backout 540cd3aabdd4 for causing bug 770085. r=backout
2012-07-02 16:48:06 +12:00
David Zbarsky
cd3c58ee76
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Ryan VanderMeulen
098ccbfbaa
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
247f0f64fb
Backout a8bfe5a447e7 for creating more orange than it fixed.
2012-06-30 21:51:09 -04:00
Jonas Sicking
aa23d3ac1a
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
31f0ebf555
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
d3b6b42885
Bug 726378: Unprefix IndexedDB. r=sicking
2012-06-29 09:48:35 -07:00
Jonas Sicking
2911b21101
Bug 755514: Cursor.update support for keypath arrays. r=khuey
2012-06-29 09:48:34 -07:00
Kyle Huey
ee34c30679
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
f188d3c9fe
Bug 769537: Actually use QuotaExceededError for database creation. r=bent
2012-06-29 09:48:34 -07:00
Kyle Huey
b2c37d1e48
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
d6b1c5293d
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
e6cbe8e8cd
Bug 755511: Revert all in-memory data when reverting versionchange transactions. r=sicking
2012-06-29 09:48:34 -07:00
Kyle Huey
e7ad7d9314
Bug 755507: Sort objectStoreNames/indexNames. r=sicking
2012-06-29 09:48:34 -07:00
Kyle Huey
7d9c9b0dc3
Bug 755515: Catch exceptions in error handlers. r=sicking
2012-06-29 09:48:34 -07:00
Bobby Holley
984ce48fa6
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
2067d7cff2
Bug 767193 - FileHandles do not get GCed/removed when overwritten in indexeddb. r=bent
2012-06-27 05:14:53 +02:00
Kyle Huey
1e09e75ae2
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
5272f55af5
Bug 767999: Actually use QuotaExceededErr. r=bent
2012-06-25 12:15:18 -07:00
Kyle Huey
c9b8c47650
Bug 748630: Support IDBTransaction.error. r=bent
2012-06-25 12:15:17 -07:00
Ryan VanderMeulen
6bd65d9f86
Merge m-c to inbound.
2012-06-24 22:59:07 -04:00
Landry Breuil
46662a0f60
Bug 765834 - remove extra UTF BOM that breaks builds r=khuey
2012-06-24 15:29:47 +02:00
Kyle Huey
e8daea5e8d
Bug 766462: Twiddle IDB tests some more to make the orange stop.
2012-06-24 11:56:56 -07:00
Kyle Huey
b5e3f9747f
Bug 766462: Followup to fix typo.
2012-06-23 08:00:06 -07:00
Kyle Huey
f95ff896dd
Bug 766462: Make some tests wait for all their events. r=me
2012-06-23 07:02:52 -07:00
Ms2ger
d2336c4ef9
Merge m-c to m-i.
2012-06-23 10:03:22 +02:00
Kyle Huey
ad5cd6156f
Merge m-c to b-s.
2012-06-22 14:27:07 -07:00
Kyle Huey
85468e3834
Bug 767186: Cache the keyPath for objectStores and indexes. r=bent
2012-06-22 14:00:53 -07:00
Kyle Huey
b774759adf
Bug 767184: Make test_complex_keyPath run in xpcshell too. r=bent
2012-06-22 12:08:50 -07:00
Kyle Huey
f7340a9d53
Bug 767493: Make AsyncUsageRunnable participate in the WaitForOpenAllowed synchronization mechanism. r=bent
2012-06-22 11:47:05 -07:00
Kyle Huey
6cebbeb3a8
Bug 765834: Followup to placate gcc.
2012-06-21 19:26:57 -07:00
Kyle Huey
33a29ea230
Bug 765834: Rework and unify keyPath handling. r=bent
2012-06-21 15:27:13 -07:00
Kyle Huey
cad1143970
Backed out changeset fdf2d378d405 (landed with wrong bug #).
2012-06-21 15:27:03 -07:00
Kyle Huey
3e2de2de33
Bug 765834: Rework and unify keyPath handling. r=bent
2012-06-21 13:41:20 -07:00
Luke Wagner
0c274df8bd
Bug 755186 - s/JS_NewCompartmentAndGlobalObject/JS_NewGlobalObject/ (r=jorendorff)
...
--HG--
extra : rebase_source : f1ead9226915f72473a01db0a1019cdbe50c8e92
2012-06-20 08:57:29 -07:00
Ben Turner
bfa7cae37b
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
0a16a56d7f
Bug 764916 - Replace nsDOMClassInfo::ThrowJSException with xpc::Throw. r=mrbkap
2012-06-19 19:01:10 -04:00
Gregor Wagner
07de917b7a
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
c5934032a4
Merge m-c to inbound.
2012-06-18 20:59:17 -04:00
Jan Varga
2dc0f54692
Bug 763388 - Remove enablePrivilege calls from IndexedDB and FileHandle tests. r=bent
2012-06-18 19:09:26 +02:00
David Zbarsky
c4c233ef6c
Bug 765362: Remove some unused functions in IDB r=bent
2012-06-18 12:48:15 -07:00
David Zbarsky
21c0933539
Bug 764705 - Unused variables in IndexedDBParent.cpp r=bent
2012-06-14 14:08:12 -07:00
Honza Bambas
f29e1ac591
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
a1d0c78df3
Bug 664029 - 'Make indexeddb mochitests run in fennec'. r=khuey.
2012-06-11 14:59:27 -07:00
Ryan VanderMeulen
846a6a41bf
Merge m-c to inbound
2012-06-10 17:59:00 -04:00
Olli Pettay
94414ed431
Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst
2012-06-10 21:14:30 +03:00
Andrew McCreight
9152e14841
Bug 754478 - clean up cycle collector JS tracing callbacks. r=bent
2012-05-15 09:56:39 -07:00
Ms2ger
2a25406a16
Bug 761635 - Fix build in MSVC 8; r=khuey
2012-06-10 19:19:12 +02:00
Kyle Huey
2c93120c84
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
c1cce99063
Bug 755767: Shut down IndexedDB at profile-before-change. r=bent
2012-06-07 10:44:17 -07:00
Ben Turner
e5b747a3d0
Bug 762203 - 'Potential crash in IDBObjectStore::UpdateIndexes'. r=khuey.
2012-06-06 14:02:03 -07:00
Geoff Lankow
1214b72681
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Landry Breuil
70c854d344
Bug 761136 - fix uses of uint64_t vs PRUint64 after bug 666693. r=bent
2012-06-04 17:01:51 +02:00
Jan Varga
f5f6531fb7
Bug 726593 - Implement FileHandle. r=bent
2012-06-03 18:33:52 +02:00
Ben Turner
785be4974a
Bug 666693 - 'Remote IndexedDB for multiple IndexedDB-using processes'. r=cjones+sicking.
2012-06-01 10:21:12 -07:00
Kyle Huey
7f8a7b8e88
Back out Bug 754142.
2012-05-28 00:53:57 -07:00
Kyle Huey
bb9cdc1c83
Merge m-c to b-s.
2012-05-27 22:31:06 -07:00
Kyle Huey
7d1504662f
Bug 754142: Don't install quota handlers on chrome databases. r=bent
2012-05-27 22:30:34 -07:00
Kyle Huey
0551dadd96
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
b27b2d8178
Bug 755508: Do not allow the use of NaN dates as keys. r=sicking
2012-05-25 11:52:19 -07:00
Kyle Huey
8ab9ce853c
Bug 757222: deleteDatabase should fire a versionchange event with newVersion === null. r=sicking
2012-05-25 11:48:27 -07:00
Kyle Huey
efa8b12a65
Bug 755509: Test explicity for request.result === undefined with deleteDatabase. r=sicking
2012-05-21 10:12:16 -07:00
Kyle Huey
3a7aa03332
Bug 755509: Run deleteDatabase test in Window and component scopes. r=sicking
2012-05-21 10:11:27 -07:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Josh Matthews
90e80e4474
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
a913bc7bf5
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
f02fdecdaf
Backout 70cde80fa095 & 5a903d496ab0 (bug 722857) for crashes in 646184.html
2012-05-25 12:51:32 +01:00
Josh Matthews
f7cb280ab4
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
21239cef76
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
2187798a40
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
f61723f6fb
Bug 752402 - Support ArrayBufferView as a member of blobParts parameter. r=sicking
2012-05-17 17:53:44 -04:00
Kyle Huey
a66f245de4
Back out bug 754142 due to bustage.
2012-05-16 15:21:58 -07:00
Kyle Huey
7202cb3f67
Fix magical text that appeared. r=me No Bug
2012-05-16 15:12:11 -07:00
Ben Turner
9a9fb53b34
Bug 747247: Fix assertions about null owners. r=khuey
2012-05-16 15:08:18 -07:00
Kyle Huey
ba7194aa4f
Bug 754142: Don't install quota handlers on chrome databases. r=bent
2012-05-16 15:08:18 -07:00
Jeff Muizelaar
fc567b67c2
Bug 755172. Add MOZ_FINAL to a bunch of idb classes. r=khuey
2012-05-15 00:50:29 -04:00
Kyle Huey
74a295727d
Bug 726376: Prevent infinite recursion in indexedDB::cmp. r=sicking
2012-05-11 10:47:27 -07:00
Ben Turner
d4af3d1a48
Bug 672667 - ' IndexedDB demo causes leaks and never-ending assertions'. r=bsmedberg+smichaud+khuey.
2012-04-06 13:40:10 -07:00
Ms2ger
9a5ae693e0
Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley
2012-05-05 11:00:05 +02:00
Ben Turner
274da9e1d0
Bug 747581. r=khuey.
2012-04-30 16:52:27 -07:00
Phil Ringnalda
8ddd6bf9af
Back out 28cfc474ab58 (bug 742626) for xpcshell bustage
2012-04-30 11:38:09 -07:00
Fabrice Desré
dffd8d682c
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
f17f15dabb
Bug 745498 - Add testcases for DOM4 exception types. r=sicking
2012-04-26 09:42:26 -07:00
Ms2ger
b8ae2456b2
Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes.
2012-04-14 17:52:34 +02:00
Ms2ger
9f95d23e65
Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley
2012-04-14 15:05:01 +02:00
Jeff Walden
827586c908
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
1ecb813261
Bug 730161 - Tests fix. r=sicking
2012-04-11 17:55:22 -04:00
Masatoshi Kimura
0cd58c8a6f
Bug 730161 - Replace IDBDatabaseException and FileException with DOMException. r=sicking
2012-04-11 17:55:21 -04:00
Masatoshi Kimura
cbb92d2685
Bug 730161 - Implement IDBRequest.error. r=sicking
2012-04-11 17:55:21 -04:00
Masatoshi Kimura
7e85ab5bc1
Bug 743451 - Workaround for ISO date parsing bug. r=bent
2012-04-09 18:43:47 -04:00
Kyle Huey
f690aa730d
Merge the last good pgo-green cset on mozilla-inbound to mozilla-central.
2012-03-28 07:40:52 -07:00
Igor Bukanov
ed3f5972bd
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
8d714490ee
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
52729f8ff5
Bug 735357: Fix Contacts API to use new IndexedDB constants. r=gwagner
2012-03-13 13:25:05 -07:00
Marco Bonardo
80af6e193a
Merge last green PGO from inbound to central
2012-03-13 11:17:21 +01:00
Masatoshi Kimura
9105b69daf
Bug 721569 - Support default values for Web IDL dictionaries. r=khuey CLOBBER BUILD
2012-03-12 21:44:48 -07:00
Jonas Sicking
a1555941df
Bug 735094: Implement new string values (rather than numeric constants) for IndexedDB. r=bent
2012-03-12 21:44:45 -07:00
Olli Pettay
c58d4cc1b2
Bug 734057 - Make nsDOMEventTargetHelper to not have strong pointer to window, r=jst,bent
2012-03-13 02:56:07 +02:00
Justin Lebar
064e2cf3f9
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
4b287e8788
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
77d336e566
Bug 733260: remove typedef jsuint, r=luke
...
--HG--
extra : rebase_source : e8f576e1b5b189b47807c613c0cff79f5c8038e7
2012-03-05 18:43:45 -08:00
Ed Morley
e63b667897
Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions
2012-03-05 15:22:28 +00:00
Justin Lebar
c07407a766
Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz
2012-03-04 15:58:06 -05:00
Justin Lebar
2449f55f11
Back out bug 729940 (a108aee:d75775d) due to 32-bit red.
2012-03-04 14:20:34 -05:00
Justin Lebar
65b70fabf4
Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz
2012-03-04 13:49:42 -05:00
David Mandelin
60e80d55b6
Bug 730511: remove obsolete typedefs intN, uintN, r=luke
2012-02-28 15:11:11 -08:00
Peter Van der Beken
1ed9310cdc
Fix for bug 731227 (Fix script object ownership in IDBWrapperCache/IDBCursor). r=bent.
...
--HG--
extra : rebase_source : 86074980306682ebe1c4df8e09c4c2f3c51c4bf2
2012-02-27 17:52:19 +01:00
Peter Van der Beken
a431e564da
Fix for bug 731173 (SetVersionHelper should release mOpenRequest). r=bent.
...
--HG--
extra : rebase_source : c247f36421e2e3bdc8d7ebceca440da5653e4f29
2012-02-24 11:31:00 +01:00
David Mandelin
381d879c71
Bug 725550: remove obsolete typedef jsdouble, r=jwalden
2012-02-24 14:19:52 -08:00
Marco Bonardo
22d7a18fa5
Backout 4fc2f49371a8 (bug 725550) for build failures
2012-02-25 00:16:47 +01:00
David Mandelin
5be5dda12e
Bug 725550: remove obsolete typedef jsdouble, r=jwalden
...
--HG--
extra : rebase_source : 772c2982184d7b3d1680737323395365e6b218da
2012-02-24 14:19:52 -08:00
Ed Morley
3d389274ff
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-02-21 11:59:33 +00:00
Ms2ger
2fb7eb8abe
Bug 726961 - Remove unused variable database from IDBIndex::Create; r=khuey
2012-02-21 10:34:01 +01:00
Ben Turner
477a1bcfe9
Bug 728921 - 'IndexedDB: FileManager file enumeration should run within a transaction'. r=sicking.
2012-02-20 10:35:45 -08:00
Kyle Huey
81dc370d56
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
Edmund Wong
e2dc3856a0
Bug 693172 - Moved all subclasses of nsDOMEventTargetWrapperCache to nsDOMEventTargetHelper and then merged the classes. r=smaug
2012-02-08 10:53:33 +08:00
Gabor Krizsanits
659b9567e0
Bug 717190 - IndexedDB test fix: Follow-up of accessing IndexedDB API from chrome; r=sicking
2012-02-06 18:25:30 +00:00
Panagiotis Koutsourakis
583eb38038
Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
...
Files named Makefile.in containing the expression
DIRS += <foo>
or
DIRS = <foo>
inside the conditional expression
ifdef ENABLE_TESTS
...
endif
are changed to
TEST_DIRS += tests
outside any conditional expression.
The files
./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in
contain the string
ifdef ENABLE_TESTS
but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Igor Bukanov
3163d5e91e
bug 723517 - Drop cx argumrent from JS_GetClass(cx, obj). r=luke
2012-02-04 01:54:57 +01:00
Landry Breuil
90621bb925
Bug 722046: Fix build failure on OpenBSD/Gcc 4.2.1 due to extra semicolon. r=Ms2ger
2012-01-28 12:03:35 -08:00
Daniel Holbert
3dd501a196
Bug 720815: Remove extra semicolons after NS_DECL_EVENT_HANDLER() statements. r=bent
2012-01-24 14:01:57 -08:00
Ben Turner
ceef542221
Bug 718132 - IndexedDB: Intermittent Failing to get JS wrapper in IDBRequest::NotifyHelperCompleted. r=khuey.
...
--HG--
extra : transplant_source : kT-%8B%9A%00%D5%230%EC%11%00%1A%B1%A2%1EFSd%2A
2012-01-24 02:03:37 -08:00
Ed Morley
57b735d92d
Backout 8886b027527a (bug 718132) for xpcshell failures
2012-01-23 16:18:14 +00:00
Ben Turner
ad6eb968ce
Bug 718132 - IndexedDB: Intermittent Failing to get JS wrapper in IDBRequest::NotifyHelperCompleted. r=khuey.
...
--HG--
extra : transplant_source : 1j%98%F9%1D%7F%C8%13%8E%9D%B0%05%05%93%D4%60%89%3D%06%19
2012-01-23 06:03:41 -08:00
Ms2ger
799383f927
Bug 677079 - Part f: Expose structuredCloneCallbacks in jsfriendapi.h; r=jorendorff
2012-01-15 09:13:08 +01:00
Ms2ger
074cb0467e
Bug 677079 - Part e: Move js_GetSCOffset to jsfriendapi.h; r=luke
2012-01-15 09:13:08 +01:00
Ms2ger
51011b3e2b
Bug 677079 - Part c: Stop installing jsdate.h; r=Waldo
2012-01-15 09:13:07 +01:00
Ms2ger
7209aafe64
Bug 715206 - Remove XPConnect from IDB's LOCAL_INCLUDES (again); r=bholley
2012-01-11 09:23:07 +01:00
Rafael Ávila de Espíndola
332a89bb51
Bug 715325 - shutdown indexedDB during xpcom-shutdown. r=benjamin.
2012-01-06 12:07:29 -05:00
Jan Varga
55a292491b
Bug 715074 - SIGBUS on unaligned access in Key::EncodeNumber. r=sicking
2012-01-06 10:56:52 +01:00
Kyle Huey
c0ec2bddbd
Bug 715162: Move LazyIdleThread to xpcom/. r=bent
...
--HG--
rename : dom/indexedDB/LazyIdleThread.cpp => xpcom/threads/LazyIdleThread.cpp
rename : dom/indexedDB/LazyIdleThread.h => xpcom/threads/LazyIdleThread.h
2012-01-05 08:42:47 -05:00
Kyle Huey
59ef816fb4
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
d4018edc95
Bug 587797 - Tests. r=khuey
2012-01-04 10:43:33 -05:00
Gabor Krizsanits
abdd47cca0
Bug 587797 - IndexedDB: Make it possible to access IndexedDB APIs from chrome. r=khuey,bent
2012-01-03 10:27:39 -05:00
Ms2ger
1415925d63
Bug 713645 - Remove superfluous inclusions of jscntxt.h; r=luke
2012-01-02 19:05:19 +01:00
Phil Ringnalda
43818b3362
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
Olli Pettay
d1c33f5f79
Bug 710380 - IndexedDB could use the dictionary reader, r=khuey
2011-12-27 20:01:28 +02:00
Ms2ger
8d47d26d10
Bug 711240 - Part b: Expose xpc_qsStringToJsval publicly; r=bholley
2011-12-24 09:27:04 +01:00
Ms2ger
f3e7dc6e3d
Bug 711240 - Part a: Expose BAD_TLS_INDEX in xpcpublic.h; r=bholley
2011-12-24 09:26:34 +01:00
Olli Pettay
c35f7bb3a9
Bug 711841, Null(C)String(), r=bsmedberg,glandium
2011-12-20 21:46:00 +02:00
Jan Varga
3253a69c4f
Bug 711727 - Followup cleanup for files in IndexedDB. r=sicking/bent
2011-12-20 12:23:27 +01:00
Jonas Sicking
67b1faba15
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
235d3c9fa4
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
Ms2ger
0f2210dc1e
No bug - Remove stray semicolons from FILEINFO_SUBCLASS calls, the macro already includes it; rs=jfkthame
2011-12-18 11:14:46 +01:00
Ms2ger
c2e1ea0951
Bug 709977 - Don't use xpc_qsAString in IDB Key.h; r=bent
2011-12-18 11:13:40 +01:00
Nathan Froyd
374a916108
Bug 709205 - use GetObserverService in dom,docshell; r=bz
2011-12-09 14:35:37 -05:00
Jonas Sicking
5bcb4de7dd
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
ed70a01420
Back out fb4d12d2a2da, bug 701772, due to leaks.
2011-12-16 13:09:42 -08:00
Jonas Sicking
3555280633
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
Jeff Walden
0f0192b460
Bug 708735 - Update IDBObjectStore to use the <stdint.h> types for its JSAPI interactions. r=bustage in a CLOSED TREE :-\
2011-12-16 09:42:09 -05:00
Jan Varga
152a98864a
Bug 661877 - Enable storing files in IndexedDB. r=bent
2011-12-16 08:34:24 +01:00
Jonas Sicking
483d6043e6
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
5e59a0043e
Backout e479e03eaa71 (bug 706088) for mochitest-2 permaorange
2011-12-08 13:46:16 +00:00
Jonas Sicking
dcf8e4c27d
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
Mounir Lamouri
094d224262
Bug 707870 - Disconnect mListenerManager in nsDOMEventTargetHelper instead of expecting inheriting classes to do it. r=smaug
2011-12-08 16:31:14 +08:00
Ben Turner
e412e07a3c
Bug 703660 - IndexedDB: Compress structured clone data with Snappy. r=sicking+khuey.
2011-12-07 15:24:20 -08:00
Phil Ringnalda
86e9e43562
Back out 8941e2b7a0bf (bug 703660) for Windows PGO build failures
2011-12-07 08:41:02 -08:00
Ben Turner
c4984bb490
Bug 703660 - IndexedDB: Compress structured clone data with Snappy. r=sicking+khuey.
...
--HG--
extra : transplant_source : 55%9D%86m%D8%18%87J%5C%E1%E3%93P%AF.%B7%D0%8EQ
2011-12-07 00:10:13 -08:00
Kyle Huey
1a688cc3bd
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
329e725402
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
9e527130c3
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
9059d7db0e
Bug 692630: Support multi-entry indexes. r=bent
2011-12-04 09:39:01 -08:00
Jonas Sicking
1f00ad7039
Bug 706659 part 2: Support empty keypaths on objectStores. r=bent
2011-12-04 09:39:01 -08:00
Jonas Sicking
48abe72fd1
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
4cbbe52e73
Bug 704464: Part 2 - Make Database creation hook into the quota system. r=bent
2011-12-03 12:18:38 -05:00
Kyle Huey
803110ae21
Bug 704464: Part 1 - Rework quota handling to use Windows insteead of Databases. r=bent
2011-12-03 12:10:21 -05:00
Jonas Sicking
7404adaebb
Back out patches due to test failures. rev 1b9ca56d4aab and a few more.
2011-12-02 19:46:25 -08:00
Jonas Sicking
e3bb352ad3
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
5d1fc956b0
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
692b293ecf
Bug 692630: Support multi-entry indexes. r=bent
2011-12-02 18:32:46 -08:00
Jonas Sicking
12810c8f66
Bug 706659 part 2: Support empty keypaths on objectStores. r=bent
2011-12-02 18:32:46 -08:00
Jonas Sicking
6b9834ff16
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
8f0a78f44b
Bug 706090: Make sure OpenDatabaseHelper releases atoms on the right thread. r=bent
2011-11-29 13:24:28 -05:00
Kyle Huey
d866e58aa8
Bug 692635: Transaction abort events should bubble. r=sicking
2011-11-23 09:15:15 -05:00
Kyle Huey
6ad6198e46
Bug 702809: Allow creating indexes with empty keyPaths. r=sicking
2011-11-23 09:15:15 -05:00
Ed Morley
50dadc3f45
Backout 7634808d94af (bug 703660) for Linux64 PGO build failures; a=khuey
2011-11-22 11:54:50 +00:00
Ben Turner
417aaa6cdc
Bug 703660 - IndexedDB: Compress structured clone data with Snappy. r=sicking+khuey.
...
--HG--
extra : transplant_source : /%A2p%D8.%08%B3%FC%B3%1E%1B%90e%F3%D1%804.8%8C
2011-11-21 20:18:29 -08:00
Ben Turner
a10f4257c5
Bug 702889 - IndexedDB: Change SQL schema and some cursor queries for faster performance. r=sicking.
...
--HG--
extra : transplant_source : %14T5%5BR%94%8Dn%95%B5%2CMD%E9%EB%F4%EE9%DB5
2011-11-21 20:18:25 -08:00
Ben Turner
e02b223f81
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
7466d65dfc
Bug 692627: Support complex keyPaths in IndexedDB. r=bent,jorendorff
2011-11-21 09:56:24 -05:00
Kyle Huey
897fb61998
Bug 700544: Transactions should be ordered based on creation, not on the first request. r=bent
2011-11-18 10:21:04 -05:00
Marco Bonardo
de58c7bf0f
Merge mozilla-central to mozilla-inbound
2011-11-08 23:58:10 +01:00
Kyle Huey
907a49d672
Bug 700685: DeleteDatabaseHelper releases objects on the wrong thread. r=bent
2011-11-08 12:51:37 -05:00
Jonas Sicking
3c6b816077
Bug 692659: Fix sort order for PREV cursors on indexes. r=bent
2011-11-07 23:34:59 -08:00
Jonas Sicking
ebb14423fe
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
a15b71d97f
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
d2dd638c24
Bug 696914 - 'IndexedDB: IDBObjectStore.delete and IDBCursor.delete should return undefined'. r=sicking.
2011-11-07 18:08:02 -08:00
Kyle Huey
1aa2b3ff73
Bug 625071: Implement deleteDatabase. r=bent
2011-11-07 19:15:45 -05:00
Kyle Huey
1128861dbd
Bug 699468: Part 6 - Make some DatabaseInfo stuff private. r=bent
2011-11-07 19:15:45 -05:00
Kyle Huey
2c9936445b
Bug 699468: Part 5 - Clone the canonical DatabaseInfo when a Database is closed. r=bent
2011-11-07 19:15:45 -05:00
Kyle Huey
2400ecefe8
Bug 699468: Part 4 - Always go through the DatabaseInfo to get the ObjectStoreInfo. r=bent
2011-11-07 19:15:43 -05:00
Kyle Huey
eaf3c475ca
Bug 699468: Part 3 - Always go through the Database to get the DatabaseInfo. r=bent
2011-11-07 19:06:13 -05:00
Kyle Huey
a306354f5d
Bug 699468: Part 2 - Give DatabaseInfo an AddRef/Release instead of twiddling a refcount manually. r=bent
2011-11-07 19:06:13 -05:00
Kyle Huey
c5f4c34b0a
Bug 699468: Part 1 - Move ObjectStoreInfoHash onto DatabaseInfo. r=bent
2011-11-07 18:20:20 -05:00
Ben Turner
272a5d9f79
Bug 692628 - 'IndexedDB: Support IDBCursor.advance'. r=sicking.
2011-11-07 15:37:19 -08:00
Ben Turner
c82275ab28
Bug 692632 - 'IndexedDB: support empty objectstore/index names'. r=sicking.
2011-11-07 15:37:16 -08:00
Ed Morley
7bc582f20f
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
8a56fd9db2
Bug 616542 - Shorten file path length of mochitest; r=ted
2011-11-04 21:13:42 +00:00
Olli Pettay
fdb741699d
Bug 698929 - Implement event.stopImmediatePropagation, r=jst
...
--HG--
extra : rebase_source : 76d19175a58a4ac8113b144a19f9d7679ad54dd0
2011-11-04 19:17:19 +02:00
Ben Turner
0438e8e5e6
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
3277e8cb13
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
3e1f223457
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