Ryan VanderMeulen
a154cec3e0
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
d0efc292f4
Bug 910412 - Implement |getRoot|, |createDirectory| and |get| for Directory. r=dhylands, r=smaug
2014-03-05 11:25:40 +08:00
L. David Baron
449dc2dfe0
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
76ab6d796b
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
789c3d2ddb
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
11bc10edd4
Bug 975434 - Remove the ability to cancel memory minimizations. r=njn
2014-02-25 16:37:30 +01:00
Ben Turner
a7ea91ce2d
Bug 956218 - Fix build bustage for B2G-JB on a CLOSED TREE
2014-02-24 20:16:01 -08:00
Ben Turner
a80f9315df
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
9801876ee5
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
88633c121b
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
1fa90496e3
Bug 945323 - [Download API] Downloaded path isn't honoring download attribute. r=bz
2014-02-13 14:43:58 -08:00
Ben Turner
3bcfec25c8
Backout bug 956218 for build error
2014-02-06 15:19:08 +01:00
Ben Turner
d251cb806b
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
10cf13f470
Backout bug 956218 for link error.
2014-02-06 11:50:43 +01:00
Ben Turner
4944532d70
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
a81cf35609
Bug 947045 - dup() child's X file descriptor in parent process (r=karl)
2014-02-05 08:37:26 -08:00
Nicholas Nethercote
9c25748c63
Bug 903131 - Add save GC/CC logs buttons to about:memory. r=njn,mccr8.
...
--HG--
extra : rebase_source : 56af9b89675394b5a219f699b96c1d26c00adc38
2014-01-31 14:43:08 -08:00
Phil Ringnalda
63ca0614b6
Back out ea871fc76f16 (bug 903131) for test_aboutmemory6.xul crashes
2014-02-01 01:43:38 -08:00
Eric Rahm
d7d546ac18
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.
--HG--
extra : rebase_source : cbce2c62b577c820fd099706d72ab7b20992a00a
2014-01-31 14:43:08 -08:00
Blake Kaplan
f97e8a437f
Bug 966102 - Squelch a bunch of warnings starting child processes. r=bsmedberg
...
--HG--
extra : rebase_source : 82a0f7349df90a36dc4580fcaa121d80d0aa94a1
2014-01-31 15:02:30 -08:00
Luke Wagner
e99d6d95da
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
Ehsan Akhgari
1b83407ce9
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
6556a5fbd3
Bug 938889 - Remote IdleService and disable idle-daily notifications in content processes. r=roc
2013-12-13 14:28:46 -02:00
Nicholas Nethercote
8450156576
Bug 947802 (part 2) - Replace enumerateReporters() with getReportsForThisProcess(). r=mccr8.
...
--HG--
extra : rebase_source : 1c70e838e3600745f69c5772a084398f78d4c477
2013-12-01 16:29:37 -08:00
Patrick Wang
b8a63f9739
Bug 944665: Part 2: Call PreloadSlowThings after Nuwa fork. r=khuey
2013-11-29 17:28:54 +08:00
Phil Ringnalda
f72fddae43
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)
--HG--
extra : rebase_source : bfbe3786e0db2073e26dc383b89525d22be0b3bd
2013-12-08 15:32:15 -08:00
Patrick Wang
f61cdb52d9
Bug 944665: Part 2: Call PreloadSlowThings after Nuwa fork. r=khuey
2013-12-07 10:32:41 +08:00
Ryan VanderMeulen
5d77e7eab0
Merge b2g-inbound to m-c on a CLOSED TREE.
2013-12-04 17:34:18 -05:00
Alan Huang
d72d438775
Bug 841660 - Part 2: Implement format interface for volume-based device storage, r=dhylands
2013-12-03 17:32:56 +08:00
Nicholas Nethercote
c20ea4de69
Bug 927740 (part 1) - Fix observation of GC and CC requests by child processes. r=khuey.
...
--HG--
extra : rebase_source : 97e44a40d98ad71152dd24a8ea6ff0098aab1df4
2013-12-02 20:07:02 -08:00
Luke Wagner
5ed834b091
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
2392de7e85
Bug 854753 - [B2G][Audio] Implement SpeakerManager API. r=amarchesini, sr=jonas
2013-11-25 12:50:03 +13:00
Cervantes Yu
82360aea08
Bug 890870 - Start freezing the Nuwa process after PreloadSlowThings(). r=khuey
2013-10-01 19:28:44 +08:00
Andrea Marchesini
b331fe6f43
Bug 916091 - patch 1 - nsIMessageSender should send the nsIPrincipal with the messages, r=smaug
2013-11-06 17:21:15 +00:00
Nicholas Nethercote
8aa18001f7
Bug 929797 - Implement proper memory reporting for child processes. r=khuey.
...
--HG--
extra : rebase_source : f0788757afc2097830295170120e1e2094993cc7
2013-10-22 22:26:24 -07:00
Nathan Froyd
05e020c835
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
ed3814e084
Bug 933894 - Don't try to build Unix Sandbox on OSX. r=aklotz
2013-11-01 16:34:21 -07:00
Nicholas Nethercote
5da5c4cd53
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
Brian R. Bondy
4d95d9a603
Bug 931998 - Enable MOZ_CONTENT_SANDBOX for XP_UNIX instead of XP_LINUX so it gets included in B2G. r=bsmedberg
2013-10-28 20:28:21 -07:00
Brian R. Bondy
de45bd4422
Bug 922756 - Build config for Chromium sandbox. r=bsmedberg
...
--HG--
rename : security/sandbox/LICENSE => security/sandbox/linux/LICENSE
rename : security/sandbox/Makefile.in => security/sandbox/linux/Makefile.in
rename : security/sandbox/Sandbox.cpp => security/sandbox/linux/Sandbox.cpp
rename : security/sandbox/Sandbox.h => security/sandbox/linux/Sandbox.h
rename : security/sandbox/android_arm_ucontext.h => security/sandbox/linux/android_arm_ucontext.h
rename : security/sandbox/android_i386_ucontext.h => security/sandbox/linux/android_i386_ucontext.h
rename : security/sandbox/android_ucontext.h => security/sandbox/linux/android_ucontext.h
rename : security/sandbox/arm_linux_syscalls.h => security/sandbox/linux/arm_linux_syscalls.h
rename : security/sandbox/linux_seccomp.h => security/sandbox/linux/linux_seccomp.h
rename : security/sandbox/linux_syscalls.h => security/sandbox/linux/linux_syscalls.h
rename : security/sandbox/moz.build => security/sandbox/linux/moz.build
rename : security/sandbox/seccomp_filter.h => security/sandbox/linux/seccomp_filter.h
rename : security/sandbox/x86_32_linux_syscalls.h => security/sandbox/linux/x86_32_linux_syscalls.h
rename : security/sandbox/x86_64_linux_syscalls.h => security/sandbox/linux/x86_64_linux_syscalls.h
2013-10-28 14:54:36 -07:00
Birunthan Mohanathas
98f3b9652a
Bug 784739 - Switch from NULL to nullptr in dom/ (1/2); r=ehsan
2013-10-28 10:04:12 -04:00
Phil Ringnalda
780e2a2c5f
Back out f872d288480b:9b86b4e60b29 (bug 929513) for failing to build on Windows
...
CLOSED TREE
2013-10-27 15:38:40 -07:00
David Zbarsky
031da49889
Bug 929513 Part 10: Convert ScreenSizeChanged to use gfx::IntSize r=nical
2013-10-27 17:53:28 -04:00
Cervantes Yu
0a6a25b7c4
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)
f1e0772455
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
9eca84e4d8
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
8c43a4f37f
Bug 919505 - Minimize the #includes in dom/ipc; r=jst
2013-09-23 17:30:40 -04:00
Tom Schuster
5de50e9d38
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
e79d5d6cda
Bug 904025 - part1: pass phone state to child process. r=khuey
2013-09-13 16:51:45 +08:00
Nicholas Nethercote
7983bb2a7f
Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00