Commit Graph

183 Commits

Author SHA1 Message Date
Alphan Chen
7082834baf Bug 996996 - Move fopen into non-sanboxed process. r=mrbkap 2014-05-21 13:49:36 +08:00
Dave Hylands
35aaa9bb46 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
0f6f582170 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
aca898b7e3 Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-30 21:52:00 -04:00
Ed Morley
2e2eb508f0 Backed out changeset d58403b60c77 (bug 959089) 2014-04-25 17:51:11 +01:00
chiajung hung
c35afafcc1 Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-25 02:29:00 -04:00
Reuben Morais
91d34498a8 Bug 992313 - Keep track of registered idle observers so we don't call into a freed pointer. r=roc 2014-04-21 14:18:53 -03:00
Ryan VanderMeulen
d9d827e562 Merge inbound to m-c. 2014-03-26 20:58:31 -04:00
Fabrice Desré
c1daa445bf Bug 982491 - Group apps in activities chains in the same process r=cervantes,gene 2014-03-25 21:56:35 -07:00
Andrea Marchesini
623c6e2389 Bug 910010 - Implementation of PFileDescriptorSet - part 1, r=khuey 2014-03-25 18:37:13 +00:00
Cervantes Yu
0a08535234 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
Yuan Xulei
ccd09b381f Bug 910412 - Implement |getRoot|, |createDirectory| and |get| for Directory. r=dhylands, r=smaug 2014-03-05 11:25:40 +08:00
Jed Davis
8518d7e52b 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
ebd3457021 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
0d4a2d5a27 Bug 910412 - Implement |getRoot|, |createDirectory| and |get| for Directory. r=dhylands, r=smaug 2014-03-05 11:25:40 +08:00
Jed Davis
906a754859 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
Gabriele Svelto
0d89791e8f Bug 975434 - Remove the ability to cancel memory minimizations. r=njn 2014-02-25 16:37:30 +01:00
Ben Turner
4124e64466 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
Ghislain 'Aus' Lacroix
c5e004539a Bug 945323 - [Download API] Downloaded path isn't honoring download attribute. r=bz 2014-02-13 14:43:58 -08:00
Ben Turner
dceb952e3c Backout bug 956218 for build error 2014-02-06 15:19:08 +01:00
Ben Turner
9b5658e664 Bug 956218 - '(PBackground) Add a mechanism for communicating with a non-main I/O thread via thread and process links'. r=mrbkap. 2013-11-26 23:59:41 -08:00
Ben Turner
d0fe39b110 Backout bug 956218 for link error. 2014-02-06 11:50:43 +01:00
Ben Turner
d1138e8def Bug 956218 - '(PBackground) Add a mechanism for communicating with a non-main I/O thread via thread and process links'. r=mrbkap. 2013-11-26 23:59:41 -08:00
Josh Aas
cbf4bb1d5b Bug 960648: Consistently mark IPDL methods as MOZ_OVERRIDE. Part 1. r=bent 2014-01-17 11:46:41 -06:00
Luke Wagner
a5bfd61573 Bug 944821 - Support more than 1 cached asm.js module per origin (r=janv)
--HG--
rename : js/xpconnect/tests/mochitest/file_asmjs.js => dom/asmjscache/test/file_slow.js
rename : js/xpconnect/tests/mochitest/test_asmjs2.html => dom/asmjscache/test/test_cachingBasic.html
rename : js/xpconnect/tests/mochitest/test_asmjs.html => dom/asmjscache/test/test_slow.html
rename : js/xpconnect/tests/mochitest/test_asmjs3.html => dom/asmjscache/test/test_workers.html
extra : rebase_source : 14efc458193762f5be99dfff78d353a63f3fc45a
2013-12-04 22:32:52 -06:00
Reuben Morais
31437a0a30 Bug 938889 - Remote IdleService and disable idle-daily notifications in content processes. r=roc 2013-12-13 14:28:46 -02:00
Alan Huang
2cff5c1e86 Bug 841660 - Part 2: Implement format interface for volume-based device storage, r=dhylands 2013-12-03 17:32:56 +08:00
Luke Wagner
ffe398ce2a Bug 929236 - Cache asm.js compiled code in Gecko (r=janv)
--HG--
extra : rebase_source : 1c97962da0044858c583fc45e69dd22e519b8066
2013-11-18 15:49:53 -06:00
Randy Lin
4f9eb8e54d Bug 854753 - [B2G][Audio] Implement SpeakerManager API. r=amarchesini, sr=jonas 2013-11-25 12:50:03 +13:00
Andrea Marchesini
a8b74ee333 Bug 916091 - patch 1 - nsIMessageSender should send the nsIPrincipal with the messages, r=smaug 2013-11-06 17:21:15 +00:00
Nicholas Nethercote
a277702631 Bug 929797 - Implement proper memory reporting for child processes. r=khuey.
--HG--
extra : rebase_source : f0788757afc2097830295170120e1e2094993cc7
2013-10-22 22:26:24 -07:00
Nicholas Nethercote
3a359b4bb5 Bug 930851 (part 1) - Make child process naming consistent in both memory reporting paths. r=khuey.
--HG--
extra : rebase_source : 6c212dd1ddc701af8297a6de373c8650b18a1b56
2013-10-24 20:47:48 -07:00
Cervantes Yu
ec406ac440 Bug 771765 - Support template content process, part 9: allocating a toplevel protocol should return itself. r=dzbarsky
Reverse the effect in bug 879475 part 14 since we need to keep track of open protocols in the Nuwa process.
2013-09-26 12:19:09 +08:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
f620f3c75d Bug 771765 - Support template content process, part 5: PContent protocol changes. r=khuey, r=bent
Change the PContent protocol to support:
* Creating the template process.
* Forking new content processes from the template on the child side and cloning the actor on the parent side.
* Fallback to non-templated content process creation if no template-preallocated process is available.
2013-06-03 18:14:40 +08:00
David Zbarsky
68058a840f Bug 879475: Allocing an actor for a bridged or opened protocol should return bool r=jlebar
Conflicts:
	dom/ipc/ContentChild.cpp
	dom/ipc/ContentChild.h
2013-09-23 17:54:25 -04:00
Ehsan Akhgari
9890a8c148 Bug 919505 - Minimize the #includes in dom/ipc; r=jst 2013-09-23 17:30:40 -04:00
Tom Schuster
c43b3c4bfa Bug 910436 - Electrolysis: Pass PBrowser to the PExternalHelperAppParent so that we can get a window for the download box. r=jdm 2013-09-12 15:24:10 -04:00
Steven Lee
0f2f40fb0a Bug 904025 - part1: pass phone state to child process. r=khuey 2013-09-13 16:51:45 +08:00
Vicamo Yang
7252df0bea Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-07 14:19:53 +08:00
Ryan VanderMeulen
d82368f831 Backed out 7 changesets (bug 907585, bug 873351, bug 864485) for making phones unbootable.
Backed out changeset 001a849303de (bug 873351)
Backed out changeset 8020b3013618 (bug 907585)
Backed out changeset 9039460e09c5 (bug 907585)
Backed out changeset 9464e393a501 (bug 907585)
Backed out changeset d6920653de69 (bug 864485)
Backed out changeset 20ef446b27cd (bug 864485)
Backed out changeset e27c780e1ef5 (bug 864485)
2013-09-06 17:28:10 -04:00
Vicamo Yang
3f03665fbf Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-06 16:11:34 +08:00
Phil Ringnalda
90f3149a6c Back out ed63ede44a82:db85ebf7b0dc (bug 864485) for debug build bustage 2013-09-03 22:33:35 -07:00
Vicamo Yang
4ed4d84d72 Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-04 12:46:01 +08:00
Pin Zhang
abf2bdf860 Bug 870676: Part 2 - Implement IPDL for mozFMRadio. r=khuey 2013-09-03 15:28:06 -07:00
Ed Morley
fb25f85fa8 Backed out changeset 5a71d3bf48ce (bug 870676) 2013-08-29 10:42:42 +01:00
Pin Zhang
8fdbde9324 Bug 870676: Part 2 - Implement IPDL for mozFMRadio. r=khuey CLOSED TREE 2013-08-28 10:25:09 -07:00
Kyle Huey
7164ad4749 Back out my failed attempt to land bug 870676. 2013-08-28 10:23:32 -07:00
Kyle Huey
fcd4cf2b3c Bug 870676: Part 2 - Implement IPDL for mozFMRadio. r=khuey 2013-08-28 10:17:37 -07:00
Kyle Huey
0907c06c26 Back out my failed attempt to land bug 870676. 2013-08-28 10:10:39 -07:00
Kyle Huey
c4bb026ae2 Bug 870676: Part 2 - Implement IPDL for mozFMRadio. r=khuey 2013-08-28 09:45:50 -07:00