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
Sebastian Hengst
f8b411c84d
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
cb69e6d3c1
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
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
6237d5a32a
Bug 1397645 - Propagation of the IPCBlobInputStream slicing to the parent process, r=asuth
2017-09-11 17:29:44 +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
Andrea Marchesini
081d05a2b5
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
26b14d70a4
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
b77742f7d4
Bug 1397627 - nsIAsyncFileMetadata interface, r=asuth
2017-09-08 16:06:26 +02:00
Andrea Marchesini
e34f8479e3
Bug 1397627 - IPCBlobInputStream should be always async, r=smaug
2017-09-08 16:06:25 +02:00
Andrea Marchesini
e8c53fbe46
Bug 1397627 - IPCBlobInputStream doesn't need to be seekable, r=smaug
2017-09-08 16:06:25 +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
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
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
54a48ae735
Bug 1360185 - Use of IPCBlob in IndexedDB - part 5 - IPCBlobInputStream must implement nsIFileMetadata, r=janv
...
This patch uses also AsyncWait() to store Wasm modules into indexedDB
2017-05-23 07:52:47 +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
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
ba75f03ed7
Bug 1360476 - IPCBlobInputStream needs to be seekable on the parent side, r=me
2017-04-28 12:20:40 +02:00
Andrea Marchesini
9da959cd7d
Bug 1360454 - IPCBlobInputStream can take the original stream directly if created on the parent process, r=smaug
2017-04-28 12:16:13 +02:00
Andrea Marchesini
ffc8382e16
Bug 1360476 - IPCBlobInputStream needs to be seekable on the parent side, r=smaug
2017-04-28 12:16:08 +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
c350ba13b2
Bug 1353629 - PBlob refactoring - part 13 - IPCBlobInputStream should support remote nsIAsyncInputStream, r=smaug
...
If a child-to-parent IPCBlob is more than 1mb, we end up using a pipe stream.
If that ipcBlob is sent to a different process, we need to implement asyncWait
correctly: we need to call the remoteStream->AsyncWait().
2017-04-24 12:09:41 +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
34568e6fa9
Bug 1353629 - PBlob refactoring - part 6 - IPCBlobInputStream serialization, r=smaug
...
IPCBlobInputStream must implement nsIIPCSerializableInputStream interface.
When this is done, the child sends the internal ID of the IPCBlobInputStream to
the parent.
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