Commit Graph

820 Commits

Author SHA1 Message Date
Drew Willcoxon
d0b4463a72 Bug 841495 - Implement background page thumbnail service (part 1: propagate private-browsing state from parent docshell to remote docshell). r=smaug 2013-05-06 21:10:31 -07:00
Justin Lebar
a23ff0f91f No bug: Fix comment in ContentParent.cpp. DONTBUILD
Due to a typo in the comment, this was wasn't renamed in bug 844343 part 4.
2013-04-29 18:50:09 -04:00
Andreas Gal
1d0cdd180c Bug 862970 - Don't lock images on the active page on B2G. r=jlebar,joe 2013-04-25 18:36:53 -07:00
Justin Lebar
746226bfd1 Bug 844323 - Part 2 (The Main Event): Move ProcesPriorityManager to the main process. r=bent,khuey 2013-04-25 20:53:26 -04:00
Justin Lebar
f1b1f631b1 Bug 844323 - Part 1: Move process preallocation logic out of ContentParent and into a new file, PreallocatedProcessManager. r=bent
Also make the PreallocatedProcessManager respond to pref changes.  This allows us to write a test involving the preallocated process.  Making this change was the main motivation for this patch; I moved the logic out of ContentParent because with the pref-watching code it was becoming unweildy.
2013-04-25 20:53:26 -04:00
Justin Lebar
123c6e7548 Bug 844323 - Prelude part 4: Use 's' prefix on class-static variables, not 'g'. r=me 2013-04-25 20:53:26 -04:00
Dave Hylands
45dc2e3a1e Bug 860934 - Use relative paths when handling device storage r=dougt 2013-04-18 16:13:23 +02:00
Honza Bambas
bfdde0b947 Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-15 14:38:48 +02:00
Guilherme Gonçalves
cad45604de Bug 850442 - Part 3 - Convert callbacks, Geolocation and Position. r=bz 2013-04-12 13:01:29 -07:00
Ryan VanderMeulen
4ff6d23854 Backed out 2 changesets (bug 850362, bug 600307) for Windows XP leaks on a CLOSED TREE. 2013-04-11 17:00:28 -04:00
Honza Bambas
2b5babae31 Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-11 18:26:06 +02:00
Eitan Isaacson
975a04a847 Bug 525444 - (Part 3/3) Support OOP speech synth. r=smaug 2013-04-03 15:13:17 -07:00
Jim Blandy
6112b0b38b Bug 847656: Change ContentParent::GetNewOrUsed to return an already_AddRefed value. r=khuey 2013-04-02 16:52:51 -07:00
vliu
f47ccfe776 Bug 849330 - Camera recording needs AID_SDCARD_RW capability. r=dhylands 2013-03-13 14:44:43 +08:00
Ryan VanderMeulen
fdd49b53f4 Backed out changeset 42d5d3080bc4 (bug 847656) for mochitest crashes on a CLOSED TREE. 2013-03-20 14:17:22 -04:00
Jim Blandy
c9b9551a67 Bug 847656: Change ContentParent::GetNewOrUsed to return an already_AddRefed value. r=khuey 2013-03-20 10:30:09 -07:00
William Chen
1d98f88436 Bug 782211 - Part 4: Add function to remote test for permission in nsIPermissionManager. r=cjones 2013-03-18 06:24:53 -07:00
William Chen
4c059d6277 Bug 782211 - Part 2: Updated the nsIAlertsService API and its implementation to include support for bidi overrides and a method to close notifications. r=dougt 2013-03-18 06:24:53 -07:00
Gene Lian
466e249b56 Bug 844429 - B2G SMS & MMS: move SMS codes into dom/mobilemessage to make it generic for MMS. r=vicamo 2013-03-01 16:38:47 +08:00
David Dahl
3a590e07bd Bug 673432 - Implement window.crypto.getRandomValues for FirefoxOS r=khuey 2013-02-27 14:31:19 -06:00
Josh Matthews
6fef3e5a3c Bug 832411 - Track geolocation requests' use of high accuracy and ensure the providers are update when necessary. r=dougt 2013-02-26 12:27:31 -05:00
Josh Matthews
d74f020770 Bug 832232 - Protect against missing geolocation services during shutdown. r=dougt 2013-02-20 02:10:47 -05:00
Justin Lebar
92480793cc Bug 841634 - Assign ContentParent::mChildID to a unique value in the constructor, instead of in RecvGetProcessAttributes. r=cjones 2013-02-15 08:40:35 -05:00
Justin Lebar
bd66ae2dfe Bug 836654 - Part 9: During app-frame creation, take the CPU wake lock only after sending down the mozapptype. r=cjones
This prevents the child process from downgrading its CPU priority when
it notices that it has the CPU wake lock but no "critical" frames.

In this patch we also reduce the scope of a race condition which occurs
when we don't launch a new process for an app.  In this case, we still
need to set the child process's priority and then check that the process
is still alive.

Because this isn't a brand-new process, it's possible that the process
will downgrade its priority (e.g. due to a timer) after we check that
it's still alive and before it notices that we've acquired the CPU wake
lock on its behalf.  This patch does not resolve that race.
2013-02-14 15:41:30 -05:00
Justin Lebar
cabbef949d Bug 836654 - Part 7: Hold a CPU wake lock while a "critical" process that's expecting a system message loads. r=cjones,fabrice 2013-02-14 15:41:30 -05:00
Justin Lebar
56407a3269 Bug 836654 - Part 0: Add constants CONTENT_PROCESS_{UNKNOWN_ID,MAIN_ID} to HalTypes.h and remove the equivalent constants from ContentParent.h. r=cjones 2013-02-14 15:41:29 -05:00
Justin Lebar
0b3a185120 Bug 840277 - Explicitly check that the preallocated process hasn't been killed before we use it. r=cjones
We have to do this check /after/ we set the process's priority, since
before then, it has BACKGROUND priority and is a candidate for killing.
2013-02-14 15:41:29 -05:00
Olli Pettay
368eda33e9 Bug 839528 - Change the namespace of xpidl dictionary helpers, r=khuey 2013-02-11 21:37:50 +02:00
Justin Lebar
dc31d5b865 Bug 838616 - Eliminate a process-priority race condition around preallocated process creation. r=cjones
Previously, it was possible to return a dead preallocated process.  This
patch eliminates or at least significantly reduces the likelihood of
this race.
2013-02-08 14:32:23 +00:00
Justin Lebar
96bbb75b54 Bug 838616 - Boost preallocated process's priority sooner after we decide to transform it into an app process. r=cjones 2013-02-08 14:32:23 +00:00
Justin Lebar
89ba022f2c Bug 838620 - Eliminate the ChildOSPrivileges typedef in favor of base::ChildPrivileges. r=cjones 2013-02-08 14:32:23 +00:00
Ben Turner
0e4b87a90b Bug 832419 - 'Clean up IPC blobs'. r=sicking. 2013-01-17 12:17:33 -08:00
Justin Lebar
5b02b850b5 Bug 834059 - Send processses into the foreground when they first launch, so they don't get killed quite so quickly. r=cjones
This patch also sends the preallocated process into the background immediately after it's launched.
2013-01-26 16:14:01 -05:00
Sotaro Ikeda
cf0419ceff Bug 833521 - forward "recording-device-events" event to parent process, r=dougt 2013-01-24 21:45:36 -05:00
Nathan Froyd
a13ce6b3eb Bug 834263 - consolidate ClonedMessageData unpacking code; r=smaug 2013-01-24 11:24:19 -05:00
Ryan VanderMeulen
8b56db7fd6 Backed out changeset 58209cc0ae14 (bug 833521) for build bustage. 2013-01-24 15:23:53 -05:00
Sotaro Ikeda
b4b0b9251b Bug 833521 - forward "recording-device-events" event to parent process, r=dougt 2013-01-24 14:51:03 -05:00
Nathan Froyd
712b788fb0 Bug 834106 - consolidate ClonedMessageData building code into MessageManagerCallback; r=smaug 2013-01-23 21:39:27 -05:00
Chris Jones
e2b4f73e00 Bug 786631, part 2: Make the prelaunch process totipotent and specialize when it's taken. r=jlebar 2013-01-17 12:06:36 -08:00
Chris Jones
1fecf6f0f2 Back out bug 786631 2013-01-17 12:49:56 -08:00
Chris Jones
f64899ba3d Bug 786631, part 2: Make the prelaunch process totipotent and specialize when it's taken. r=jlebar 2013-01-17 12:06:36 -08:00
Nicholas Nethercote
706be71687 Bug 829439 (part 2) - Some memory reporter clean-ups. r=jlebar. 2013-01-14 16:28:36 -08:00
Andrea Marchesini
32db7eb738 Bug 829030 - Accessing the desktop notification API in the browser and approving permission errors out - API does not work, r=sicking 2013-01-14 11:08:55 +01:00
Ben Turner
4f85369fd9 Bug 828870 - All shared blobs must be immutable. r=khuey. 2013-01-10 19:16:40 +01:00
Jared Wein
26b91b8374 Backed out changeset 94333351aab3 (bug 828870) 2013-01-10 14:14:49 -05:00
Ben Turner
819c5e5cdb Bug 828870 - All shared blobs must be immutable. r=khuey. 2013-01-10 19:16:40 +01:00
Kyle Huey
f8e1947649 Bug 806503: Eagerly transmit blob data across processes so that it is available if the originating process dies. r=bent a=bb+ 2013-01-10 05:47:32 -08:00
Ed Morley
9d3687d13d Backout 1391e924e9ee (bug 806503) for mochitest-1 failures on a CLOSED TREE 2013-01-10 15:21:39 +00:00
Chris Jones
7d5279b893 Bug 828114: Set a timer to ensure content processes are killed if their tabs take a long time to shut down. r=jlebar a=blocking-basecamp 2013-01-10 14:22:14 +01:00
Kyle Huey
6706198243 Bug 806503: Eagerly transmit blob data across processes so that it is available if the originating process dies. r=bent a=bb+ 2013-01-10 05:47:32 -08:00