Commit Graph

820 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
93eddbfaa4 Merge mozilla-central to fx-team on a CLOSED TREEx 2015-05-07 16:11:08 +02:00
Jed Davis
5b7451a823 Bug 1154053 - Limit concurrency of e10s memory reporting. r=erahm
This changes the way nsMemoryReporterManger handles child processes;
instead of using an observer message and trying to keep a count of child
processes expected to answer, it directly iterates a copy of the list
of content processes and explicitly handles children which exit before
their reports start.

Note that GC/CC logs still run at full concurrency, and that no child
reports start until the parent is finished (see bug 1151597) regardless
of concurrency limit.
2015-05-06 20:51:00 +02:00
Paul Kerr [:pkerr]
742f5e172f Bug 1159320: disable-webrtc builds fail after bug 1100502 applied. r=rjesup 2015-05-06 09:29:33 -07:00
Kershaw Chang
af0952357e Bug 1126694 - Impl of DeviceStorageAreaListener. r=bz, dhylands 2015-05-04 08:11:00 +02:00
Valentin Gosu
8ed5beb8b6 Bug 1134596 - Separate nsIOService's network detection from offlineMode r=honzab 2015-05-02 00:14:39 +03:00
Jim Mathies
214ae9c591 Bug 1129040 - Provide a way for content processes to query the chrome side blocklist service. r=billm 2015-05-01 10:07:19 -05:00
Mike Hommey
4d93988786 Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Marco Bonardo
94d259f6c2 Bug 1154877 - Content process shouldn't use the Places Database. r=billm 2015-04-29 10:57:24 +02:00
Jed Davis
f9cc33773b Bug 1151597 - Step 1: Change memory reporting IPC to send one report per message. r=erahm
Also fixes bug 1005154 -- since there's now a method for "end of report",
we might as well call it from ActorDestroy instead of Recv__delete__.
2015-04-27 15:45:00 -04:00
Jed Davis
bb4d6e182d Bug 1151597 - Step 0: Move IPC memory report generation number to parent-side actor. r=erahm
Preliminary cleanup before the main patch.  There's no reason for the
child to send the generation number back to the parent when the parent
already had it; the IPDL actor abstraction will ensure that the binding
between parent-side state and child-side state is maintained.
2015-04-27 15:44:00 -04:00
Paul Kerr [:pkerr]
895c2747b1 Bug 1100502: about:webrtc e10s fix. Content and chrome connections are reported. r=rjesup 2015-04-21 15:29:18 -07:00
Bill McCloskey
8f4f9162c7 Bug 1155789 - Fail if sending a CPOW in parent when no CPOW manager exists (r=dvander) 2015-04-27 19:45:18 -07:00
Kershaw Chang
97a3ed979c Bug 1138793 - Add a sync IPC to get BrowserConfiguration. r=baku 2015-04-23 19:41:00 -04:00
Kyle Machulis
241556554e Bug 852944 - Gamepad API IPC; r=ted, r=baku 2015-04-23 15:05:29 -07:00
Mike Conley
09aaa1d051 Bug 1096093 - Add infrastructure for LookAndFeel metric caching, and allowing the parent process to send down cache to content process. r=jimm. 2015-04-22 10:58:15 -04:00
Carsten "Tomcat" Book
fefd2366a4 Backed out changeset 5f9c7cd773a5 (bug 1096093) for bustage on a CLOSED TREE 2015-04-23 17:18:52 +02:00
Mike Conley
3523743cfe Bug 1096093 - Add infrastructure for LookAndFeel metric caching, and allowing the parent process to send down cache to content process. r=jimm. 2015-04-22 10:58:15 -04:00
Blake Kaplan
f3d668e930 Bug 1124076 - Properly detect certs when loaded and prompt to import them. r=sworkman/dkeeler 2015-04-22 12:55:23 -07:00
Carsten "Tomcat" Book
9519249990 Backed out changeset 7f3cf84c11a9 (bug 1124076) for bustage on a CLOSED TREE 2015-04-22 13:44:23 +02:00
Blake Kaplan
1ca35a39cc Bug 1124076 - Properly detect certs when loaded and prompt to import them. r=sworkman/dkeeler 2015-04-21 14:56:00 +02:00
Bill McCloskey
8855dd6ab3 Bug 1155224 - Add targetFrameLoader property to messages (r=smaug) 2015-04-20 23:32:59 -07:00
Bill McCloskey
8f88877d4f Bug 1138520 - Don't wait for ForceKill to finish (r=jchen) 2015-04-20 23:32:58 -07:00
Blake Kaplan
c52f3b830d Bug 1141661 - Load chrome before processing delayed frame scripts. r=smaug 2015-04-20 12:50:34 -07:00
Daniel Holbert
cd09c405ed Bug 1155387: Add missing #include for imgIContainer.h to ContentParent.cpp. r=enndeakin 2015-04-16 18:27:13 -07:00
Neil Deakin
9b4fb6274d Bug 1071562, e10s, support non-text types in clipboard (html, images, etc), r=smaug 2015-04-16 15:38:12 -04:00
Jim Mathies
10823f2980 Bug 1154396 - Remove a debug printf in plugin code. No bug. r=jimm 2015-04-14 13:15:30 -05:00
Ehsan Akhgari
008c84009d Bug 1138520 follow-up: Fix the build bustage on configurations that disable the crash reporter 2015-04-14 22:56:08 -04:00
Bill McCloskey
e84c7c8c06 Bug 1138520 - Diagnostic patch for shutdown hangs (r=jchen) 2015-04-14 18:58:58 -07:00
Kershaw Chang
d516b6b845 Bug 1020179 - Let PContent manage PContentPermissionRequest. r=fabrice, r=khuey 2015-04-13 21:08:00 -04:00
Mike Conley
40e1091ebb Bug 1152864 - Add DISABLE_UNSAFE_CPOW_WARNINGS environment variable for our test harnesses. r=jimm. 2015-04-10 11:56:49 -04:00
Alexandru Tifrea
bb499bf79a Bug 966395 - Correctly propagate the input language's direction on OSX. r=masayuki/mrbkap
Gtk patch written by mrbkap@mozilla.com, with r=roc
2015-04-10 15:18:05 -07:00
Ryan VanderMeulen
ab7bdb7da6 Backed out changeset 2a040986845d (bug 1071562) for bustage.
CLOSED TREE
2015-04-10 13:14:33 -04:00
Neil Deakin
adeb13252c Bug 1071562, e10s, support non-text types in clipboard (html, images, etc), r=smaug 2015-04-10 12:51:06 -04:00
Carsten "Tomcat" Book
6e5babb188 Backed out changeset 35e6bbc2136b (bug 1134596) for Android Crashtest failures 2015-04-09 12:33:41 +02:00
Valentin Gosu
49f6c78afe Bug 1134596 - Separate nsIOService's network detection from offlineMode r=honzab 2015-04-09 06:32:53 +03:00
Olli Pettay
9e7f6dc78a Bug 936092, initial DnD support for e10s, r=enndeakin,karlt 2015-04-08 21:48:11 +03:00
Ryan VanderMeulen
b9052e5c3e Backed out changesets 33d37539c4ab and 55524bdeb708 (bug 936092) for suspicion of causing e10s test_bug417418.html asserts on Linux.
CLOSED TREE
2015-04-08 13:52:21 -04:00
Olli Pettay
39278dff15 Bug 936092, initial DnD support for e10s, r=enndeakin,karlt 2015-04-08 18:30:03 +03:00
Mike Conley
65a98b8305 Bug 1148012 - Add a run ID for plugins to differentiate subsequent runs of the same plugins. r=jimm.
Normally, this could be served by the process ID of a plugin, however, run ID is meant
to be consumed by multi-process browser chrome code for telling different runs of a
plugin apart (for example, for searching the DOM for a crashed instance of a plugin,
while ensuring that we don't accidentally find newly spawned instances that have not
crashed). Exposing something as low-level as the process ID to browser chrome code
seemed like Too Much Information. Also, there is the extremely unlikely chance that
a process ID might be re-used immediately after the original process shuts down. This
run ID avoids that case, regardless of how unlikely.
2015-03-17 13:42:34 -04:00
Jim Mathies
0c9782b137 Bug 1132874 - Simplify PPluginWidget protocol handling, and avoid sending async messages from the parent. Addresses a problem with sub protocols that are torn down randomly from either side of the connection. r=aklotz 2015-04-07 08:17:27 -05:00
Peter Van der Beken
8cdb49920e Bug 1057908 - GeckoMediaPluginService needs to be proxied from Content processes to parent process. Part 5 - use bridging for GMP in e10s. r=billm. 2015-02-10 11:49:03 +01:00
Bob Owen
7517f0b07d Bug 1119878 Part 2: Change IPC code to hold ProcessID instead of ProcessHandle. r=billm, r=dvander, r=aklotz, r=cpearce 2015-04-01 09:40:35 +01:00
Wes Kocher
d65dddae26 Merge m-c to inbound a=merge 2015-03-27 17:31:19 -07:00
Bevis Tseng
dac703aadd Bug 1114935 - Part 4.2: Add IPC Implementation of nsIIccService. r=echen 2015-01-07 16:58:35 +08:00
Gabor Krizsanits
a745fc8934 Bug 1126014 - DomainPolicy support for e10s. r=mrbkap 2015-03-24 15:29:16 +01:00
Ehsan Akhgari
ea41d8de48 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Gregor Wagner
1f49174393 Backout Bug 1114935 for causing bug 1144567. 2015-03-18 11:48:52 -07:00
Bevis Tseng
1861dd732c Bug 1114935 - Part 4.2: Add IPC Implementation of nsIIccService. r=echen 2015-01-07 16:58:35 +08:00
Jed Davis
5938e06b5c Bug 1140714 - Pass through remote NS_OpenAnonymousTemporaryFile failure to caller. r=billm 2015-03-10 10:32:00 +01:00
Bill McCloskey
7227c04f2c Bug 1139628 - Don't load delayed process scripts until channel is open (r=smaug) 2015-03-09 17:54:34 -07:00