Commit Graph

398 Commits

Author SHA1 Message Date
David Zbarsky
68058a840f 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
9890a8c148 Bug 919505 - Minimize the #includes in dom/ipc; r=jst 2013-09-23 17:30:40 -04:00
JW Wang
c2ec690c06 Bug 894249 - Add ability to associate video with a channel so that it can interrupt the background content channel. r=mchen, r=kinetik, r=bent 2013-09-18 11:46:22 +08:00
Patrick Wang
a2a32b4d67 Bug 912861 - don't assert mActor when getting a remote blob in GetOrCreateActorForBlob(). r=khuey 2013-09-18 12:04:20 +08:00
Tom Schuster
4c469dec3d Bug 914353 - Throw an error if call to GetRandomValues fails. r=khuey 2013-09-17 12:54:34 -04:00
Ryan VanderMeulen
b2393cd728 Merge m-c to b2g-inbound. 2013-09-14 23:07:59 -04:00
Marco Chen
24f7bb6b6f Bug 823273 - Part 2: Music volume should be faded when notification sound is on going - IPC changes. r=baku 2013-09-02 17:45:44 +08:00
Steven Lee
0f2f40fb0a Bug 904025 - part1: pass phone state to child process. r=khuey 2013-09-13 16:51:45 +08:00
Marco Chen
f80b1cc06c Bug 855655 - [AudioChannelManager] Add New Attribute for Setting Default Control Volume Channel. r=baku 2013-09-12 20:26:03 +08:00
Nicholas Nethercote
fd238cabbe 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
Vicamo Yang
7252df0bea Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-07 14:19:53 +08:00
Ryan VanderMeulen
62156c1cd4 Merge inbound to m-c. 2013-09-06 20:55:41 -04:00
Ryan VanderMeulen
d82368f831 Backed out 7 changesets (bug 907585, bug 873351, bug 864485) for making phones unbootable.
Backed out changeset 001a849303de (bug 873351)
Backed out changeset 8020b3013618 (bug 907585)
Backed out changeset 9039460e09c5 (bug 907585)
Backed out changeset 9464e393a501 (bug 907585)
Backed out changeset d6920653de69 (bug 864485)
Backed out changeset 20ef446b27cd (bug 864485)
Backed out changeset e27c780e1ef5 (bug 864485)
2013-09-06 17:28:10 -04:00
Michael Harrison
e8560a17bf Bug 909768 - Replace idl::GeoPositionOptions with dom::PositionOptions. r=jdm 2013-09-06 16:44:26 -04:00
Vicamo Yang
3f03665fbf Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-06 16:11:34 +08:00
Robert O'Callahan
8ca63f18ef Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Phil Ringnalda
3914af6be4 Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Nicholas Nethercote
86b7ae4c3a Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Phil Ringnalda
90f3149a6c Back out ed63ede44a82:db85ebf7b0dc (bug 864485) for debug build bustage 2013-09-03 22:33:35 -07:00
Vicamo Yang
4ed4d84d72 Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-04 12:46:01 +08:00
Pin Zhang
abf2bdf860 Bug 870676: Part 2 - Implement IPDL for mozFMRadio. r=khuey 2013-09-03 15:28:06 -07:00
Ben Turner
7773efd07e Bug 908432 - 'Crash when reading multiple slices of a cross-process file-backed blob'. r=khuey. 2013-08-29 10:16:44 -07:00
Ed Morley
fb25f85fa8 Backed out changeset 5a71d3bf48ce (bug 870676) 2013-08-29 10:42:42 +01:00
Pin Zhang
8fdbde9324 Bug 870676: Part 2 - Implement IPDL for mozFMRadio. r=khuey CLOSED TREE 2013-08-28 10:25:09 -07:00
Kyle Huey
7164ad4749 Back out my failed attempt to land bug 870676. 2013-08-28 10:23:32 -07:00
Kyle Huey
fcd4cf2b3c Bug 870676: Part 2 - Implement IPDL for mozFMRadio. r=khuey 2013-08-28 10:17:37 -07:00
Kyle Huey
0907c06c26 Back out my failed attempt to land bug 870676. 2013-08-28 10:10:39 -07:00
Kyle Huey
c4bb026ae2 Bug 870676: Part 2 - Implement IPDL for mozFMRadio. r=khuey 2013-08-28 09:45:50 -07:00
Tom Schuster
6bbb683509 Bug 905441 - Load style sheets from the parent into the child. r=bz 2013-08-27 13:10:39 -04:00
David Anderson
86124d9cd4 Don't deadlock on a child process for a CPOW (bug 905896, r=cjones). 2013-08-26 21:56:57 -07:00
Ryan VanderMeulen
8ca0b33e39 Merge m-c to b2g-inbound. 2013-08-22 20:47:37 -04:00
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
Tom Schuster
f1efce9fdf Bug 900707 - Ifdef some child permission checks that right now only work with B2G. r=sicking,felipe 2013-08-22 15:52:07 -04: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