Dave Hylands
b97c5dfc24
Bug 878310 - Improve DeviceStorage volume status reporting. r=qDot
...
This changeset causes tranistory states when changing from mounted to shared,
and back to mounted to be reported as shared instead of unavailable.
We also don't send the same status twice in a row.
2013-08-22 16:12:25 -07:00
Mark Hammond
8e6b564620
Bug 890840 - calling KillHard() multiple times may crash parent process. r=jlebar
2013-08-17 10:44:17 +10:00
Tom Schuster
3f0b801331
Bug 905761 - Proxy nsDefaultURIFixup::KeywordToURI to the parent. r=smaug
2013-08-16 13:59:31 -04:00
Reuben Morais
7f61d541b4
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
6f8439bc4e
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
Nicholas Nethercote
2416f26c54
Bug 903949 (part 1) - ChildMemoryReporter should return mProcess in GetProcess() rather than an empty string. r=jlebar.
...
--HG--
extra : rebase_source : a0979780a7289429e4c06dce2de06576bb3a3e90
2013-08-12 18:14:41 -07:00
Justin Lebar
73f43d506f
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
Olli Pettay
8c1d091b8e
Bug 901312 - crash in mozilla::dom::ContentParent::ActorDestroy @ nsFrameMessageManager::Disconnect, r=jlebar
...
--HG--
extra : rebase_source : a03a8b0339fc7200ed2430dcfaa81986fef743e7
2013-08-05 14:02:38 +03:00
Justin Lebar
7a09255449
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
Justin Lebar
9befee6c8d
Bug 896890 - TabContent::HasOwnApp() should be true iff TabContext::GetOwnApp() is non-null.
...
This change reworks how TabContext stores its data. Before, it stored
an app-id and translated that into an app; now we do the reverse. This
lets us guarantee that HasOwnApp() is true iff GetOwnApp() is non-null.
We added a new class, MaybeInvalidTabContext to assist with converting
from an IPCTabContext to a TabContext. This allows us to ensure that a
TabContext object is never invalid.
2013-07-30 14:42:34 -07:00
Ryan VanderMeulen
77cb688076
Backed out changeset 4aeb00521c9d (bug 896890) for build bustage.
...
CLOSED TREE
2013-07-30 15:50:46 -04:00
Justin Lebar
c092dd4810
Bug 896890 - TabContent::HasOwnApp() should be true iff TabContext::GetOwnApp() is non-null. r=khuey
...
This change reworks how TabContext stores its data. Before, it stored
an app-id and translated that into an app; now we do the reverse. This
lets us guarantee that HasOwnApp() is true iff GetOwnApp() is non-null.
We added a new class, MaybeInvalidTabContext to assist with converting
from an IPCTabContext to a TabContext. This allows us to ensure that a
TabContext object is never invalid.
--HG--
extra : rebase_source : d43e858739a342ab420122a90336bfd585be268a
2013-07-30 11:51:44 -07:00
David Zbarsky
b9c20a7821
Bug 894646 - Various dom deCOM cleanups r=Ms2ger
2013-07-23 16:39:17 -07:00
Joshua Cranmer
f44c71b4ef
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
Ryan VanderMeulen
ba97a4cddb
Merge m-c to inbound on a CLOSED TREE.
2013-07-18 14:53:05 -04:00
Justin Lebar
c3947b21bb
Bug 893242 - Part 4: Add a memory reporter counting ContentParents and the number of IPC messages they have outstanding. r=njn
2013-07-17 14:31:10 -07:00
Justin Lebar
17f38d235b
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
6b91a51925
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
439e6922dd
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
cb3b4dd80a
Bug 894191 - Run ContentParent::ShutDownProcesss() after ContentParent::KillHard(). r=jlebar
...
--HG--
extra : rebase_source : 2cd9c02feab01b9506d74f721f24068fb653879d
2013-07-17 12:13:20 -07:00
David Zbarsky
d7ff0ef7d9
Bug 879475 - Make PBlob manually keep track of its manager r=jlebar
2013-07-16 13:07:09 -07:00
Tom Schuster
3864c304c1
Bug 886903 - Send correct UserAgent data for content process. r=jdm
2013-04-22 18:41:59 +02:00
Ryan VanderMeulen
97083e557a
Backed out 4 changesets (bug 893858, bug 868859, bug 886903) for Linux debug mochitest-other crashes on a CLOSED TREE.
...
Backed out changeset 0ded4854067b (bug 886903)
Backed out changeset ca8afb897e13 (bug 893858)
Backed out changeset c15f503a96cc (bug 868859)
Backed out changeset 6a788f399a7f (bug 868859)
2013-07-17 12:43:59 -04:00
Tom Schuster
f5ccc808eb
Bug 886903 - Send correct UserAgent data for content process. r=jdm
2013-04-22 18:41:59 +02:00
Ryan VanderMeulen
5ed72ade5c
Merge inbound to m-c.
2013-07-15 17:03:59 -04:00
Justin Lebar
39744d9386
Bug 893172 - Call ShutDownProcess in ContentParent::ActorDestroy. r=bent
2013-07-15 08:55:13 -04:00
David Anderson
0930e61030
Implement CPOW support in MessageManager (bug 870180, r=smaug,billm).
2013-07-10 15:05:39 -07:00
Wes Kocher
e4601507f5
Backout 129da44ac469 (bug 870180) for breaking message manager
2013-07-10 18:22:34 -07:00
David Anderson
144a6b0e34
Implement CPOW support in MessageManager (bug 870180, r=smaug,billm).
2013-07-10 15:05:39 -07:00
David Zbarsky
8161e27f6d
Bug 879475 - Make PBrowser manually keep track of its manager r=jlebar
2013-07-10 13:07:51 -04:00
JW Wang
72be006ba9
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
8246620655
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
5bcc274fc7
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
7c1e9e4d0f
Bug 885804: Renaming in content/dom r=jlebar
2013-07-08 11:48:39 -04:00
David Anderson
a52a14df6e
Rewrite CPOWs to use one actor per process (bug 853209, r=billm,bholley,smaug).
2013-07-03 00:24:32 -07:00
David Anderson
0100dc0e39
Remove unused run-to-completion feature in IPDL (bug 876989, r=cjones).
2013-07-02 11:22:18 -07:00
Phil Ringnalda
8a0af35cc5
Merge m-c to birch
2013-06-29 06:55:30 -07:00
Reuben Morais
f4f59f5ad7
Bug 882911 - Add nsIProcessChecker.checkAppHasStatus. r=smaug
2013-06-29 03:52:16 -07:00
Justin Lebar
09d2312322
Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
cab87a0cce
Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
This is a mechanical change made with sed. Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Boris Zbarsky
be0882e3a1
Bug 873735 part 1. Fix the more or less mechanical browser rooting hazards. r=terrence
2013-05-20 08:40:06 -04:00
David Zbarsky
66e862daca
Bug 864206 - Use dom::Touch instead of nsIDOMTouch where possible r=Ms2ger
2013-05-17 13:17:53 -07:00
Dave Hylands
8f8841a1c4
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
93efac58df
Backed out changeset dbf0c9f4a4b9 (bug 858416) for B2G mochitest-3 failures.
2013-05-11 09:47:37 -04:00
Dave Hylands
af61fd0d1c
Bug 858416 - Create a composite device storage interface. r=dougt
2013-05-11 02:10:18 -07:00
Justin Lebar
3bce4cb89f
Bug 868521 - Add more of a delay between launching a new app and creating a new preallocated process. r=dhylands
2013-05-09 16:27:06 -04:00
Drew Willcoxon
76c3e62ed2
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
dafd5e8751
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
8d87fa0466
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
7908e05f22
Bug 844323 - Part 2 (The Main Event): Move ProcesPriorityManager to the main process. r=bent,khuey
2013-04-25 20:53:26 -04:00