Commit Graph

23 Commits

Author SHA1 Message Date
Nika Layzell
65efb2775e Bug 1440511 - Part 4: Add an IPDLParamTraits implementation for FileDescriptor, r=froydnj
MozReview-Commit-ID: R1CiT5IvAi
2018-03-05 16:00:02 -05:00
Masatoshi Kimura
e0781ab0cf Bug 1426898 - Stop including Char16.h everywhere. r=Waldo
We had to force-include Char16.h to simulate char16_t on older MSVC versions.
But it is no longer the case. We should not rebuild the world whenever we
touch this file.

MozReview-Commit-ID: 1XY7tQD8LoK
2017-12-23 00:53:12 +09:00
Wei-Cheng Pan
ef8b9aa141 Bug 1264566 - Part 1: Refactor FileDescriptor to fix leaks in content processes. r=valentin, r=baku
Now FileDescriptor takes the ownership of the platform handle, in both parent
and content processes.
Copying will duplicate the underlying handle.
It also comes with a move constructor to avoid duplicating if possible.

The getter will duplicate a new handle, so a UniquePtr is needed to hold the
duplicated handle.

MozReview-Commit-ID: DgvjmTI4tpf
2016-05-27 15:58:51 +08:00
Andrew McCreight
0514236009 Bug 1276318, part 2 - Fix mode lines in ipc/glue. r=billm
MessageChannel.{h,cpp}, MessageLink.{h,cpp}, and ProtocolUtils.h are
using 4-space indent so I left those alone.
2016-05-27 14:54:31 -07:00
Jonathan Watt
70d50b8222 Bug 1253094, part 3 - Stop using DebugOnly for class/struct members in ipc/. r=billm
MozReview-Commit-ID: L16CD7xtn3V
2016-02-26 15:52:07 +00:00
Bob Owen
7517f0b07d Bug 1119878 Part 2: Change IPC code to hold ProcessID instead of ProcessHandle. r=billm, r=dvander, r=aklotz, r=cpearce 2015-04-01 09:40:35 +01:00
Ehsan Akhgari
d4de10d6c7 Bug 1045067 - Fix some bad implicit constructors in dom/content/ipc; r=smaug 2014-07-28 13:17:51 -04:00
Andrea Marchesini
921c62e856 Bug 910010 - Implementation of PFileDescriptorSet - part 2, r=bent 2014-03-25 18:37:28 +00:00
Ben Turner
e664859686 Bug 835698 - 'Pre-open() and send the fd for app process's application.zip'. r=jduell. 2013-02-15 14:27:21 -08:00
Ryan VanderMeulen
73f8cae197 Backed out changeset 1646e649878a (bug 835698) for causing bug 839256. 2013-02-11 17:38:41 -05:00
Ben Turner
ea4a75e9f9 Bug 835698 - 'Pre-open() and send the fd for app process's application.zip'. r=jduell. 2013-02-09 17:59:47 +00:00
Ed Morley
5065a27017 Backout 1646e649878a (bug 835698) on suspicion of causing mochitest-1 shutdown hangs on Windows on a rather sad looking CLOSED TREE 2013-02-11 15:41:36 +00:00
Ben Turner
58c235a90d Bug 835698 - 'Pre-open() and send the fd for app process's application.zip'. r=jduell. 2013-02-09 17:59:47 +00:00
Jason Duell
be2da8b4b4 Backed out changeset 1a2e34c9ebc7 (bug 835698) a=bustage_from_bug_839688 2013-02-08 17:18:28 -08:00
Ben Turner
4901b77ef3 Bug 835698 - 'Pre-open() and send the fd for app process's application.zip'. r=jduell. 2013-02-01 04:23:23 -08:00
Phil Ringnalda
c5e7f99c13 Back out 4b47185f48f8 (bug 835698) for Win debug crashes in test_jarchannel_e10s.js 2013-02-06 22:23:33 -08:00
ben turner
22546ef9f6 Bug 835698 - Pre-open() and send the fd for app process's application.zip r=jduell 2013-02-06 05:18:00 -08:00
Ben Turner
1f134a97be Bug 827749 - Aggressively duplicate file handles. r=cjones. 2013-01-10 19:15:57 +01:00
Jared Wein
0570f6bb7a Backed out changeset 3aa492e39918 (bug 827749) for failing all tests OS X. 2013-01-10 14:15:25 -05:00
Ben Turner
577842f36d Bug 827749 - Aggressively duplicate file handles. r=cjones. 2013-01-10 19:15:57 +01:00
Ben Turner
adbb76795e Backout f3b6bc4b2590 (Bug 827749) for test failures. 2013-01-10 13:54:27 +01:00
Ben Turner
6ee27315d6 Bug 827749 - Aggressively duplicate file descriptors. r=cjones. 2013-01-10 13:00:17 +01:00
Ben Turner
c8df603ac2 Bug 781256 - 'Share FileDescriptors across processes in preparation for OS-level sandbox'. r=khuey+cjones. 2012-08-16 00:02:32 -04:00