Commit Graph

307 Commits

Author SHA1 Message Date
Tim Abraldes
2271b8aa31 bug 985252. Build sandbox code regardless of whether --enable-content-sandbox/MOZ_CONTENT_SANDBOX is provided. Enable sandboxing of GMP plugins. Enable SandboxBroker to set different security policies for different process types. r=bbondy, r=cpearce, r=bent 2014-07-16 16:01:34 -07:00
Carsten "Tomcat" Book
ad86a048f8 merge fx-team to mozilla-central a=merge 2014-07-15 16:08:30 +02:00
Allison Naaktgeboren
440a023fe8 Bug 693555 - Update inline spellchecker underlining for multiprocess(e10s).r=ehsan, mrbkap 2014-07-01 15:24:27 -07:00
Mike Conley
0630b242ba Bug 1002354 - Proxy nsIScreenManager and nsIScreen's from the child process to the parent process, with caching. r=roc,jimm,smichaud,snorp.
Changes to nsIScreen and nsIScreenManager were reviewed by roc.
Changes to dom/ipc were reviewed by jimm.
Changes to gfx/src/nsDeviceContext.cpp were reviewed by roc.
Changes to widget/android were reviewed by snorp.
Changes to widget/cocoa were reviewed by smichaud.
Changes to widget/gtk were reviewed by roc.
Changes to widget/windows were reviewed by jimm.
Changes to widget/xpwidgets were reviewed by roc.

--HG--
extra : rebase_source : 3ebb5763d75d16f73b3cb5e4fc5621188b6c9622
2014-07-14 13:22:26 -04:00
Mike Conley
568a1bd519 Backed out bdf72cebcd85 to fix a CLOSED TREE.
--HG--
extra : histedit_source : 0a3977407abecc55d5564a69531d5d6ca804cd86
2014-07-14 12:20:16 -04:00
Mike Conley
0610b8cac1 Bug 1002354 - Proxy nsIScreenManager and nsIScreen's from the child process to the parent process, with caching. r=roc,jimm,smichaud,snorp.
Changes to nsIScreen and nsIScreenManager were reviewed by roc.
Changes to dom/ipc were reviewed by jimm.
Changes to gfx/src/nsDeviceContext.cpp were reviewed by roc.
Changes to widget/android were reviewed by snorp.
Changes to widget/cocoa were reviewed by smichaud.
Changes to widget/gtk were reviewed by roc.
Changes to widget/windows were reviewed by jimm.
Changes to widget/xpwidgets were reviewed by roc.

--HG--
extra : rebase_source : 90d263235b40f6f6937d361705a4dfa44253318e
extra : histedit_source : bab4e689269c67fe3eb65033b6987b93caf9a482%2C86645be32f82f0d80724532e528e597db165b1d1
2014-07-14 11:57:06 -04:00
Jed Davis
5aed487614 Bug 956961 - Open content processes' DMD log files in the parent process. r=njn
--HG--
extra : rebase_source : 2958f582f43bfac86ec29d784b4fb8825ca17257
extra : histedit_source : 96e39e36cbe506332d761c375b902284a695901a%2C245fc9ec3c6a3bbf4e5e5ce7b0da63f4477f36b9
2014-07-02 15:59:02 -07:00
Wes Kocher
f174cd042e Backed out 3 changesets (bug 956961) for non-unified build bustage
Backed out changeset f1be89cb58b9 (bug 956961)
Backed out changeset 272b01e4f856 (bug 956961)
Backed out changeset 56907af18c66 (bug 956961)
2014-07-02 15:03:29 -07:00
Jed Davis
13464be50b Bug 956961 - Open content processes' DMD log files in the parent process. r=njn 2014-07-02 11:27:48 -07:00
Jed Davis
7935402583 Bug 965724 - Use IPC for NS_OpenAnonymousTemporaryFile if in content process. r=roc 2014-06-24 10:11:36 -07:00
Benoit Jacob
747dcfc8a0 Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan 2014-06-23 15:56:07 -04:00
Mike Conley
73177efba4 Bug 989501 - Part 1: If an opening nsITabParent is found when creating a new content window, use that opener's ContentParent to make the new remote browser. r=smaug. 2014-06-20 13:55:40 -04:00
Nicholas Nethercote
39f29c384a Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Olli Pettay
b1dc98e935 Bug 1024986 - Use Preferences::AddBoolVarCache for dom.testing.ignore_ipc_principal check, r=ehsan 2014-06-13 23:40:46 +03:00
"Kan-Ru Chen (陳侃如)"
da1abf1e93 Bug 879475 - Part 007. Allow nested remote mozbrowsers to push layer transactions to the compositor r=mattwoodrow
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:39 +08:00
"Kan-Ru Chen (陳侃如)"
95bc816ffe Bug 879475 - Part 005. Implement ContentBridge r=jlebar
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:13 +08:00
"Kan-Ru Chen (陳侃如)"
06c1e368a8 Bug 879475 - Part 001. Add an nsIContentParent api r=jlebar
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:03 +08:00
Olli Pettay
5524bedbd4 Bug 1003046 - ContentChild::RecvPBrowserConstructor should not call SendGetProcessAttributes(), r=fabrice,khuey 2014-06-04 00:15:27 +03:00
Andrea Marchesini
25525c33ed Bug 957086 - patch 3 - DataStoreService in C++ OOP, r=janv 2014-06-03 15:36:46 +01:00
Ehsan Akhgari
c8fc679ea8 Backed out 3 changesets (bug 957086) for causing bug 1018406
Backed out changeset f8b6dab2f985 (bug 957086)
Backed out changeset b69bcaa24ab5 (bug 957086)
Backed out changeset 3b45335d4694 (bug 957086)

--HG--
rename : dom/datastore/DataStoreImpl.js => dom/datastore/DataStoreImpl.jsm
2014-06-02 10:19:19 -04:00
Phil Ringnalda
8f0619f51f Merge m-c to b-i 2014-05-31 20:46:07 -07:00
Ben Kelly
f574bcfb3a Bug 1016746: Consistently send 'child-process-shutdown' from ContentParent destruction. r=khuey 2014-05-30 17:03:05 -04:00
Andrea Marchesini
31fa9a1a3d Bug 957086 - patch 3 - DataStoreService in C++ for OOP, r=janv 2014-05-30 07:59:51 +01:00
Ryan VanderMeulen
e7c6eb241d Backed out changesets 083b9fb75e9a, 4cbc8cf0b619, and ef379607cff7 (bug 957086) for Win7/Win8 debug mochitest crashes.
--HG--
rename : dom/datastore/DataStoreImpl.js => dom/datastore/DataStoreImpl.jsm
2014-05-29 13:22:57 -04:00
Andrea Marchesini
06fb8e0295 Bug 957086 - patch 3 - DataStoreService in C++ OOP, r=janv 2014-05-29 16:35:03 +01:00
Gabriele Svelto
04b6e04bc5 Bug 1011493 - Assign the correct priority to the keyboard app. r=khuey 2014-05-30 15:29:43 +02:00
Alphan Chen
3a1fce7214 Bug 996996 - Move fopen into non-sanboxed process. r=mrbkap 2014-05-21 13:49:36 +08:00
Jed Davis
eb69e55005 Bug 973090 - IPC remoting for child GC/CC logging. r=mccr8, r=bent
This has a few semi-interdependent pieces:

* Factoring out the file opening/closing/renaming from the GC/CC logging.

* Using IPC to have the child log to files that the parent opened.

* Changing nsIMemoryInfoDumper.dumpGCAndCCLogsToFile to report completion
  of child process logging (which was impossible before this, and which is
  needed to have a meaningful test case).

* Changing about:memory to dump logs for child processes, matching the
  behavior of the "Measure" button, because it can tell the user where
  they are now.

* Add a test for multiprocess GC/CC log dumping (only of the XPCOM
  interface, not by clicking buttons and scraping the about:memory page,
  but done as a chrome mochitest to start remote browsers); based on
  test_memoryReporters2.xul in the same directory.
2014-05-13 13:13:00 -04:00
chiajung hung
e92efaa365 Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-30 21:52:00 -04:00
Ed Morley
43f0aad8bb Backed out changeset d58403b60c77 (bug 959089) 2014-04-25 17:51:11 +01:00
chiajung hung
ddbdc88968 Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-25 02:29:00 -04:00
Andrea Marchesini
eaa3ff4eed Bug 987064 - Remove AudioChannelType. r=roc, r=mchen, r=bent 2014-04-10 18:39:20 +01:00
Carsten "Tomcat" Book
d8cac0a0f4 Backed out changeset ac06eacc2206 (bug 987064) for B2G ICS Emulator Debug Bustage on a CLOSED TREE 2014-04-10 13:18:18 +02:00
Andrea Marchesini
e7f2c01a1a Bug 987064 - Remove AudioChannelType, r=roc, r=mchen, r=bent 2014-04-10 11:49:23 +01:00
Cervantes Yu
cfb0d6d882 Bug 968604 Part 1: Fork the browser process from Nuwa. r=khuey
--HG--
extra : rebase_source : db94e3799dc8800b45e554fa07ef3f84a5cd5d78
2014-02-13 18:42:41 +08:00
Andrea Marchesini
4fad1489fb Bug 910010 - Implementation of PFileDescriptorSet - part 1, r=khuey 2014-03-25 18:37:13 +00:00
Kyle Huey
b3d1f15c57 Bug 968031: Remove threadsafe refcounting from ContentParent and add it to the cycle collector graph. r=bent,mccr8 2014-03-19 17:22:25 -07:00
Neil Rashbrook
c3b2f90f39 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Wes Kocher
c0dba87922 Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Neil Rashbrook
b07eaa1644 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Yuan Xulei
858942196b Bug 910412 - Implement |getRoot|, |createDirectory| and |get| for Directory. r=dhylands, r=smaug 2014-03-05 11:25:40 +08:00
Jed Davis
f8d175ce14 Bug 977859 - Drop uid 0 in all content processes immediately after fork. r=bent r=kang
Now all regular child processes, including preallocated, are deprivileged.
Only Nuwa needs uid 0, because each of its children has a different uid/gid.
2014-03-12 15:48:15 -07:00
Ryan VanderMeulen
5099e8a290 Backed out 5 changesets (bug 910412) for intermittent crash whack-a-mole.
Backed out changeset e3eb9463b3e1 (bug 910412)
Backed out changeset d5863d302bde (bug 910412)
Backed out changeset 422b66d4b1ca (bug 910412)
Backed out changeset 3431d59d752e (bug 910412)
Backed out changeset b1c0310cdac1 (bug 910412)
2014-03-11 12:17:03 -04:00
Yuan Xulei
260442ce9a Bug 910412 - Implement |getRoot|, |createDirectory| and |get| for Directory. r=dhylands, r=smaug 2014-03-05 11:25:40 +08:00
Jed Davis
6a4c4691a0 Bug 946407 - Reimplement DumpMemoryInfoToTempDir in terms of GetReports. r=njn
This winds up exposing things in the nsIMemoryReporterManager interface
that arguably don't belong at that level of abstraction -- "minimize
memory usage first" and DMD -- in order to take advantage of the
infrastructure that GetReports already has for managing the child
processes.
2014-03-04 18:27:13 -08:00
Ben Turner
4891b5f251 Bug 956218 - '(PBackground) Add a mechanism for communicating with
a non-main I/O thread via thread and process links'. r=mrbkap+khuey+bsmedberg.
2013-11-26 23:59:41 -08:00
Tom Schuster
067705daf7 Bug 910384 - Change nsFilePickerProxy to be asynchronous and add a proper IPDL protocol for it. r=jdm 2014-02-18 01:30:06 +01:00
Ghislain 'Aus' Lacroix
0b88276744 Bug 945323 - [Download API] Downloaded path isn't honoring download attribute. r=bz 2014-02-13 14:43:58 -08:00
Bill McCloskey
ab1717c10c Bug 966467 - Proxy clipboard service in content process (r=vlad) 2014-02-09 16:13:10 -08:00
Ben Turner
6ea7697b78 Backout bug 956218 for build error 2014-02-06 15:19:08 +01:00