David Zbarsky
04ff4c97fa
Bug 903819 - Don't include Layers.h everywhere, part 4 r=nrc
2013-08-20 15:45:30 -04:00
Mark Hammond
a0f86d8967
Bug 890840 - calling KillHard() multiple times may crash parent process. r=jlebar
2013-08-17 10:44:17 +10:00
Tom Schuster
d5223db06f
Bug 905761 - Proxy nsDefaultURIFixup::KeywordToURI to the parent. r=smaug
2013-08-16 13:59:31 -04:00
Reuben Morais
1515223a79
Bug 904863 - Remove unnecessary remote call in Notification::GetPermissionInternal. r=sicking
...
--HG--
extra : rebase_source : c77b4cf992d71b5f886cf78604588033beae8320
2013-08-15 17:15:07 -03:00
Nicholas Nethercote
f24d8e59d4
Bug 903949 (part 2) - Don't trigger about:memory re-generation when a child process closes. r=jlebar.
...
--HG--
extra : rebase_source : ee532ba1176906a69cf68774d755856581e44dd9
2013-08-12 18:15:04 -07:00
Justin Lebar
af5b445c2a
Bug 895204 - Let ContentParent call CloseWithError() even if it's already called Close(). r=khuey
...
When Close() fails with an error, we should end up back in ContentParent and we eventually need to call CloseWithError().
2013-08-07 11:08:52 -07:00
Justin Lebar
1adf2940e8
Bug 899761 - Fix a debug-build shutdown crash in ContentParent. r=khuey
...
Sometimes a ContentParent object gets destroyed after XPCOM shutdown has
shut down the cycle collector. If the ContentParent destructor releases
a cycle collected object (e.g. mMessageManager), this causes the cycle
collector to assert.
2013-07-31 14:26:19 -07:00
David Zbarsky
040dbd4c2b
Bug 894646 - Various dom deCOM cleanups r=Ms2ger
2013-07-23 16:39:17 -07:00
Joshua Cranmer
fb0ab49c35
Bug 884061 - Part 3f: Use NS_DECL_THREADSAFE_ISUPPORTS in dom/, r=smaug,dhylands.
...
--HG--
extra : rebase_source : b8eaae07c54c94c8c46c7ed4c0e226eb74584652
2013-07-18 21:21:20 -05:00
Justin Lebar
c360e9303b
Bug 893242 - Part 3: Add ContentParent::GetAllEvenIfDead(). r=bent
...
To do this, we got rid of the explicit removal of a ContentParent from
sContentParents in MarkAsDead(). Instead, we rely on
LinkedListElement's destructor to remove the ContentParent from
sContentParents.
Thus, a ContentParent stays in sContentParents until it's destructed.
ContentParent::GetAll() checks whether the ContentParent is still alive,
so its behavior is unchanged.
2013-07-17 14:31:10 -07:00
Justin Lebar
d9279af05d
Bug 893242 - Part 2: Make sContentParents a StaticAutoPtr. r=khuey
...
This eliminates a static constructor, which is good. It also avoids a
problem at shutdown: If we leak a ContentParent and we destroy
sContentParents atexit, then sContentParents will assert that it's not
empty and cause test failures.
2013-07-17 14:31:10 -07:00
Justin Lebar
d3fdd7791a
Bug 893242 - Part 0: Don't crash if we call ContentParent::Pid() after the process is dead. r=bent
2013-07-17 14:31:10 -07:00
Jinho Hwang
232557606f
Bug 894191 - Run ContentParent::ShutDownProcesss() after ContentParent::KillHard(). r=jlebar
...
--HG--
extra : rebase_source : 2cd9c02feab01b9506d74f721f24068fb653879d
2013-07-17 12:13:20 -07:00
Ryan VanderMeulen
3cc4f8b044
Merge inbound to m-c.
2013-07-15 17:03:59 -04:00
Justin Lebar
9de67c75dc
Bug 893172 - Call ShutDownProcess in ContentParent::ActorDestroy. r=bent
2013-07-15 08:55:13 -04:00
David Anderson
0f90d00ec4
Implement CPOW support in MessageManager (bug 870180, r=smaug,billm).
2013-07-10 15:05:39 -07:00
JW Wang
18bc5860c7
Bug 865347 - Add functions to manipulate fake volumes to test SD card insert/remove. r=dhylands
2013-07-09 14:37:47 +08:00
Ryan VanderMeulen
327c24c216
Backed out changesets d76274933db8 and dd3cedcdbe2b (bug 865347) to see if it fixes the Marionette timeouts.
2013-07-09 14:21:02 -04:00
JW Wang
f4a05c166b
Bug 865347 - Add functions to manipulate fake volumes to test SD card insert/remove. r=dhylands
2013-07-09 14:37:47 +08:00
David Zbarsky
b2b3004e5d
Bug 885804: Renaming in content/dom r=jlebar
2013-07-08 11:48:39 -04:00
David Anderson
e90c94517c
Rewrite CPOWs to use one actor per process (bug 853209, r=billm,bholley,smaug).
2013-07-03 00:24:32 -07:00
David Anderson
560edcbeff
Remove unused run-to-completion feature in IPDL (bug 876989, r=cjones).
2013-07-02 11:22:18 -07:00
Reuben Morais
998c2ba4bf
Bug 882911 - Add nsIProcessChecker.checkAppHasStatus. r=smaug
2013-06-29 03:52:16 -07:00
Arnaud Sourioux
4f029c7b82
Bug 877746 - Annotate ~230 methods with MOZ_OVERRIDE in /dom. r=Ms2ger
2013-06-05 12:15:48 -04:00
Dave Hylands
1016437715
Bug 858416 - Create a composite device storage interface. r=dougt
...
* * *
Bug 858416 - Fix try test failures
2013-05-11 02:10:18 -07:00
Ryan VanderMeulen
aa9e660583
Backed out changeset dbf0c9f4a4b9 (bug 858416) for B2G mochitest-3 failures.
2013-05-11 09:47:37 -04:00
Dave Hylands
7da14f84fb
Bug 858416 - Create a composite device storage interface. r=dougt
2013-05-11 02:10:18 -07:00
Justin Lebar
9ea52325ff
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
a201fa0e2a
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
eb23b8b561
Bug 844323 - Prelude part 4: Use 's' prefix on class-static variables, not 'g'. r=me
2013-04-25 20:53:26 -04:00
Honza Bambas
bf6ac747cf
Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug
2013-04-15 14:38:48 +02:00
Ryan VanderMeulen
b880048f4e
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
e09acd80df
Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug
2013-04-11 18:26:06 +02:00
Eitan Isaacson
a6ee6b2e88
Bug 525444 - (Part 3/3) Support OOP speech synth. r=smaug
...
--HG--
rename : content/media/webspeech/synth/moz.build => content/media/webspeech/synth/ipc/test/moz.build
2013-04-03 15:13:17 -07:00
Jim Blandy
9ed989eae8
Bug 847656: Change ContentParent::GetNewOrUsed to return an already_AddRefed value. r=khuey
2013-04-02 16:52:51 -07:00
Ryan VanderMeulen
e835dab2ea
Backed out changeset 42d5d3080bc4 (bug 847656) for mochitest crashes on a CLOSED TREE.
2013-03-20 14:17:22 -04:00
Jim Blandy
614dfd0dfd
Bug 847656: Change ContentParent::GetNewOrUsed to return an already_AddRefed value. r=khuey
2013-03-20 10:30:09 -07:00
William Chen
b1ed1cc739
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
bde7265a6d
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
David Dahl
8f6bdde3f6
Bug 673432 - Implement window.crypto.getRandomValues for FirefoxOS r=khuey
2013-02-27 14:31:19 -06:00
Josh Matthews
61e76802ae
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
Justin Lebar
73756e9464
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
20ea5251de
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
5c2d14d8ce
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
a7e9aa2948
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.
--HG--
extra : rebase_source : f51022581edbdee8b72a8a56e296b6706bf1d165
2013-02-08 14:32:23 +00:00
Justin Lebar
679003f9c1
Bug 838620 - Eliminate the ChildOSPrivileges typedef in favor of base::ChildPrivileges. r=cjones
...
--HG--
extra : rebase_source : 9b8a8628d0e5ba75989d6d3eeacbf55a2796b27d
2013-02-08 14:32:23 +00:00
Ben Turner
78bb29569f
Bug 832419 - 'Clean up IPC blobs'. r=sicking.
2013-01-17 12:17:33 -08:00
Justin Lebar
e2d2df38f2
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
9d3d93e810
Bug 833521 - forward "recording-device-events" event to parent process, r=dougt
2013-01-24 21:45:36 -05:00
Ryan VanderMeulen
7e98969f05
Backed out changeset 58209cc0ae14 (bug 833521) for build bustage.
2013-01-24 15:23:53 -05:00