Emilio Cobos Álvarez
4b8b5e1717
Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
...
This was done automatically replacing:
s/mozilla::Move/std::move/
s/ Move(/ std::move(/
s/(Move(/(std::move(/
Removing the 'using mozilla::Move;' lines.
And then with a few manual fixups, see the bug for the split series..
MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Andrea Marchesini
d0127b04cb
Bug 1434553 - Implement nsIInputStreamLength and nsIAsyncInputStreamLength - part 2 - IPCBlobInputStream exposes nsIInputStreamLength, r=smaug
2018-05-23 07:12:35 +02:00
Andrea Marchesini
8bad832506
Bug 1445540 - Use WorkerRef in IPCBlob, r=smaug
2018-03-14 15:24:38 +01:00
Andrea Marchesini
ddb4518ad1
Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly
2018-02-05 19:55:07 +01:00
Andrea Marchesini
3e08265e73
Bug 1432963 - Fixing workers headers - part 17 - no LIBS=[workers] in moz.build files, r=smaug
2018-01-31 08:25:30 +01:00
Andrea Marchesini
30cbccd56d
Bug 1432963 - Fixing workers headers - part 13 - WorkerHolder without workers namespace, r=smaug
2018-01-31 08:23:44 +01:00
Andrea Marchesini
de5ddecee3
Bug 1405290 - Improve logging of workers when shutting down - part 3 - WorkerHolder with names, r=asuth
2017-11-15 07:58:38 +01:00
Andrea Marchesini
b54a1d90a9
Bug 1403771 - SlicedInputStream takes ownership of the underlying stream and it propagates the Close() call, r=smaug
2017-10-05 07:38:48 +02:00
Sebastian Hengst
87dc4f2181
Backed out changeset c68498143c13 (bug 1403771) for bustage at dom/file/StreamBlobImpl.cpp:108: 'GetInternalStream' was not declared in this scope. r=backout on a CLOSED TREE
2017-10-04 19:11:13 +02:00
Andrea Marchesini
d86c6d6c6a
Bug 1403771 - SlicedInputStream takes ownership of the underlying stream and it propagates the Close() call, r=smaug
2017-10-04 18:51:10 +02:00
Andrea Marchesini
e7c64f1a41
Bug 1399466 - IPCBlobInputStream should not use STS to read from the remote Stream, but DOMFile thread instead, r=smaug
2017-09-14 14:28:29 +02:00
Sebastian Hengst
baec3c93e1
Backed out changeset 7822d49cfd59 (bug 1399466) for frequent leaks on Linux x64 debug (bug 1400132) and on Linux x64 asan (bug 1399117). r=backout
2017-09-16 17:28:15 +02:00
Andrea Marchesini
0fbcd4579e
Bug 1399466 - IPCBlobInputStream should not use STS to read from the remote Stream, but DOMFile thread instead, r=smaug
2017-09-14 14:28:29 +02:00
Andrea Marchesini
38aad07616
Bug 1398556 - IPCBlobInputStream should call OnInputStreamReady() on the current thread if ::AsyncWait() is called without passing nsIEventTarget, r=smaug
2017-09-13 15:29:39 +02:00
Sebastian Hengst
c0d207732b
Backed out changeset 0140b9418003 (bug 1398556) for asserting at dom/file/ipc/IPCBlobInputStream.cpp:555. r=backout on a CLOSED TREE
2017-09-13 16:57:39 +02:00
Andrea Marchesini
0e22e11971
Bug 1398556 - IPCBlobInputStream should call OnInputStreamReady() on the current thread if ::AsyncWait() is called without passing nsIEventTarget, r=smaug
2017-09-13 15:29:39 +02:00
Andrea Marchesini
fd519aed46
Bug 1397645 - Optimize IPCBlobInputStream slicing with the introduction of nsICloneableInputStreamWithRange, r=asuth
2017-09-11 17:29:15 +02:00
Bill McCloskey
ce42826bdf
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book
238bf154d5
Backed out changeset 4f6302a98ae4 (bug 1372405)
2017-06-21 13:59:26 +02:00
Bill McCloskey
67e8af4720
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book
bbe9441993
Backed out changeset 9846de3bd954 (bug 1372405)
2017-06-20 08:27:02 +02:00
Bill McCloskey
f69608368b
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Bill McCloskey
284c3f3132
Bug 1365097 - Convert NS_GetCurrentThread uses in dom (except for dom/media) (r=smaug)
...
For the Quatum DOM project, it's better to work in terms of event targets than
threads. This patch converts DOM code to operate on event targets rather than
threads, when possible.
MozReview-Commit-ID: 5FgvpKadUA2
2017-06-12 20:20:08 -07:00
Andrea Marchesini
88afd58040
Bug 1366316 - Separate thread for IPCBlobInputStream actors - part 5 - WorkerHolder, r=smaug
...
WorkerHolder must be released after the migration.
2017-05-31 07:41:11 +02:00
Andrea Marchesini
f3061eed89
Bug 1366316 - Separate thread for IPCBlobInputStream actors - part 1 - actor migration, r=smaug
2017-05-31 07:41:10 +02:00
Andrea Marchesini
32c69c4c9b
Bug 1359718 - Get rid of PBlob - part 5 - Fixing #includes, r=smaug
2017-05-23 18:06:52 +02:00
Sebastian Hengst
b348ad0e24
Backed out changeset 2a2c16255a2c (bug 1359718)
2017-05-23 19:12:10 +02:00
Sebastian Hengst
00d8de0704
Backed out changeset 247354884a9a (bug 1359718)
2017-05-23 19:12:00 +02:00
Andrea Marchesini
a82862aab4
Bug 1359718 - Get rid of PBlob - part 7 - fixing namespaces, r=me
2017-05-23 18:44:55 +02:00
Andrea Marchesini
98ba00163a
Bug 1359718 - Get rid of PBlob - part 5 - Fixing #includes, r=smaug
2017-05-23 18:06:52 +02:00
Sebastian Hengst
a0c0861aff
Backed out changeset 58cc2991c47a (bug 1359718)
2017-05-23 18:34:24 +02:00
Andrea Marchesini
a05c2875f2
Bug 1359718 - Get rid of PBlob - part 5 - Fixing #includes, r=smaug
2017-05-23 18:06:52 +02:00
Andrea Marchesini
edd1d5fd02
Bug 1359357 - IPCBlobInputStreamChild should be protected by a WorkerHolder, r=smaug
2017-05-22 13:33:00 +02:00
Andrea Marchesini
49a32367e2
Bug 1366011 - IPCBlob should not have race conditions between Send__delete__ and RecvStreamNeeded, r=smaug
2017-05-19 14:00:31 +02:00
Iris Hsiao
57399cbd99
Backed out 3 changesets (bug 1366011, bug 1359357) for mochitest failures in test_ipcBlob_workers.html
...
Backed out changeset a20220d687d4 (bug 1359357)
Backed out changeset 9f71fb3f4d1e (bug 1359357)
Backed out changeset 70e5477cdda0 (bug 1366011)
2017-05-19 15:59:55 +08:00
Andrea Marchesini
3afaa37e7e
Bug 1359357 - IPCBlobInputStreamChild should be protected by a WorkerHolder, r=smaug
2017-05-19 07:57:18 +02:00
Andrea Marchesini
27cdbbf6e2
Bug 1366011 - IPCBlob should not have race conditions between Send__delete__ and RecvStreamNeeded, r=smaug
2017-05-18 23:06:22 +02:00
Andrea Marchesini
67f3293e84
Bug 1360992 - RecvStreamReady() should be protected by mutex as any other method in IPCBlobInputStreamChild, r=qdot
2017-05-04 08:37:54 +02:00
Phil Ringnalda
68ba3c8477
Backed out 2 changesets (bug 1360992, bug 1361654) for a 70% failure rate in test_fileReader.html on ASan e10s
...
Backed out changeset ab9fdee3a6a4 (bug 1360992)
Backed out changeset 141c2dfd49ff (bug 1361654)
MozReview-Commit-ID: 3rSzvmc5FPx
2017-05-05 12:35:57 -07:00
Andrea Marchesini
79db8274c0
Bug 1360992 - RecvStreamReady() should be protected by mutex as any other method in IPCBlobInputStreamChild, r=qdot
2017-05-04 08:37:54 +02:00
Andrea Marchesini
9a02c255bd
Bug 1359359 - IPCBlobInputStream should execute StreamReady() in the target thread of AsyncWait, r=smaug
2017-04-25 22:23:46 +02:00
Andrea Marchesini
3d35b17f21
Bug 1353629 - PBlob refactoring - part 7 - IPCBlobInputStream must implement nsIAsyncInputStream, r=smaug
...
In order to retrieve data from an IPCBlobInputStream, it must be used as
nsIAsyncInputStream.
2017-04-24 12:09:40 +02:00
Andrea Marchesini
b87a2a73d2
Bug 1353629 - PBlob refactoring - part 4 - IPCBlobInputStream, r=smaug
...
IPCBlobInputStream is a new type of nsIInputStream that is used only in content
process when a Blob is sent from parent to child. This inputStream is for now,
just cloneable.
When the parent process sends a Blob to a content process, it has the Blob and
its inputStream. With its inputStream it creates a IPCBlobInputStreamParent
actor. This actor keeps the inputStream alive for following uses (not part of
this patch).
On the child side we will have, of course, a IPCBlobInputStreamChild actor.
This actor is able to create a IPCBlobInputStream when CreateStream() is
called. This means that 1 IPCBlobInputStreamChild can manage multiple
IPCBlobInputStreams each time one of them is cloned. When the last one of this
stream is released, the child actor sends a __delete__ request to the parent
side; the parent will be deleted, and the original inputStream, on the parent
side, will be released as well.
IPCBlobInputStream is a special inputStream because each method, except for
Available() fails. Basically, this inputStream cannot be used on the content
process for nothing else than knowing the size of the original stream.
In the following patches, I'll introduce an async way to use it.
2017-04-24 12:09:40 +02:00