Nika Layzell
a7666fd8fe
Bug 1418048 - Add a callback-based Send API to async returning IPDL methods, r=billm
...
Currently if you write an async IPDL method which has a return value, we expose
a SendXXX method which returns a MozPromise. This MozPromise can then be
->Then-ed to run code when it is resolved or rejected.
Unfortunately, using this API loses ordering guarantees which IPDL provides.
MozPromise::Then takes an event target, which the resolve runnable is dispatched
to. This means that the resolve callback's code doesn't have any ordering
guarantees relative to the processing of other IPC messages coming over the same
protocol.
This adds a new overload to SendXXX with two additional arguments, a lambda
callback which is called if the call succeeds, and a lambda callback which is
called if the call fails. These will be called in order with other IPC messages
sent over the same protocol.
MozReview-Commit-ID: FZHJJaSDoZy
2017-11-20 17:55:32 -05:00
Jonathan Watt
5ea9cced68
Bug 1417365 - Unified build issues in dom/cache. r=baku
2017-10-26 12:35:08 +01:00
Ben Kelly
211be553a3
Bug 1402586 Hold the worker alive while Cache API completes a lazy body open IPC operation. r=asuth
2017-09-25 10:45:58 -07:00
Ben Kelly
acf4cdb7d2
Bug 1397128 P6 Allow ReadStream to be created with an initially nullptr base stream. r=tt
2017-09-15 12:25:41 -07:00
Ben Kelly
9ef03c8751
Bug 1397128 P4 Add a PCacheStreamControl message to open a stream based on its body ID. r=tt
2017-09-15 12:25:41 -07:00
Sebastian Hengst
2ecdeffe66
Backed out changeset 389e9f39d6b8 (bug 1397128)
2017-09-15 18:28:43 +02:00
Sebastian Hengst
ea5ea33329
Backed out changeset bb52082d2d3c (bug 1397128)
2017-09-15 18:28:32 +02:00
Ben Kelly
60cc17beb8
Bug 1397128 P6 Allow ReadStream to be created with an initially nullptr base stream. r=tt
2017-09-15 09:11:23 -07:00
Ben Kelly
cd504ea7b0
Bug 1397128 P4 Add a PCacheStreamControl message to open a stream based on its body ID. r=tt
2017-09-15 09:11:22 -07:00
Ben Kelly
180d53d0e9
Bug 1328686 Add diagnostic assertions to dom/cache. r=asuth
2017-01-06 12:41:15 -08:00
Kan-Ru Chen
f8100451db
Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
...
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.
MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Kan-Ru Chen
b6d880aca1
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
--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Aaron Klotz
6470186455
Bug 1268151: Clean up some dependencies in IPDL headers; r=billm
...
MozReview-Commit-ID: n0FkC1zcay
--HG--
extra : rebase_source : a56c34e5ab1fe9354be7b586a917b6eecff4cb31
2016-05-17 16:01:25 -06:00
Andrea Marchesini
aac2306f2c
Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
...
--HG--
rename : dom/cache/Feature.cpp => dom/cache/CacheWorkerHolder.cpp
rename : dom/cache/Feature.h => dom/cache/CacheWorkerHolder.h
rename : dom/workers/WorkerFeature.h => dom/workers/WorkerHolder.h
2016-06-23 10:53:14 +02:00
Carsten "Tomcat" Book
47aeb86e2c
Backed out changeset 1c5d78c7ba43 (bug 1269154) for bustage on a CLOSED TREE
...
--HG--
rename : dom/cache/CacheWorkerHolder.cpp => dom/cache/Feature.cpp
rename : dom/cache/CacheWorkerHolder.h => dom/cache/Feature.h
rename : dom/workers/WorkerHolder.h => dom/workers/WorkerFeature.h
extra : rebase_source : 49f9e9ce0500ac441fe97878cf9308804926544f
2016-06-23 10:13:54 +02:00
Andrea Marchesini
45087a7970
Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
...
--HG--
rename : dom/cache/Feature.cpp => dom/cache/CacheWorkerHolder.cpp
rename : dom/cache/Feature.h => dom/cache/CacheWorkerHolder.h
rename : dom/workers/WorkerFeature.h => dom/workers/WorkerHolder.h
2016-06-22 17:24:35 +02:00
Ben Kelly
62ecdfc256
Bug 1093357 P3 Convert Cache to use IPCStream and AutoIPCStream. r=asuth
...
* * *
Bug 1093357 P3 interdiff 001 Use AutoIPCStream in dom/cache
2016-05-15 10:32:09 -07:00
Birunthan Mohanathas
9985829ecc
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Ben Kelly
5f92c3937b
Bug 1110485 P4 Keep Cache Actors alive during async operations. r=baku
2015-04-16 12:00:15 -07:00
Ben Kelly
ec154acf25
Bug 1110485 P2 Remove 'P' prefix from non-protocol IPC types in Cache API. r=baku
...
--HG--
rename : dom/cache/PCacheTypes.ipdlh => dom/cache/CacheTypes.ipdlh
2015-04-16 12:00:15 -07:00
Carsten "Tomcat" Book
cdb80ccd52
Backed out changeset a74f0b2545ab (bug 1110485)
...
--HG--
rename : dom/cache/CacheTypes.ipdlh => dom/cache/PCacheTypes.ipdlh
2015-04-15 09:54:48 +02:00
Carsten "Tomcat" Book
55d03ff1d7
Backed out changeset f37dc22f4c4f (bug 1110485)
2015-04-15 09:54:39 +02:00
Ben Kelly
cc8a74d4e3
Bug 1110485 P4 Keep Cache Actors alive during async operations. r=baku
2015-04-14 17:11:19 -07:00
Ben Kelly
d2326c284c
Bug 1110485 P2 Remove 'P' prefix from non-protocol IPC types in Cache API. r=baku
...
--HG--
rename : dom/cache/PCacheTypes.ipdlh => dom/cache/CacheTypes.ipdlh
2015-04-14 17:11:19 -07:00
Wes Kocher
82cca8b7cc
Backed out changeset 114377b11793 (bug 1110485)
...
--HG--
rename : dom/cache/CacheTypes.ipdlh => dom/cache/PCacheTypes.ipdlh
2015-04-14 15:27:46 -07:00
Wes Kocher
09b055e57b
Backed out changeset 31c018015bd2 (bug 1110485)
2015-04-14 15:27:42 -07:00
Ben Kelly
e264e3d81f
Bug 1110485 P4 Keep Cache Actors alive during async operations. r=baku
2015-04-14 12:21:14 -07:00
Ben Kelly
8711b65af3
Bug 1110485 P2 Remove 'P' prefix from non-protocol IPC types in Cache API. r=baku
...
--HG--
rename : dom/cache/PCacheTypes.ipdlh => dom/cache/CacheTypes.ipdlh
2015-04-14 12:21:14 -07:00
Wes Kocher
164426c724
Backed out 3 changesets (bug 1110485) for wpt-3 bustage
...
Backed out changeset e8bd3bf404ff (bug 1110485)
Backed out changeset fa29dbb49a66 (bug 1110485)
Backed out changeset 12deb121d126 (bug 1110485)
--HG--
rename : dom/cache/CacheTypes.ipdlh => dom/cache/PCacheTypes.ipdlh
2015-04-13 15:18:19 -07:00
Ben Kelly
a3a390d7d6
Bug 1110485 P2 Remove 'P' prefix from non-protocol IPC types in Cache API. r=baku
...
--HG--
rename : dom/cache/PCacheTypes.ipdlh => dom/cache/CacheTypes.ipdlh
2015-04-13 14:05:57 -07:00
Ben Kelly
84463ac14b
Bug 1143223 - Teach Cache ReadStream not to AddRef() itself in its destructor. r=ehsan
2015-03-20 11:01:57 -07:00
Ryan VanderMeulen
befdfa6794
Backed out changeset fd0834bbfd3c (bug 1143223) for making test_mediaElementAudioSourceNodePassThrough.html almost perma-timeout on Android 4.0.
...
--HG--
extra : rebase_source : b315a864686e99bd22bd3ef0e842c5236a92cfa6
2015-03-20 17:03:27 -04:00
Ben Kelly
63da054263
Bug 1143223 Teach Cache ReadStream not to AddRef() itself in its destructor. r=ehsan
2015-03-20 11:01:57 -07:00
Ben Kelly
f9064fc636
Bug 940273 - Part 4 - Initial implementation of Service Worker Cache. r=ehsan,baku,janv
2015-03-02 14:20:00 +01:00