Kershaw Chang
aa2bd5ea05
Bug 1256595 - Add frameOuterWindowID in nsILoadInfo, r=billm
2016-06-27 02:42:00 +02:00
Bill McCloskey
db00162c58
Bug 1277705
- Remove child_process_info (r=dvander)
2016-06-24 13:16:14 -07:00
Bill McCloskey
cb8a9c03a3
Bug 1277705
- Remove waitable_event_watcher (r=dvander)
2016-06-24 13:15:41 -07:00
Bill McCloskey
e2d2de1ae8
Bug 1277705
- Remove chromium notification service (r=dvander)
2016-06-24 13:15:20 -07:00
Bill McCloskey
ab96df2b7a
Bug 1268559 - Go back to ContentParent controlling process shutdown (i.e., backout bug 1262898) (r=dvander)
2016-06-24 13:13:45 -07: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
Cervantes Yu
28706c5d87
Bug 1275398 - Use shmem for sending image data in IPCDataTransfer. r=nical
...
MozReview-Commit-ID: 9XETnSBXxEW
2016-06-16 00:57:46 +08:00
Cervantes Yu
3115f628a1
Bug 1272018 - Use shared memory to transfer drag image data. r=nical
...
MozReview-Commit-ID: K5r9LBQ1FO0
2016-06-15 13:49:13 +01:00
David Anderson
d3bb5cb316
Add skeletal code for launching a GPU process. (bug 1271180 part 4, r=billm,jrmuizel)
...
--HG--
extra : rebase_source : 456e4b94a93191f85d90209459c5189ea165670d
2016-06-10 22:27:24 -04:00
David Anderson
910f73265e
Move TaskFactory from dom/plugins to ipc/glue. (bug 1271180 part 1, r=aklotz)
...
--HG--
rename : dom/plugins/ipc/TaskFactory.h => ipc/glue/TaskFactory.h
extra : rebase_source : 96b02ead0afb82a27d668927dd53d722b77e488b
2016-06-10 15:43:35 -04:00
Phil Ringnalda
5e0adb7d56
Back out 5 changesets (bug 1271180) for static analysis bustage
...
CLOSED TREE
Backed out changeset cfb53b780b18 (bug 1271180)
Backed out changeset 204b084385f8 (bug 1271180)
Backed out changeset 353da876be33 (bug 1271180)
Backed out changeset 4472dfbc1dc6 (bug 1271180)
Backed out changeset 81079e787b8a (bug 1271180)
--HG--
rename : ipc/glue/TaskFactory.h => dom/plugins/ipc/TaskFactory.h
2016-06-11 00:46:09 -07:00
David Anderson
d2678d4141
Add skeletal code for launching a GPU process. (bug 1271180 part 4, r=billm,jrmuizel)
...
--HG--
extra : rebase_source : 332f5cf6ca5e1f78fb2283a7e79b6b21654e9e59
2016-06-10 22:27:24 -04:00
David Anderson
995cadf738
Move TaskFactory from dom/plugins to ipc/glue. (bug 1271180 part 1, r=aklotz)
...
--HG--
rename : dom/plugins/ipc/TaskFactory.h => ipc/glue/TaskFactory.h
extra : rebase_source : 485012c5a08eb0ce2a4225ddfe9cbfb454fc4302
2016-06-10 15:43:35 -04:00
Jonathan Watt
b15368cfcb
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
James Andreou
7c273b3eb3
Bug 1276328 - Remove private browsing flags r=baku
...
--HG--
extra : rebase_source : e13f6b834ae22986776ca7cc3dd0cee3fc945992
2016-06-07 13:50:00 +02:00
Christoph Diehl
053c555889
Bug 777067 - "Fuzzing: IPC Protocol Definition Language (IPDL) Protocols". r=wmccloskey
...
--HG--
extra : rebase_source : f256b70d6f81f82339e52ab4f6bc2d9b4b751c08
2016-05-30 16:33:00 +02:00
Bob Owen
5714578c95
Bug 1278528: Don't try to initialize the sandbox TargetServices when we are not sandboxed. r=jimm
...
MozReview-Commit-ID: EpXy9LYXwQL
2016-06-07 14:03:51 +01:00
Gabor Krizsanits
6c0e1dc69f
Bug 1146873 - Handling sandbox policy setup failures. r=bobowen
2016-06-06 15:13:33 +02:00
Jed Davis
78e49e2efb
Bug 1114647 - Use firefox for child processes instead of plugin-container. r=ted
...
Disabled on Mac (content processes need to use plugin-container.app for
UI reasons) and on Linux unless --disable-sandboxing (build issues).
Based on work by George Wright <george@mozilla.com>.
--HG--
extra : amend_source : 43986e25743de21e3ddfb7893e3ed550fe6eef76
2016-06-03 12:49:39 -07:00
Honza Bambas
8db609c916
Bug 1275117 - Fix static strings leaks when mozlogging is on. r=jduell
...
--HG--
extra : rebase_source : 2a08f4eee9a900a4e34d58084eb222aedd319464
2016-05-31 08:11:00 -04:00
Haik Aftandilian
c95d552240
Bug 1275430 - Add telemetry and logging to record content process failures to start; r=billm
...
MozReview-Commit-ID: LWeZbDBwfX5
2016-06-01 15:13:59 -07:00
Jonathan Hao
525c086187
Bug 1259871 - Replace getSimpleCodebasePrincipal with createCodebasePrincipal. r=sicking
...
MozReview-Commit-ID: Frx0CjBzuve
--HG--
extra : histedit_source : 036eb321d9ccb20e0e071ba588b0a1249eb34bdd
2016-05-24 18:01:34 +08:00
Andrea Marchesini
8d58a3b347
Bug 1274363 - BroadcastChannel should dispatch events in the correct order, r=smaug
2016-05-30 10:48:40 +02:00
Andrew McCreight
5848fe3b73
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
Andrew McCreight
9449c5e62d
Bug 1276318
, part 1 - Fix leading tabs in ipc/glue. r=billm
...
Also remove a weird mode line so the script can fix it more easily in
the next part.
2016-05-27 14:54:30 -07:00
Bill McCloskey
7dbc02ed0f
Bug 1262671 - Use BufferList for Pickle (r=froydnj)
2016-05-27 09:57:41 -07:00
Bill McCloskey
2e4314c9a7
Bug 1262671 - IPC ReadData/ReadBytes elimination (r=froydnj)
2016-05-27 09:57:39 -07:00
Bill McCloskey
291c555f34
Bug 1262671 - void** -> PickleIterator (r=froydnj)
2016-05-27 09:57:38 -07:00
Bill McCloskey
1369c6edad
Bug 1273307 - Remove copy constructor/assignment operator for Message/Pickle (r=froydnj)
2016-05-27 09:57:35 -07:00
Honza Bambas
ff31be3edd
Bug 1270752 - Fix lifetime of buffer passed to PR_SetEnv(). r=jduell
...
--HG--
extra : rebase_source : 7666e7e3f864fddb5536793a91c94bccf6bb2877
2016-05-26 03:18:00 -04:00
Bob Owen
ecee115838
Bug 1250125: Make a 0 security.sandbox.content.level turn off the content process sandbox. r=TimAbraldes
...
This also fixes a bug where we weren't setting parts of the policy correctly for levels 3 to 9.
MozReview-Commit-ID: IXsg2nGOqoa
--HG--
extra : rebase_source : 65c76a581dcd498c7d7d5b01e4f4e140acdb244f
2016-05-25 09:06:23 +01:00
Eric Rahm
d2eb11dfd1
Bug 1274404 - Annotate IPC message name and size when crashing due to message size. r=mccr8
2016-05-23 11:15:47 -07:00
Carsten "Tomcat" Book
0ed94efabc
Backed out changeset 0659c9235136 (bug 1274363) for memory leaks
...
--HG--
extra : rebase_source : 7fd1df522bb0cab48ca51d29140036f6a5a6a7cc
2016-05-24 09:37:23 +02:00
Andrea Marchesini
2d4ce92868
Bug 1274363 - BroadcastChannel should dispatch events in the correct order, r=smaug
2016-05-24 06:59:15 +02:00
Sebastian Hengst
63e3ff7608
Backed out changeset 2a2a4005e935 (bug 1274404) for Asan bustage: use of undeclared identifier 'CrashReporter'. r=backout on a CLOSED TREE
2016-05-21 19:36:27 +02:00
Eric Rahm
ff177872a0
Bug 1274404 - Annotate IPC message name and size when crashing due to message size. r=mccr8
2016-05-20 14:30:39 -07:00
Bob Owen
9d7707097f
Bug 1271601: If a child process fails to duplicate a TransportDescriptor pipe handle then send it anyway and get the target to duplicate. r=gabor
...
MozReview-Commit-ID: 5CKrQdDxGrg
2016-05-21 16:16:33 +01:00
Nathan Froyd
a5f42fc63a
Bug 1262937 - part 8 - factor out array length deserialization errors; r=jld
2016-05-21 04:07:56 -04:00
Nathan Froyd
647562c2d2
Bug 1262937 - part 7 - factor out union type deserialization errors; r=jld
2016-05-21 04:07:56 -04:00
Nathan Froyd
dcc74a62c9
Bug 1262937 - part 5 - factor out actor reading code to a common base class; r=jld
...
Actor reading from IPC message is codegen'd with a lot of repeated code.
We can improve that by moving the core actor reading code out of
subclasses into IProtocolmanager. While we still need to codegen a bit
of code to cast the read actor to the proper type, the code overall is
smaller. The lone downside is that if we do encounter an error reading
the actor id out of the message, the precision of our crash messages is
reduced somewhat: we no longer have the protocol name doing the reading,
nor do we get crash report annotations, since we can't tell whether
we're in the parent or child process.
2016-05-21 04:07:56 -04:00
Nathan Froyd
bdd874023f
Bug 1262937 - part 4 - publically inherit from MessageListener in IProtocol; r=jld
...
IProtocolManager is templated over some listener type. In our IPDL
code, that type is always IProtocol, which is a subclass of
MessageListener. It's also important to note that IProtocol uses
protected inheritance from MessageListener; the generated code takes
advantage of this inheritance structure when it reads actors:
// ChannelListener is typedef'd to MessageListener
// Lookup here is IProtocolManager::Lookup
ChannelListener* listener = Lookup(id);
Lookup returns a pointer to the type over which IProtocolManager is
templated. As mentioned above, that type is always IProtocol. But
thanks to the containing class inheriting from *both* IProtocolManager
and IProtocol, the returned pointer can be silently upcasted to
MessageListener thanks to C++ visibility rules.
It's not clear that this restricted inheritance structure is actually
benefitting anybody, or that the inheritance hierarchy of protocol
classes is the best way to do things. This particular implementation
detail is getting in the way for the next improvement, so let's make the
protected inheritance public instead.
2016-05-21 04:07:56 -04:00
Cervantes Yu
f3f969af61
Bug 1258317 - Part 2: Remove unused privilege in mozilla::ipc::TransferHandleTorProcess(). r=krizsa
...
Also fix a handle leak in mozilla::ipc::AnnotateProcessInformation().
MozReview-Commit-ID: DuepDytfoD2
--HG--
extra : rebase_source : 0b0dd05a3728e64962a774a2dcc35dc7646aa4dc
2016-05-06 19:01:29 +08:00
Ben Kelly
4c8ab874ba
Bug 1093357 P2 Add an RAII type to safely handle serialized stream actors. r=jld
...
* * *
Bug 1093357 P2 interdiff 001 address review feedback
* * *
Bug 1093357 P2 interdiff 002 refactor to IPCStream type
2016-05-15 10:32:09 -07:00
Ben Kelly
749d2c1626
Bug 1093357 P1 Implement an actor for streaming pipes from child to parent. r=jld
...
* * *
Bug 1093357 P1 interdiff 001 address review feedback
2016-05-15 10:32:09 -07:00
Chris Peterson
353ee65255
Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium
2016-05-11 00:00:01 -07:00
Kyle Huey
223dd41b6f
Bug 1269056: Part 3 - Consolidate XPCOM and chromium event queues for the main thread. r=froydnj
2016-05-12 15:15:43 -07:00
Kyle Huey
3425031e06
Bug 1269056: Part 2 - Consolidate XPCOM and chromium event queues for non-main nsThreads. r=froydnj
2016-05-12 15:15:43 -07:00
Kyle Huey
c8143d07d7
Bug 1272415: Don't include task.h everywhere. r=froydnj
2016-05-12 15:15:43 -07:00