Commit Graph

573 Commits

Author SHA1 Message Date
chiajung hung
6d989dc8a2 Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-30 21:52:00 -04:00
Nathan Froyd
0989adf8a1 Bug 1003306 - part 2 - use services::GetPermissionManager everywhere that's appropriate; r=ehsan 2014-04-29 13:27:26 -04:00
Birunthan Mohanathas
eeb9aaaa94 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
d7140486ee Backed out changeset d58403b60c77 (bug 959089) 2014-04-25 17:51:11 +01:00
chiajung hung
219670ffd0 Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-25 02:29:00 -04:00
Reuben Morais
6e4220b8a5 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
d7ac4c6c4e Merge inbound to m-c. 2014-03-26 20:58:31 -04:00
Fabrice Desré
156a131fa4 Bug 982491 - Group apps in activities chains in the same process r=cervantes,gene 2014-03-25 21:56:35 -07:00
Andrea Marchesini
95913f6157 Bug 910010 - Implementation of PFileDescriptorSet - part 1, r=khuey 2014-03-25 18:37:13 +00:00
Cervantes Yu
54e9f139d7 Bug 968604 Part 1: Fork the browser process from Nuwa. r=khuey 2014-02-13 18:42:41 +08:00
Kyle Huey
ea94e7d568 Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Yuan Xulei
22b80430dc Bug 910412 - Implement |getRoot|, |createDirectory| and |get| for Directory. r=dhylands, r=smaug 2014-03-05 11:25:40 +08:00
Jed Davis
26c398a85e 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
f3e7f70e31 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
d688dc7974 Bug 910412 - Implement |getRoot|, |createDirectory| and |get| for Directory. r=dhylands, r=smaug 2014-03-05 11:25:40 +08:00
L. David Baron
92c797474e Bug 976777: Truncate long source lines in script errors before sending them to the parent process. r=bent
This fixes an out-of-memory foreground-tab crash that I could reliably
reproduce on a 256MB Firefox OS phone, and I think also significantly
reduces the number of background tabs I'm seeing killed due to low
memory.
2014-03-04 20:13:19 -08:00
Jed Davis
867bd0590a 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
Jed Davis
e91d511c9c Bug 970676 - Turn on sandboxing on all relevant threads. r=dhylands r=bent f=kang 2014-02-27 13:18:01 -08:00
Gabriele Svelto
92d6d17be0 Bug 975434 - Remove the ability to cancel memory minimizations. r=njn 2014-02-25 16:37:30 +01:00
Ben Turner
31f62ce211 Bug 956218 - Fix build bustage for B2G-JB on a CLOSED TREE 2014-02-24 20:16:01 -08:00
Ben Turner
e066b980d0 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
Cervantes Yu
8a815e4c92 Bug 965912 - Initialize DateCacheCleaner (which registers an observer to the chrome process) after forking from the Nuwa process. r=khuey 2014-02-14 16:43:51 +08:00
Brian R. Bondy
245ab986a7 Bug 969559 - Set delayed restricted integrity in child process to block off pipe and file access after LowerToken call. r=aklotz 2014-02-14 11:07:16 -05:00
Ghislain 'Aus' Lacroix
fbdabe927e Bug 945323 - [Download API] Downloaded path isn't honoring download attribute. r=bz 2014-02-13 14:43:58 -08:00
Ben Turner
214106c098 Backout bug 956218 for build error 2014-02-06 15:19:08 +01:00
Ben Turner
d4a90e7e20 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
6ef7e5c479 Backout bug 956218 for link error. 2014-02-06 11:50:43 +01:00
Ben Turner
190a54d57f 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
Bill McCloskey
c9cf160717 Bug 947045 - dup() child's X file descriptor in parent process (r=karl) 2014-02-05 08:37:26 -08:00
Nicholas Nethercote
2fba2310da Bug 903131 - Add save GC/CC logs buttons to about:memory. r=njn,mccr8. 2014-01-31 14:43:08 -08:00
Phil Ringnalda
82bfd6faa0 Back out ea871fc76f16 (bug 903131) for test_aboutmemory6.xul crashes 2014-02-01 01:43:38 -08:00
Eric Rahm
7ed35308c7 Bug 903131 - Add save GC/CC logs buttons to about:memory. r=njn,mccr8.
- Added buttons, JS to trigger logs to be generated.
- Added out params to return log paths.
- Added attributes to cycle collector interface to export log paths.
2014-01-31 14:43:08 -08:00
Blake Kaplan
263fdb5491 Bug 966102 - Squelch a bunch of warnings starting child processes. r=bsmedberg 2014-01-31 15:02:30 -08:00
Luke Wagner
907662c172 Bug 944821 - Support more than 1 cached asm.js module per origin (r=janv) 2013-12-04 22:32:52 -06:00
Ehsan Akhgari
68bfe70f09 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Reuben Morais
89efee2e14 Bug 938889 - Remote IdleService and disable idle-daily notifications in content processes. r=roc 2013-12-13 14:28:46 -02:00
Nicholas Nethercote
d59d2c5af8 Bug 947802 (part 2) - Replace enumerateReporters() with getReportsForThisProcess(). r=mccr8. 2013-12-01 16:29:37 -08:00
Patrick Wang
09c4625801 Bug 944665: Part 2: Call PreloadSlowThings after Nuwa fork. r=khuey 2013-11-29 17:28:54 +08:00
Phil Ringnalda
9272b5924a Backed out 5 changesets (bug 944665, bug 922465, bug 930282) for b2g xpcshell crashes
CLOSED TREE

Backed out changeset c4f970dd2a4f (bug 930282)
Backed out changeset 625f5303fc68 (bug 930282)
Backed out changeset bf8e90edd152 (bug 922465)
Backed out changeset a21b57c78253 (bug 944665)
Backed out changeset 9275a2efc9e3 (bug 944665)
2013-12-08 15:32:15 -08:00
Patrick Wang
848e297aa6 Bug 944665: Part 2: Call PreloadSlowThings after Nuwa fork. r=khuey 2013-12-07 10:32:41 +08:00
Ryan VanderMeulen
b11cde01a5 Merge b2g-inbound to m-c on a CLOSED TREE. 2013-12-04 17:34:18 -05:00
Alan Huang
eef0eade58 Bug 841660 - Part 2: Implement format interface for volume-based device storage, r=dhylands 2013-12-03 17:32:56 +08:00
Nicholas Nethercote
e86037d6fa Bug 927740 (part 1) - Fix observation of GC and CC requests by child processes. r=khuey. 2013-12-02 20:07:02 -08:00
Luke Wagner
713797d27a Bug 929236 - Cache asm.js compiled code in Gecko (r=janv) 2013-11-18 15:49:53 -06:00
Randy Lin
a5d989d0c7 Bug 854753 - [B2G][Audio] Implement SpeakerManager API. r=amarchesini, sr=jonas 2013-11-25 12:50:03 +13:00
Cervantes Yu
520e8829eb Bug 890870 - Start freezing the Nuwa process after PreloadSlowThings(). r=khuey 2013-10-01 19:28:44 +08:00
Andrea Marchesini
5cee464d3e Bug 916091 - patch 1 - nsIMessageSender should send the nsIPrincipal with the messages, r=smaug 2013-11-06 17:21:15 +00:00
Nicholas Nethercote
c10613ba57 Bug 929797 - Implement proper memory reporting for child processes. r=khuey. 2013-10-22 22:26:24 -07:00
Nathan Froyd
d3d40de64f Bug 918651 - part 7a - fix source files bootlegging things from IPDL headers; rs=ehsan 2013-10-18 16:57:55 -04:00
Brian R. Bondy
a63cdf6ac3 Bug 933894 - Don't try to build Unix Sandbox on OSX. r=aklotz 2013-11-01 16:34:21 -07:00