Jan Varga
b95062dc63
Bug 964561 - Part 4: Update keys directly in the structured clone buffer; r=asuth
2016-10-25 21:18:14 +02:00
Jan Varga
34f638401a
Bug 964561 - Part 3: Implement an input stream wrapper around structured clone data; r=asuth
2016-10-25 21:18:11 +02:00
Jan Varga
25ab960dcb
Bug 964561 - Part 2: Refactor file ids handling for better expandability; r=asuth
2016-10-25 21:18:07 +02:00
Jan Varga
3c056abb44
Bug 964561 - Part 1: Use a type in StructuredCloneFile instead of a boolean; r=asuth
2016-10-25 21:18:03 +02:00
Lars T Hansen
30645f2bc5
Bug 1302036 - DOM changes to conform to new JS engine API for cloning. r=baku
2016-10-24 15:14:45 +02:00
Nathan Froyd
646a9538bb
Bug 1312104 - part 1 - use BitwiseCast for punning between uint64_t/double in indexedDB; r=janv
...
We have code elsewhere for this sort of stuff; let's use it here.
2016-10-24 13:22:54 -04:00
Carsten "Tomcat" Book
d3896c257f
merge mozilla-inbound to mozilla-central a=merge
2016-09-28 15:56:33 +02:00
Cykesiopka
1388365807
Bug 1304779 - Delete unused dom/indexedDB/ActorsParent.cpp copy constructors. r=janv
...
MozReview-Commit-ID: 4c5Y0QtQ5CS
2016-09-23 00:29:44 +08:00
Eric Faust
15333897fc
Bug 1263595 - Avoid deadlock between the JIT and the gecko profiler on win64. (r=froydnj)
2016-09-15 21:35:14 -07:00
Jan Varga
2328b13a6d
Bug 1290853 - Iterate the blocked transactions in the first-come, first-served order. r=btseng
2016-08-24 13:40:25 +08:00
Wes Kocher
9ca1b6d1c1
Backed out changeset 39da44265946 (bug 1263595) for build bustage a=backout CLOSED TREE
2016-09-16 14:19:22 -07:00
Eric Faust
67f078a908
Bug 1263595 - Avoid deadlock between the JIT and the gecko profiler on win64. (r=froydnj)
2016-09-15 21:35:14 -07:00
Phil Ringnalda
781e99ee0b
Backed out changeset 48694b762a84 (bug 1263595) for -Werror bustage
...
CLOSED TREE
2016-09-15 22:04:50 -07:00
Eric Faust
0afb627b8f
Bug 1263595 - Avoid deadlock between the JIT and the gecko profiler on win64. (r=froydnj)
2016-09-15 21:35:14 -07:00
Michael Layzell
419868d357
Bug 1018486 - Part 9: Changes to account for modifications to clang plugin, r=ehsan
...
MozReview-Commit-ID: EPQMbfHYxUK
2016-09-07 10:50:47 -04:00
Kan-Ru Chen
2c5320e517
Bug 1300512 - Remove OptionalContentId and replace it with Maybe<ContentParentId> in IndexedDB. r=janv
...
MozReview-Commit-ID: 6Cjlej1TwCY
2016-09-05 18:31:21 +08:00
Nicholas Nethercote
887efe04d5
Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm.
...
The new name makes the sense of the condition much clearer. E.g. compare:
NS_WARN_IF_FALSE(!rv.Failed());
with:
NS_WARNING_ASSERTION(!rv.Failed());
The new name also makes it clearer that it only has effect in debug builds,
because that's standard for assertions.
2016-09-01 15:01:16 +10:00
Kan-Ru Chen
a9b19d0584
Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
...
The patch is generated from following command:
rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,
MozReview-Commit-ID: AtLcWApZfES
2016-08-24 14:47:04 +08:00
Kan-Ru Chen
1321079e05
Bug 1264642 - Part 5. Make SerializedStructuredClone{Read,Write}Info use SerializedStructuredCloneBuffer. r=baku
...
MozReview-Commit-ID: KUz3E5Sw5W3
2016-08-23 00:40:47 +08:00
Bevis Tseng
bbd9122c59
Bug 1275518 - Add null pointer check before accessing DatabaseInfo::mConnection. r=janv
2016-08-17 16:13:50 +08:00
Andrea Marchesini
c8a40161f0
Bug 1264053 - MessagePort should support transferable objects in multi-e10s, r=sfink, r=smaug, r=jorendorff, r=janv
2016-07-21 15:29:42 +02:00
Honza Bambas
3cabb254c1
Bug 1293327 - Take file protocol handler service directly in indexedDB. r=janv
2016-08-11 22:13:17 -04:00
Bevis Tseng
5cbfe465ba
Bug 1271506 - Support of IDBObjectStore.getKey. r=khuey
2016-07-21 16:31:59 +08:00
Bevis Tseng
0a2276bb63
Bug 1271505 - Support of IDBCursor.continuePrimaryKey. r=khuey
2016-07-26 15:26:50 +08:00
Bevis Tseng
0ca5f77d1e
Bug 1289375 - Rollback incomplete change of preloading cursors for IndexedDB. r=khuey
2016-07-26 18:51:19 +08:00
Jan de Mooij
7ff36899cf
Bug 1286795 part 6 - Replace JS_NewRuntime/JS_DestroyRuntime with JS_NewContext/JS_DestroyContext. r=luke,bz
2016-07-23 19:54:19 +02:00
Carsten "Tomcat" Book
db1afeede8
merge mozilla-inbound to mozilla-central a=merge
2016-07-20 11:20:15 +02:00
Andi-Bogdan Postelnicu
05ca6f2053
Bug 1287756 - prevent assignment in assert expression for |mCurrentMaintenance|.r=janv
...
MozReview-Commit-ID: 8p72mQrKmWx
2016-07-19 21:18:03 +03:00
Kyle Huey
39cb8f5ab0
Bug 1285327: Micro-optimize some IDB refcounting. r=froydnj
2016-07-20 11:46:48 +08:00
Fabrice Desré
51f3bfa03e
Bug 1286190 - Get rid of MOZ_CHILD_PERMISSIONS r=bz
...
MozReview-Commit-ID: Lx2kozynptu
2016-04-05 13:34:53 +02:00
Bevis Tseng
cdadfbd998
Bug 1151017 - Support the 'close' Event on Databases. r=khuey
...
Outline of this patch:
1. Define a new ipdl message called |CloseAfterInvalidationComplete| to trigger the close event after all transactions are complete only if the database is invalidated by the user agent.
2. Make sure the following event sequence is consistent during invalidation according to the steps in |5.2. Closing a database| by the following 2 solutions:
IDBRequest.onerror -> IDBTransaction.onerror -> IDBTransaction.onabort -> IDBDatabase.onclose.
2.1. In parent process, do not force to abort the transactions after invalidation but wait for all the transactions in its child process are complete.
2.2. In child process, make sure that each IDBTransaction will notify its completion to the parent after all its pending IDBRequests are finished.
3. Add test_database_onclose.js to test the close event especially when read/write operation is ongoing.
4. Add test_database_close_without_onclose.js as a XPCShell test because setTimeout() is not preferred in Mochitest to ensure that the IDBDatabase.onclose event won't be sent after closed normally.
2016-05-31 18:08:20 +08:00
Chris Peterson
c35faf4632
Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj
2016-07-08 14:39:53 -07:00
Jan de Mooij
9a35d3fcb0
Bug 1283855 part 13 - Make JS_SetNativeStackQuota take JSContext instead of JSRuntime. r=fitzgen
2016-07-05 14:35:23 +02:00
Bevis Tseng
57b444e39e
Bug 1273833 - Always return AbortError of the Open DB Request if the Upgrade Transaction is aborted. r=khuey
2016-05-19 15:05:31 +08:00
Jan de Mooij
971389ad49
Bug 1279295 - Create the runtime's JSContext when we create the runtime. r=luke
2016-06-22 09:47:52 +02:00
Jan Varga
39178320b3
Bug 1246828 - Part 3: Modify Factory instance counting to include FactoryOp and Database instances too; r=asuth
2016-06-15 11:48:56 +01:00
Jonathan Watt
9c5b8de022
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Jan Varga
7fa830ff25
Bug 1195930 - Part 6: A new schema upgrade for IndexedDB databases; r=asuth
2016-06-05 21:42:33 +02:00
Jan Varga
cfd34f9856
Bug 1195930 - Part 5: Core changes, support for storage directory versioning, new metadata v2 files, origin suffix added to API methods, origin attributes used across the implementation, more upgrade tests; r=asuth
2016-06-05 21:42:25 +02:00
Chris Peterson
41c3720394
Bug 1275016 - Rename Endian.h to EndianUtils.h to avoid #include confusion with Android's endian.h stdlib header. r=froydnj
2016-05-22 13:31:11 -07:00
Jan Varga
c0c8eca8b9
Bug 1261491 - Intermittent test_quotaExceeded_recovery.js | application crashed [@ mozilla::dom::IndexedDatabaseManager::Notify]; r=khuey
2016-07-18 18:51:54 +02:00
Bevis Tseng
f658915b06
Bug 823371 - Fire "blocked" event if deleteDatabase is blocked by other open connection. r=khuey
2016-05-11 16:36:52 +08:00
Bevis Tseng
8e33efa299
Bug 1118028 - Allow objectStores and indexes to be renamed. r=khuey
2016-03-30 11:04:56 +08:00
Kyle Huey
b972c94d0f
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Carsten "Tomcat" Book
aadd508ffe
Backed out changeset 85ce8cb0639a (bug 1268313)
2016-04-29 14:21:16 +02:00
Kyle Huey
e62a0823c9
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Kyle Huey
a9cf047227
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Nicholas Nethercote
a35143c546
Bug 1261723 (part 2) - Separate class ops from js::Class. code=njn,h4writer. r=efaust,bz.
...
js::Class op are often all null. And when they're not all null, they're often
duplicated among classes. By pulling them out into their own struct, and using a
(possibly null) pointer in js::Class, we can save 114 KiB per process on
64-bit, and half that on 32-bit.
* * *
imported patch separate-ClassOps-2
2016-04-01 11:00:01 +11:00
Kyle Huey
a33189c393
Bug 1256049: Remove diagnostic assertions. r=me
2016-04-11 11:39:52 -07:00
Kyle Huey
b38a55e6e3
Bug 1256049: Correctly handle databases currently performing maintenance when a new transaction is started. r=janv
2016-04-05 20:21:25 -07:00