Commit Graph

631 Commits

Author SHA1 Message Date
Jed Davis
d419b12871 Bug 1009995 - Require seccomp-bpf on B2G devices based on Android >= KitKat. r=mwu r=kang 2014-08-15 11:56:28 -07:00
Kershaw Chang
77d6dbec11 Bug 1020204 - Allow creating nested oop MozApp iframe. r=khuey, r=kanru 2014-08-13 02:18:00 -04:00
Edgar Chen
fe87a77684 Bug 843452 - Part 3-2: IPDL implementation for MobileConnection. r=smaug 2014-07-01 18:28:18 +08:00
Ehsan Akhgari
2a5cde4a07 Bug 1048247 - Fix more bad implicit constructors in DOM; r=smaug 2014-08-05 09:19:51 -04:00
Kyle Huey
41b7363fe8 Back out bug 874353, which is suspected of causing bug 1046956. r=me a=backout 2014-08-01 11:02:55 -07:00
Sean Lin
a0abec6ac4 Bug 1000829 - getDataStores() should be able to retrieve data stores by owner. r=baku sr=jst 2014-07-17 11:53:23 +08:00
Sean Lin
9b33971320 Bug 874353 - Remove CPU wake lock control from ContentParent. r=gene, khuey 2014-06-24 10:51:48 +08:00
Ehsan Akhgari
13b9d95037 Bug 1045067 - Fix some bad implicit constructors in dom/content/ipc; r=smaug 2014-07-28 13:17:51 -04:00
Wes Kocher
d0b8b380da Backed out changeset 51ff7710ccbc (bug 966395) for assertion errors during the build 2014-07-24 14:07:53 -07:00
Alexandru Tifrea
da056c1744 Bug 966395 - Use a puppet bidi keyboard in child processes. r=mrbkap/masayuki
--HG--
extra : rebase_source : c6a1c731d8a2c8c3964e59582dfd8e8e59e1b79f
2014-07-11 12:10:52 -07:00
Jim Mathies
fe50a84be0 Bug 948574 - Provide limited access to nsISiteSecurityService apis in the child, and prevent the direct creation of nsISiteSecurityService. r=bz, sr=ptheriault, original author: David Keeler <dkeeler@mozilla.com> 2014-07-22 07:17:45 -05:00
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
Wes Kocher
51dc72d3bb Merge b2g-inbound to m-c a=merge 2014-07-08 20:13:04 -07:00
Kyle Huey
f7d7f2ca04 Bug 1033618: If we take the preallocated process but fail to start the app try again with a non-preallocated process. r=smaug 2014-07-08 15:56:22 -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
Sotaro Ikeda
b8823a82f6 Bug 1034294 - Fix SharedBufferManagerParent r=nical 2014-07-08 06:46:17 -07:00
Wes Kocher
80bb9df562 Backed out changeset 476485e3e30a (bug 1034294) for b2g m8 orange on a CLOSED TREE 2014-07-07 11:24:14 -07:00
Sotaro Ikeda
3755ec3db3 Bug 1034294 - Fix SharedBufferManagerParent 2014-07-07 07:11:40 -07:00
Sotaro Ikeda
e8660d0951 Bug 1026562 - "Always create ImageBridge when OMTC is enabled on gonk". r=nical 2014-06-17 09:41:00 +02: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
"Kan-Ru Chen (陳侃如)"
3e18773182 Bug 1024470 - Make sure we run InitOnContentProcessCreated in all cases. r=khuey 2014-06-19 01:22:05 +08: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
"Kan-Ru Chen (陳侃如)"
b65e9bb989 Bug 1020169 - Part 1. Remove static constructors. r=mattwoodrow 2014-06-14 15:24:59 +08: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
dc90f39542 Merge m-c into m-i 2014-06-02 10:22:11 -04: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
Carsten "Tomcat" Book
38afec9d3c Merge mozilla-central to mozilla-inbound 2014-06-02 15:23:46 +02:00
Robert O'Callahan
a8bbe633b9 Bug 1015664. Part 2: Remove some NS_HIDDEN usage. r=bsmedberg 2014-06-03 00:08:24 +12: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
Alphan Chen
bd5af6e9fa Bug 996996 - Correct indention in ContentChild.cpp and ContenParent.cpp. r=mrbkap 2014-05-28 11:04:23 +08:00
Kershaw Chang
8b90d9d66e Bug 1013094 - Rename browser.manifestURL and browser.homescreenURL, r=fabrice 2014-05-27 18:01:01 +08:00
Fabrice Desré
0f9a20f3c0 Bug 1014267 - Use the correct pref to check the system app manifest url in ContentParent.cpp r=cyu 2014-05-22 11:33:59 -07: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
Bas Schouten
1dc569ec06 Bug 1009616: Specify async video separately for content-processes. r=nical 2014-05-18 05:16:51 +02:00
Bill McCloskey
f080a0f66d Bug 996785 - Bidirectional CPOWs (r=mrbkap) 2014-05-16 16:40:37 -07:00
Bill McCloskey
ce0b3770fa Bug 996785 - Move CPOW wrapper answering code (r=mrbkap) 2014-05-16 16:40:36 -07:00
Cervantes Yu
2e61ca824a Bug 988689: redirect pref updates to the frozen Nuwa process to its forked child. r=khuey 2014-05-09 19:30:42 +08:00
Dave Hylands
9f231b0a6c Bug 1007053 - Pt1 - Fix shadowing of IsFake attribute in the Child Volume cache. r=qDot 2014-05-13 15:48:04 -07: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
Neil Rashbrook
0b29793db8 Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg 2014-05-11 10:47:11 +01:00
Bill McCloskey
a57b24343c Bug 978892 - [e10s] Avoid racing when creating PJavaScript object (r=mrbkap) 2014-05-08 15:43:53 -07:00
Neil Rashbrook
a998ae77f6 Backout of bug 514280 changeset c738f7348dea for build failure on a CLOSED TREE 2014-05-08 20:35:09 +01:00
Neil Rashbrook
f9520ae677 Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg 2014-05-08 20:08:38 +01:00
Ben Turner
d43c965184 Bug 982779 - Ensure that child->parent IPC blobs are never mysterious, r=baku. 2014-04-29 13:02:41 -07:00
Bill McCloskey
921c69a653 Bug 990598 - [e10s] Disable CPOW timeouts (r=jimm) 2014-05-05 13:12:46 -07:00
Josh Aas
f00583cc36 Bug 960774: Add ActorDestroy impl for all parent-side actors that don't have one. It will be required soon. r=bent 2014-05-02 13:44:13 -05: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
Ting-Yu Chou
c4938d1cf0 Bug 1002527 - Fix not to initialize remote browser's ContentParent twice. r=bent
ContentParent::GetNewOrUsed() initialize the ContentParent always, even it is an
initialized one from PreallocatedProcessManager::Take(). Initialize twice makes
ContentParent to receive two the same observed event, and creates leak in both
observer list and itself.
2014-04-30 02:00:00 -04:00
Nathan Froyd
4c20a67b0d Bug 1003306 - part 2 - use services::GetPermissionManager everywhere that's appropriate; r=ehsan 2014-04-29 13:27:26 -04:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06: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
Alessio Placitelli
8414841380 Bug 529877 - Remove stray printfs in e10s dom/ipc code. r=cjones 2014-04-13 14:18:02 -04:00
Ms2ger
0b8b9b8d5f Backed out changeset ec23d10b47eb for build failures on B2G. 2014-04-12 12:09:37 +02:00
Alessio Placitelli
c9863d7f9a Bug 529877 - Remove stray printfs in e10s dom/ipc code; r=cjones 2014-04-12 10:55:49 +02: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
Jed Davis
ed9575b3aa Bug 989042 - Use waitid() only on Gonk; unbreak BSD build. r=bsmedberg 2014-04-03 16:19:00 -04:00
snigdha
90f0f64d5b Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey 2014-04-01 08:29:25 -04:00
Ben Turner
26b0254877 Bug 977819 - 'Allow PBackgroundChild implementors to hook into the threadlocal space'. r=mrbkap. 2014-03-31 19:55:36 -07:00
Ryan VanderMeulen
4dc5242df5 Merge inbound to m-c. 2014-03-26 20:58:31 -04:00
Fabrice Desré
564fd419ad Bug 982491 - Group apps in activities chains in the same process r=cervantes,gene 2014-03-25 21:56:35 -07:00
Andrea Marchesini
78d2c5e587 Bug 910010 - Implementation of PFileDescriptorSet - part 2, r=bent 2014-03-25 18:37:28 +00:00
Andrea Marchesini
4fad1489fb Bug 910010 - Implementation of PFileDescriptorSet - part 1, r=khuey 2014-03-25 18:37:13 +00:00
Jed Davis
f290cbcf2b Bug 943174 - Avoid waitpid on already-reaped content processes. r=bsmedberg 2014-03-21 08:50:07 -04: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
Carsten "Tomcat" Book
8dd01a51fe merge b2g-inbound to mozilla-central 2014-03-20 14:07:58 +01: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
Cervantes Yu
295a735e85 Bug 959966: prevent the preallocated process from being killed by the lowmem killer by rasing its priority. r=khuey,gsvelto 2014-03-13 15:24:42 +08: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
Kyle Huey
510a49016d Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07: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
Jed Davis
b756489606 Bug 976398 - Check camera permissions directly instead of using Unix groups. r=mwu r=bent
Loosely based on the code used to check PRemoteOpenFile.
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
Cervantes Yu
5b8d937f24 Bug 977539 - Add initialization of date cache cleaner to the chrome process. r=khuey 2014-03-10 08:36:12 -04:00
Jed Davis
d3e813ea36 Bug 968002 - Reject AddNewProcess from non-Nuwa children. r=bent 2014-03-06 08:52:52 -05: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