Commit Graph

392 Commits

Author SHA1 Message Date
Ms2ger
37dad68af9 Merge m-c to m-i. 2012-06-23 10:03:22 +02:00
Kyle Huey
59edcb595f Merge m-c to b-s. 2012-06-22 14:27:07 -07:00
Kyle Huey
3d72da04f0 Bug 767186: Cache the keyPath for objectStores and indexes. r=bent 2012-06-22 14:00:53 -07:00
Kyle Huey
6d81864ffb Bug 767184: Make test_complex_keyPath run in xpcshell too. r=bent 2012-06-22 12:08:50 -07:00
Kyle Huey
69770d80a2 Bug 767493: Make AsyncUsageRunnable participate in the WaitForOpenAllowed synchronization mechanism. r=bent 2012-06-22 11:47:05 -07:00
Kyle Huey
2ffc62ac08 Bug 765834: Followup to placate gcc. 2012-06-21 19:26:57 -07:00
Kyle Huey
9b2a38f11f Bug 765834: Rework and unify keyPath handling. r=bent 2012-06-21 15:27:13 -07:00
Kyle Huey
59ba531f49 Backed out changeset fdf2d378d405 (landed with wrong bug #). 2012-06-21 15:27:03 -07:00
Kyle Huey
7bac36f19b Bug 765834: Rework and unify keyPath handling. r=bent 2012-06-21 13:41:20 -07:00
Luke Wagner
fee7952e0d Bug 755186 - s/JS_NewCompartmentAndGlobalObject/JS_NewGlobalObject/ (r=jorendorff)
--HG--
extra : rebase_source : f1ead9226915f72473a01db0a1019cdbe50c8e92
2012-06-20 08:57:29 -07:00
Ben Turner
401cf770e8 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
98ef9db613 Bug 764916 - Replace nsDOMClassInfo::ThrowJSException with xpc::Throw. r=mrbkap 2012-06-19 19:01:10 -04:00
Gregor Wagner
4d63545569 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
7511d396e5 Merge m-c to inbound. 2012-06-18 20:59:17 -04:00
Jan Varga
1ac8eec4a0 Bug 763388 - Remove enablePrivilege calls from IndexedDB and FileHandle tests. r=bent 2012-06-18 19:09:26 +02:00
David Zbarsky
cc6af21c8d Bug 765362: Remove some unused functions in IDB r=bent 2012-06-18 12:48:15 -07:00
David Zbarsky
ca89986302 Bug 764705 - Unused variables in IndexedDBParent.cpp r=bent 2012-06-14 14:08:12 -07:00
Honza Bambas
41779e1714 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
e0a018899b Bug 664029 - 'Make indexeddb mochitests run in fennec'. r=khuey. 2012-06-11 14:59:27 -07:00
Ryan VanderMeulen
bf2b50270d Merge m-c to inbound 2012-06-10 17:59:00 -04:00
Olli Pettay
ac6b89bfdb Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
Andrew McCreight
f4f0e1a935 Bug 754478 - clean up cycle collector JS tracing callbacks. r=bent 2012-05-15 09:56:39 -07:00
Ms2ger
0170d19adc Bug 761635 - Fix build in MSVC 8; r=khuey 2012-06-10 19:19:12 +02:00
Kyle Huey
0d49be1d43 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
80ad46b242 Bug 755767: Shut down IndexedDB at profile-before-change. r=bent 2012-06-07 10:44:17 -07:00
Ben Turner
124fdd7f36 Bug 762203 - 'Potential crash in IDBObjectStore::UpdateIndexes'. r=khuey. 2012-06-06 14:02:03 -07:00
Geoff Lankow
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Landry Breuil
e531de396b Bug 761136 - fix uses of uint64_t vs PRUint64 after bug 666693. r=bent 2012-06-04 17:01:51 +02:00
Jan Varga
6e3e5ab48b Bug 726593 - Implement FileHandle. r=bent 2012-06-03 18:33:52 +02:00
Ben Turner
b072e01d8f Bug 666693 - 'Remote IndexedDB for multiple IndexedDB-using processes'. r=cjones+sicking. 2012-06-01 10:21:12 -07:00
Kyle Huey
1177376286 Back out Bug 754142. 2012-05-28 00:53:57 -07:00
Kyle Huey
daec3cf6f2 Merge m-c to b-s. 2012-05-27 22:31:06 -07:00
Kyle Huey
bad54e43b7 Bug 754142: Don't install quota handlers on chrome databases. r=bent 2012-05-27 22:30:34 -07:00
Kyle Huey
d93d12b399 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
bbbf0d1d23 Bug 755508: Do not allow the use of NaN dates as keys. r=sicking 2012-05-25 11:52:19 -07:00
Kyle Huey
6e8ea79075 Bug 757222: deleteDatabase should fire a versionchange event with newVersion === null. r=sicking 2012-05-25 11:48:27 -07:00
Kyle Huey
33ea1c8251 Bug 755509: Test explicity for request.result === undefined with deleteDatabase. r=sicking 2012-05-21 10:12:16 -07:00
Kyle Huey
a3ce879e6e Bug 755509: Run deleteDatabase test in Window and component scopes. r=sicking 2012-05-21 10:11:27 -07:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Josh Matthews
69d9415509 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
f799ef06a1 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
05ff81b305 Backout 70cde80fa095 & 5a903d496ab0 (bug 722857) for crashes in 646184.html 2012-05-25 12:51:32 +01:00
Josh Matthews
2b475b03a6 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
11cd0538f9 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
4f91700da9 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
7d3bc384fb Bug 752402 - Support ArrayBufferView as a member of blobParts parameter. r=sicking 2012-05-17 17:53:44 -04:00
Kyle Huey
d74460ce0a Back out bug 754142 due to bustage. 2012-05-16 15:21:58 -07:00
Kyle Huey
d67c71df7a Fix magical text that appeared. r=me No Bug 2012-05-16 15:12:11 -07:00
Ben Turner
14cbe42961 Bug 747247: Fix assertions about null owners. r=khuey 2012-05-16 15:08:18 -07:00
Kyle Huey
5bd25a91df Bug 754142: Don't install quota handlers on chrome databases. r=bent 2012-05-16 15:08:18 -07:00
Jeff Muizelaar
cc532c2ac2 Bug 755172. Add MOZ_FINAL to a bunch of idb classes. r=khuey 2012-05-15 00:50:29 -04:00
Kyle Huey
96861eeeb2 Bug 726376: Prevent infinite recursion in indexedDB::cmp. r=sicking 2012-05-11 10:47:27 -07:00
Ben Turner
7171465829 Bug 672667 - ' IndexedDB demo causes leaks and never-ending assertions'. r=bsmedberg+smichaud+khuey. 2012-04-06 13:40:10 -07:00
Ms2ger
3b04c7d79e Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley 2012-05-05 11:00:05 +02:00
Ben Turner
8c2baff1b1 Bug 747581. r=khuey. 2012-04-30 16:52:27 -07:00
Phil Ringnalda
9021503717 Back out 28cfc474ab58 (bug 742626) for xpcshell bustage 2012-04-30 11:38:09 -07:00
Fabrice Desré
17bb6e693e 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
95f8a3cace Bug 745498 - Add testcases for DOM4 exception types. r=sicking 2012-04-26 09:42:26 -07:00
Ms2ger
8299fe6b09 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger
f88fab52fb Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley 2012-04-14 15:05:01 +02:00
Jeff Walden
18b2aec6c5 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
40676e48a8 Bug 730161 - Tests fix. r=sicking 2012-04-11 17:55:22 -04:00
Masatoshi Kimura
23049011a9 Bug 730161 - Replace IDBDatabaseException and FileException with DOMException. r=sicking 2012-04-11 17:55:21 -04:00
Masatoshi Kimura
481f410ee0 Bug 730161 - Implement IDBRequest.error. r=sicking 2012-04-11 17:55:21 -04:00
Masatoshi Kimura
f266003760 Bug 743451 - Workaround for ISO date parsing bug. r=bent 2012-04-09 18:43:47 -04:00
Kyle Huey
99b4e0a5ab Merge the last good pgo-green cset on mozilla-inbound to mozilla-central. 2012-03-28 07:40:52 -07:00
Igor Bukanov
877dee50e1 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
add7512617 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
a6918c141f Bug 735357: Fix Contacts API to use new IndexedDB constants. r=gwagner 2012-03-13 13:25:05 -07:00
Marco Bonardo
3e58667468 Merge last green PGO from inbound to central 2012-03-13 11:17:21 +01:00
Masatoshi Kimura
1f2073f34c Bug 721569 - Support default values for Web IDL dictionaries. r=khuey CLOBBER BUILD 2012-03-12 21:44:48 -07:00
Jonas Sicking
39ecbe97e4 Bug 735094: Implement new string values (rather than numeric constants) for IndexedDB. r=bent 2012-03-12 21:44:45 -07:00
Olli Pettay
339e88ba7e Bug 734057 - Make nsDOMEventTargetHelper to not have strong pointer to window, r=jst,bent 2012-03-13 02:56:07 +02:00
Justin Lebar
0dbaf73150 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
68c407c176 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
5e02d0630c Bug 733260: remove typedef jsuint, r=luke
--HG--
extra : rebase_source : e8f576e1b5b189b47807c613c0cff79f5c8038e7
2012-03-05 18:43:45 -08:00
Ed Morley
d27ab2302c Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions 2012-03-05 15:22:28 +00:00
Justin Lebar
e1a9198917 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 15:58:06 -05:00
Justin Lebar
8f94cc1764 Back out bug 729940 (a108aee:d75775d) due to 32-bit red. 2012-03-04 14:20:34 -05:00
Justin Lebar
169d0f30f5 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 13:49:42 -05:00
David Mandelin
0be0db4666 Bug 730511: remove obsolete typedefs intN, uintN, r=luke 2012-02-28 15:11:11 -08:00
Peter Van der Beken
28f90dc67b 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
a4a525be0e 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
59dcf8cdf7 Bug 725550: remove obsolete typedef jsdouble, r=jwalden 2012-02-24 14:19:52 -08:00
Marco Bonardo
74afb56c79 Backout 4fc2f49371a8 (bug 725550) for build failures 2012-02-25 00:16:47 +01:00
David Mandelin
ad7cda83f5 Bug 725550: remove obsolete typedef jsdouble, r=jwalden
--HG--
extra : rebase_source : 772c2982184d7b3d1680737323395365e6b218da
2012-02-24 14:19:52 -08:00
Ed Morley
ec5a7c5b3d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-21 11:59:33 +00:00
Ms2ger
94747a42f3 Bug 726961 - Remove unused variable database from IDBIndex::Create; r=khuey 2012-02-21 10:34:01 +01:00
Ben Turner
471d25243b Bug 728921 - 'IndexedDB: FileManager file enumeration should run within a transaction'. r=sicking. 2012-02-20 10:35:45 -08:00
Kyle Huey
090e99a445 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
5d7814eb00 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
01ae9410c1 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
791aa57b19 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
afb57a37a5 bug 723517 - Drop cx argumrent from JS_GetClass(cx, obj). r=luke 2012-02-04 01:54:57 +01:00
Landry Breuil
b3f01361f3 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
dc6c071cd0 Bug 720815: Remove extra semicolons after NS_DECL_EVENT_HANDLER() statements. r=bent 2012-01-24 14:01:57 -08:00
Ben Turner
565ac90471 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
25bb1feaa8 Backout 8886b027527a (bug 718132) for xpcshell failures 2012-01-23 16:18:14 +00:00
Ben Turner
a83f777b58 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
37abe21b9b Bug 677079 - Part f: Expose structuredCloneCallbacks in jsfriendapi.h; r=jorendorff 2012-01-15 09:13:08 +01:00