Commit Graph

141 Commits

Author SHA1 Message Date
Andrea Marchesini
2bd17b771a Bug 1408333 Get rid of nsIIPCBackgroundChildCreateCallback - part 5 - IPCBlob, r=asuth 2017-10-24 12:02:40 +02:00
Sebastian Hengst
15b8e9a53b Backed out changeset 097c44e15165 (bug 1371699) 2017-10-05 13:10:55 +02:00
Andrea Marchesini
6fb25be865 Bug 1403706 - Remove race conditions in temporary blob - part 7 - Remove TemporaryBlobImpl, r=smaug 2017-10-05 07:41:43 +02:00
Andrea Marchesini
943e663601 Bug 1403706 - Remove race conditions in temporary blob - part 6 - Introducing PTemporaryIPCBlob, r=smaug 2017-10-05 07:41:42 +02:00
Andrea Marchesini
6a0a05d45d Bug 1403706 - Remove race conditions in temporary blob - part 5 - Introducing TemporaryFileBlobImpl, r=smaug 2017-10-05 07:41:42 +02:00
Andrea Marchesini
7c36c77153 Bug 1403706 - Remove race conditions in temporary blob - testing, r=smaug 2017-10-05 07:41:38 +02:00
Andrea Marchesini
cccac16f60 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
Andrea Marchesini
1867437172 Bug 1371699 - Use of NonBlockingAsyncInputStream in our code base, r=froydnj 2017-10-03 07:20:18 +02:00
Sebastian Hengst
d4232ad6f1 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
96a79ce7c9 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
Sebastian Hengst
e8e914baa7 Backed out changeset c033bdb24e14 (bug 1371699) 2017-10-03 16:55:02 +02:00
Andrea Marchesini
ff3b280260 Bug 1371699 - Use of NonBlockingAsyncInputStream in our code base, r=froydnj 2017-10-03 07:20:18 +02:00
Andrea Marchesini
9067ec472c Bug 1404845 - Renaming BlobImpl::GetInternalStream to BlobImpl::CreateInputStream, r=smaug 2017-10-02 13:53:12 +02:00
Andrea Marchesini
a87a5e6b5a 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
86c5c52e0e Bug 1402888 - Remove nsIStreamTransportService::createInputStream startOffset and readLimit params, r=smaug 2017-09-26 07:21:27 +02:00
Andrea Marchesini
260dbfe5b2 Bug 1398733 - IPCBlobInputStream::Available() should return 0 before any AsyncWait() call, r=smaug 2017-09-22 08:12:19 +02:00
Nicholas Nethercote
e3c9cbb969 Bug 1401813 - Rename Null[C]String() as Void[C]String(). r=erahm.
XPCOM's string API doesn't have the notion of a "null string". But it does have
the notion of a "void string" (or "voided string"), and that's what these
functions are returning. So the names should reflect that.

--HG--
extra : rebase_source : 4e3f982e0873877174a08a25413595ff66f7d20e
2017-09-22 14:35:46 +10:00
Sebastian Hengst
3fce828be0 Bug 1399466 - Remove duplicate interface definition which caused bustage. r=bustage-fix on a CLOSED TREE 2017-09-16 17:50:42 +02:00
Sebastian Hengst
4c0d783c6f 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
b837bb47ab 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
e4901e78cc 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
49cb3c40cb 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
Sebastian Hengst
b3fd3e1e87 Backed out changeset 393e901c47f6 (bug 1399466) so bug 1398556 can be backed out. r=backout on a CLOSED TREE 2017-09-13 16:56:25 +02:00
Andrea Marchesini
88cc64e1f7 Bug 1399466 - IPCBlobInputStream should not use STS to read from the remote Stream, but DOMFile thread instead, r=smaug 2017-09-13 15:37:49 +02:00
Andrea Marchesini
2961a9e492 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
ee5e12fec0 Bug 1397645 - Propagation of the IPCBlobInputStream slicing to the parent process, r=asuth 2017-09-11 17:29:44 +02:00
Andrea Marchesini
7779bd9850 Bug 1397645 - Optimize IPCBlobInputStream slicing with the introduction of nsICloneableInputStreamWithRange, r=asuth 2017-09-11 17:29:15 +02:00
Andrea Marchesini
683768374b Bug 1398635 - IPCBlobInputStream must release the remoteStream when the pipe inputStream wraps it in order to avoid double close(), r=smaug 2017-09-11 13:08:36 +02:00
Andrea Marchesini
157334f4b0 Bug 1397627 - Fetch API and other components should pass the length of the stream to necko when known, r=smaug 2017-09-08 16:06:26 +02:00
Andrea Marchesini
d8c84ef602 Bug 1397627 - nsIAsyncFileMetadata interface, r=asuth 2017-09-08 16:06:26 +02:00
Andrea Marchesini
e93a152664 Bug 1397627 - IPCBlobInputStream should be always async, r=smaug 2017-09-08 16:06:25 +02:00
Andrea Marchesini
ab022130c2 Bug 1397627 - IPCBlobInputStream doesn't need to be seekable, r=smaug 2017-09-08 16:06:25 +02:00
Bevis Tseng
a7505864a8 Bug 1378930 - Part 2: Remove the aName parameter from SchedulerGroup/DocGroup/DispatcherTrait. r=billm
--HG--
extra : rebase_source : 11319e568a51d16754a6a9990f76c35c86c2bda7
2017-07-26 16:13:35 +08:00
Sylvestre Ledru
4e9cf83ee8 Bug 1378712 - Remove all trailing whitespaces r=Ehsan
MozReview-Commit-ID: Kdz2xtTF9EG

--HG--
extra : rebase_source : 7235b3802f25bab29a8c6ba40a181a722f3df0ce
2017-07-06 14:00:35 +02:00
Bill McCloskey
f115503a0b Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Florian Quèze
2924991bf6 Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02:00
Carsten "Tomcat" Book
95c2137595 Merge mozilla-central to mozilla-inbound 2017-06-22 14:10:35 +02:00
Florian Quèze
66f6d259bc Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
Andrea Marchesini
07a1540ec8 Bug 1362945 - Label runnables in dom/file/ipc, r=btseng 2017-06-22 11:05:56 +02:00
Carsten "Tomcat" Book
8a1350b5a6 Backed out changeset 4f6302a98ae4 (bug 1372405)
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Bill McCloskey
6b3e84ed5f 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
ea1b86680c Backed out changeset 9846de3bd954 (bug 1372405)
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey
4592152411 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
aefa2aa5da 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
29a8affb92 Bug 1369354 - Avoid deadlock in IPCBlobInputStreamStorage::GetStream when IPCBlobInputStreamChild actor is used on the parent process, r=smaug 2017-06-02 11:05:27 +02:00
Andrea Marchesini
61a3ace45c 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
6287e1d209 Bug 1366316 - Separate thread for IPCBlobInputStream actors - part 4 - monitoring child processes, r=smaug 2017-05-31 07:41:11 +02:00
Andrea Marchesini
794e8ca46d Bug 1366316 - Separate thread for IPCBlobInputStream actors - part 3 - tests, r=smaug 2017-05-31 07:41:10 +02:00
Andrea Marchesini
1ec87785af Bug 1366316 - Separate thread for IPCBlobInputStream actors - part 2 - callback stored, r=smaug 2017-05-31 07:41:10 +02:00
Andrea Marchesini
dd8eddb26f Bug 1366316 - Separate thread for IPCBlobInputStream actors - part 1 - actor migration, r=smaug 2017-05-31 07:41:10 +02:00