Commit Graph

456 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
ad86a048f8 merge fx-team to mozilla-central a=merge 2014-07-15 16:08:30 +02:00
Allison Naaktgeboren
440a023fe8 Bug 693555 - Update inline spellchecker underlining for multiprocess(e10s).r=ehsan, mrbkap 2014-07-01 15:24:27 -07:00
Mike Conley
0630b242ba Bug 1002354 - Proxy nsIScreenManager and nsIScreen's from the child process to the parent process, with caching. r=roc,jimm,smichaud,snorp.
Changes to nsIScreen and nsIScreenManager were reviewed by roc.
Changes to dom/ipc were reviewed by jimm.
Changes to gfx/src/nsDeviceContext.cpp were reviewed by roc.
Changes to widget/android were reviewed by snorp.
Changes to widget/cocoa were reviewed by smichaud.
Changes to widget/gtk were reviewed by roc.
Changes to widget/windows were reviewed by jimm.
Changes to widget/xpwidgets were reviewed by roc.

--HG--
extra : rebase_source : 3ebb5763d75d16f73b3cb5e4fc5621188b6c9622
2014-07-14 13:22:26 -04:00
Mike Conley
568a1bd519 Backed out bdf72cebcd85 to fix a CLOSED TREE.
--HG--
extra : histedit_source : 0a3977407abecc55d5564a69531d5d6ca804cd86
2014-07-14 12:20:16 -04:00
Mike Conley
0610b8cac1 Bug 1002354 - Proxy nsIScreenManager and nsIScreen's from the child process to the parent process, with caching. r=roc,jimm,smichaud,snorp.
Changes to nsIScreen and nsIScreenManager were reviewed by roc.
Changes to dom/ipc were reviewed by jimm.
Changes to gfx/src/nsDeviceContext.cpp were reviewed by roc.
Changes to widget/android were reviewed by snorp.
Changes to widget/cocoa were reviewed by smichaud.
Changes to widget/gtk were reviewed by roc.
Changes to widget/windows were reviewed by jimm.
Changes to widget/xpwidgets were reviewed by roc.

--HG--
extra : rebase_source : 90d263235b40f6f6937d361705a4dfa44253318e
extra : histedit_source : bab4e689269c67fe3eb65033b6987b93caf9a482%2C86645be32f82f0d80724532e528e597db165b1d1
2014-07-14 11:57:06 -04:00
Jed Davis
5aed487614 Bug 956961 - Open content processes' DMD log files in the parent process. r=njn
--HG--
extra : rebase_source : 2958f582f43bfac86ec29d784b4fb8825ca17257
extra : histedit_source : 96e39e36cbe506332d761c375b902284a695901a%2C245fc9ec3c6a3bbf4e5e5ce7b0da63f4477f36b9
2014-07-02 15:59:02 -07:00
Wes Kocher
f174cd042e Backed out 3 changesets (bug 956961) for non-unified build bustage
Backed out changeset f1be89cb58b9 (bug 956961)
Backed out changeset 272b01e4f856 (bug 956961)
Backed out changeset 56907af18c66 (bug 956961)
2014-07-02 15:03:29 -07:00
Jed Davis
13464be50b Bug 956961 - Open content processes' DMD log files in the parent process. r=njn 2014-07-02 11:27:48 -07:00
Jed Davis
7935402583 Bug 965724 - Use IPC for NS_OpenAnonymousTemporaryFile if in content process. r=roc 2014-06-24 10:11:36 -07:00
Benoit Jacob
747dcfc8a0 Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan 2014-06-23 15:56:07 -04:00
Mike Conley
73177efba4 Bug 989501 - Part 1: If an opening nsITabParent is found when creating a new content window, use that opener's ContentParent to make the new remote browser. r=smaug. 2014-06-20 13:55:40 -04:00
Nicholas Nethercote
39f29c384a Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Olli Pettay
b1dc98e935 Bug 1024986 - Use Preferences::AddBoolVarCache for dom.testing.ignore_ipc_principal check, r=ehsan 2014-06-13 23:40:46 +03:00
"Kan-Ru Chen (陳侃如)"
da1abf1e93 Bug 879475 - Part 007. Allow nested remote mozbrowsers to push layer transactions to the compositor r=mattwoodrow
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:39 +08:00
"Kan-Ru Chen (陳侃如)"
95bc816ffe Bug 879475 - Part 005. Implement ContentBridge r=jlebar
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:13 +08:00
"Kan-Ru Chen (陳侃如)"
06c1e368a8 Bug 879475 - Part 001. Add an nsIContentParent api r=jlebar
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:03 +08:00
Olli Pettay
5524bedbd4 Bug 1003046 - ContentChild::RecvPBrowserConstructor should not call SendGetProcessAttributes(), r=fabrice,khuey 2014-06-04 00:15:27 +03:00
Andrea Marchesini
25525c33ed Bug 957086 - patch 3 - DataStoreService in C++ OOP, r=janv 2014-06-03 15:36:46 +01:00
Ehsan Akhgari
c8fc679ea8 Backed out 3 changesets (bug 957086) for causing bug 1018406
Backed out changeset f8b6dab2f985 (bug 957086)
Backed out changeset b69bcaa24ab5 (bug 957086)
Backed out changeset 3b45335d4694 (bug 957086)

--HG--
rename : dom/datastore/DataStoreImpl.js => dom/datastore/DataStoreImpl.jsm
2014-06-02 10:19:19 -04:00
Phil Ringnalda
8f0619f51f Merge m-c to b-i 2014-05-31 20:46:07 -07:00
Ben Kelly
f574bcfb3a Bug 1016746: Consistently send 'child-process-shutdown' from ContentParent destruction. r=khuey 2014-05-30 17:03:05 -04:00
Andrea Marchesini
31fa9a1a3d Bug 957086 - patch 3 - DataStoreService in C++ for OOP, r=janv 2014-05-30 07:59:51 +01:00
Ryan VanderMeulen
e7c6eb241d Backed out changesets 083b9fb75e9a, 4cbc8cf0b619, and ef379607cff7 (bug 957086) for Win7/Win8 debug mochitest crashes.
--HG--
rename : dom/datastore/DataStoreImpl.js => dom/datastore/DataStoreImpl.jsm
2014-05-29 13:22:57 -04:00
Andrea Marchesini
06fb8e0295 Bug 957086 - patch 3 - DataStoreService in C++ OOP, r=janv 2014-05-29 16:35:03 +01:00
Gabriele Svelto
04b6e04bc5 Bug 1011493 - Assign the correct priority to the keyboard app. r=khuey 2014-05-30 15:29:43 +02:00
Alphan Chen
3a1fce7214 Bug 996996 - Move fopen into non-sanboxed process. r=mrbkap 2014-05-21 13:49:36 +08:00
Jed Davis
eb69e55005 Bug 973090 - IPC remoting for child GC/CC logging. r=mccr8, r=bent
This has a few semi-interdependent pieces:

* Factoring out the file opening/closing/renaming from the GC/CC logging.

* Using IPC to have the child log to files that the parent opened.

* Changing nsIMemoryInfoDumper.dumpGCAndCCLogsToFile to report completion
  of child process logging (which was impossible before this, and which is
  needed to have a meaningful test case).

* Changing about:memory to dump logs for child processes, matching the
  behavior of the "Measure" button, because it can tell the user where
  they are now.

* Add a test for multiprocess GC/CC log dumping (only of the XPCOM
  interface, not by clicking buttons and scraping the about:memory page,
  but done as a chrome mochitest to start remote browsers); based on
  test_memoryReporters2.xul in the same directory.
2014-05-13 13:13:00 -04:00
chiajung hung
e92efaa365 Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-30 21:52:00 -04:00
Ed Morley
43f0aad8bb Backed out changeset d58403b60c77 (bug 959089) 2014-04-25 17:51:11 +01:00
chiajung hung
ddbdc88968 Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-25 02:29:00 -04:00
Andrea Marchesini
eaa3ff4eed Bug 987064 - Remove AudioChannelType. r=roc, r=mchen, r=bent 2014-04-10 18:39:20 +01:00
Carsten "Tomcat" Book
d8cac0a0f4 Backed out changeset ac06eacc2206 (bug 987064) for B2G ICS Emulator Debug Bustage on a CLOSED TREE 2014-04-10 13:18:18 +02:00
Andrea Marchesini
e7f2c01a1a Bug 987064 - Remove AudioChannelType, r=roc, r=mchen, r=bent 2014-04-10 11:49:23 +01:00
Cervantes Yu
cfb0d6d882 Bug 968604 Part 1: Fork the browser process from Nuwa. r=khuey
--HG--
extra : rebase_source : db94e3799dc8800b45e554fa07ef3f84a5cd5d78
2014-02-13 18:42:41 +08:00
Andrea Marchesini
4fad1489fb Bug 910010 - Implementation of PFileDescriptorSet - part 1, r=khuey 2014-03-25 18:37:13 +00:00
Kyle Huey
b3d1f15c57 Bug 968031: Remove threadsafe refcounting from ContentParent and add it to the cycle collector graph. r=bent,mccr8 2014-03-19 17:22:25 -07:00
Neil Rashbrook
c3b2f90f39 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Wes Kocher
c0dba87922 Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Neil Rashbrook
b07eaa1644 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Yuan Xulei
858942196b Bug 910412 - Implement |getRoot|, |createDirectory| and |get| for Directory. r=dhylands, r=smaug 2014-03-05 11:25:40 +08:00
Jed Davis
f8d175ce14 Bug 977859 - Drop uid 0 in all content processes immediately after fork. r=bent r=kang
Now all regular child processes, including preallocated, are deprivileged.
Only Nuwa needs uid 0, because each of its children has a different uid/gid.
2014-03-12 15:48:15 -07:00
Ryan VanderMeulen
5099e8a290 Backed out 5 changesets (bug 910412) for intermittent crash whack-a-mole.
Backed out changeset e3eb9463b3e1 (bug 910412)
Backed out changeset d5863d302bde (bug 910412)
Backed out changeset 422b66d4b1ca (bug 910412)
Backed out changeset 3431d59d752e (bug 910412)
Backed out changeset b1c0310cdac1 (bug 910412)
2014-03-11 12:17:03 -04:00
Yuan Xulei
260442ce9a Bug 910412 - Implement |getRoot|, |createDirectory| and |get| for Directory. r=dhylands, r=smaug 2014-03-05 11:25:40 +08:00
Jed Davis
6a4c4691a0 Bug 946407 - Reimplement DumpMemoryInfoToTempDir in terms of GetReports. r=njn
This winds up exposing things in the nsIMemoryReporterManager interface
that arguably don't belong at that level of abstraction -- "minimize
memory usage first" and DMD -- in order to take advantage of the
infrastructure that GetReports already has for managing the child
processes.
2014-03-04 18:27:13 -08:00
Ben Turner
4891b5f251 Bug 956218 - '(PBackground) Add a mechanism for communicating with
a non-main I/O thread via thread and process links'. r=mrbkap+khuey+bsmedberg.
2013-11-26 23:59:41 -08:00
Tom Schuster
067705daf7 Bug 910384 - Change nsFilePickerProxy to be asynchronous and add a proper IPDL protocol for it. r=jdm 2014-02-18 01:30:06 +01:00
Ghislain 'Aus' Lacroix
0b88276744 Bug 945323 - [Download API] Downloaded path isn't honoring download attribute. r=bz 2014-02-13 14:43:58 -08:00
Bill McCloskey
ab1717c10c Bug 966467 - Proxy clipboard service in content process (r=vlad) 2014-02-09 16:13:10 -08:00
Ben Turner
6ea7697b78 Backout bug 956218 for build error 2014-02-06 15:19:08 +01:00
Ben Turner
52ea267c39 Bug 956218 - '(PBackground) Add a mechanism for communicating with a non-main I/O thread via thread and process links'. r=mrbkap. 2013-11-26 23:59:41 -08:00
Ben Turner
7d86471f76 Backout bug 956218 for link error. 2014-02-06 11:50:43 +01:00
Ben Turner
f37a519a26 Bug 956218 - '(PBackground) Add a mechanism for communicating with a non-main I/O thread via thread and process links'. r=mrbkap. 2013-11-26 23:59:41 -08:00
Bill McCloskey
16e215ceff Bug 947045 - dup() child's X file descriptor in parent process (r=karl) 2014-02-05 08:37:26 -08:00
Josh Aas
5038381385 Bug 960648: Consistently mark IPDL methods as MOZ_OVERRIDE. Part 1. r=bent 2014-01-17 11:46:41 -06:00
Kyle Huey
ce4957fa1e Bug 948774: Don't broadcast a memory report request to the Nuwa process. r=fabrice 2014-01-14 10:35:08 -08:00
Bill McCloskey
2a250929da Bug 950833 - Enable WebGL on Linux without forcing it (r=bjacob) 2014-01-10 17:09:20 -08:00
Phil Ringnalda
b1d0a82ada Back out 2e7e2de7b13e (bug 948574) for b2g mochitest crashes
CLOSED TREE
2014-01-07 21:10:23 -08:00
David Keeler
312c00712f bug 948574 - remote nsISiteSecurityService::IsSecureURI r=bz 2014-01-07 11:31:30 -08:00
Luke Wagner
1e6e357a4d Bug 944821 - Support more than 1 cached asm.js module per origin (r=janv)
--HG--
rename : js/xpconnect/tests/mochitest/file_asmjs.js => dom/asmjscache/test/file_slow.js
rename : js/xpconnect/tests/mochitest/test_asmjs2.html => dom/asmjscache/test/test_cachingBasic.html
rename : js/xpconnect/tests/mochitest/test_asmjs.html => dom/asmjscache/test/test_slow.html
rename : js/xpconnect/tests/mochitest/test_asmjs3.html => dom/asmjscache/test/test_workers.html
extra : rebase_source : 14efc458193762f5be99dfff78d353a63f3fc45a
2013-12-04 22:32:52 -06:00
Cervantes Yu
84c54ec4d7 Bug 938470 - Part 1: Make nsFrameLoader async in loading a remote iframe to always use Nuwa-spawned app processes. r=smaug 2013-11-19 19:03:30 +08:00
Reuben Morais
7c641f6b3b Bug 938889 - Remote IdleService and disable idle-daily notifications in content processes. r=roc 2013-12-13 14:28:46 -02:00
Patrick Wang
a207e38bc5 Bug 944665: Part 1: Move common initialization routine into a function. r=khuey 2013-11-29 17:28:54 +08:00
Phil Ringnalda
f676c9d65c Backed out 5 changesets (bug 944665, bug 922465, bug 930282) for b2g xpcshell crashes
CLOSED TREE

Backed out changeset c4f970dd2a4f (bug 930282)
Backed out changeset 625f5303fc68 (bug 930282)
Backed out changeset bf8e90edd152 (bug 922465)
Backed out changeset a21b57c78253 (bug 944665)
Backed out changeset 9275a2efc9e3 (bug 944665)

--HG--
extra : rebase_source : bfbe3786e0db2073e26dc383b89525d22be0b3bd
2013-12-08 15:32:15 -08:00
Patrick Wang
89a3471453 Bug 944665: Part 1: Move common initialization routine into a function. r=khuey 2013-12-07 10:31:47 +08:00
Shih-Chiang Chien
dc056e4911 Bug 940045 - Part 1: Provide pageURL in RecordingDeviceEvent from content process. r=khuey 2013-11-24 17:06:27 +08:00
Luke Wagner
a1cfb21b89 Bug 929236 - Cache asm.js compiled code in Gecko (r=janv)
--HG--
extra : rebase_source : 1c97962da0044858c583fc45e69dd22e519b8066
2013-11-18 15:49:53 -06:00
Randy Lin
19e505c45a Bug 854753 - [B2G][Audio] Implement SpeakerManager API. r=amarchesini, sr=jonas 2013-11-25 12:50:03 +13:00
Patrick Wang
77187fcc85 Bug 928995: Move Nuwa to PreallocatedProcessManager. r=bent 2013-11-22 11:25:34 +08:00
Reuben Morais
17e8ed5094 Bug 904298 - Use CheckPermission to check for the desktop-notification permission. r=sicking 2013-11-11 21:56:21 -02:00
Andrea Marchesini
1d81221332 Bug 916091 - patch 1 - nsIMessageSender should send the nsIPrincipal with the messages, r=smaug 2013-11-06 17:21:15 +00:00
Nicholas Nethercote
2efdc47a99 Bug 929797 - Implement proper memory reporting for child processes. r=khuey.
--HG--
extra : rebase_source : f0788757afc2097830295170120e1e2094993cc7
2013-10-22 22:26:24 -07:00
Brian R. Bondy
e38cfb36ed Bug 928042 - Add an environment variable to disable content processes sandboxing even when MOZ_CONTENT_SANDBOX is defined. r=aklotz 2013-11-01 19:09:45 -07:00
Shih-Chiang Chien
aa4a1a0c66 Bug 926289 - Part 1, Add recording type and request URL in recording-device-events. r=khuey. 2013-10-25 20:04:50 -04:00
David Anderson
a10ba37203 Add RPC message support to messagemanager (bug 910493 part 2, r=smaug). 2013-10-01 09:15:06 -07:00
Cervantes Yu
eaf8730772 Bug 771765 - Support template content process, part 9: allocating a toplevel protocol should return itself. r=dzbarsky
Reverse the effect in bug 879475 part 14 since we need to keep track of open protocols in the Nuwa process.
2013-09-26 12:19:09 +08:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
e6a13008bc Bug 771765 - Support template content process, part 5: PContent protocol changes. r=khuey, r=bent
Change the PContent protocol to support:
* Creating the template process.
* Forking new content processes from the template on the child side and cloning the actor on the parent side.
* Fallback to non-templated content process creation if no template-preallocated process is available.
2013-06-03 18:14:40 +08:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
3adf8353b4 Bug 771765 - Support template content process, part 4: Clone IPC protocol objects that will be up when the template process is ready. r=khuey, r=bent 2013-06-03 18:14:37 +08:00
David Zbarsky
ff4ab2e771 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
671bbdc894 Bug 919505 - Minimize the #includes in dom/ipc; r=jst 2013-09-23 17:30:40 -04:00
JW Wang
88f1551294 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
Ryan VanderMeulen
db5e1d87c2 Merge m-c to b2g-inbound. 2013-09-14 23:07:59 -04:00
Marco Chen
a2fb41909d 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
Marco Chen
f10f8408c6 Bug 855655 - [AudioChannelManager] Add New Attribute for Setting Default Control Volume Channel. r=baku 2013-09-12 20:26:03 +08:00
Nicholas Nethercote
9d1d4e73b0 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
e9a47488e4 Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-07 14:19:53 +08:00
Ryan VanderMeulen
d32d9ebb4d 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
Vicamo Yang
349d13eac4 Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-06 16:11:34 +08:00
Phil Ringnalda
8b4379a664 Back out ed63ede44a82:db85ebf7b0dc (bug 864485) for debug build bustage 2013-09-03 22:33:35 -07:00
Vicamo Yang
d2b683037b Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-04 12:46:01 +08:00
Pin Zhang
330eeb89be Bug 870676: Part 2 - Implement IPDL for mozFMRadio. r=khuey 2013-09-03 15:28:06 -07:00
Ed Morley
6bab7a8a02 Backed out changeset 5a71d3bf48ce (bug 870676) 2013-08-29 10:42:42 +01:00
Pin Zhang
f98d27a7f5 Bug 870676: Part 2 - Implement IPDL for mozFMRadio. r=khuey CLOSED TREE 2013-08-28 10:25:09 -07:00
Kyle Huey
68c202cebc Back out my failed attempt to land bug 870676. 2013-08-28 10:23:32 -07:00
Kyle Huey
989f8abbe5 Bug 870676: Part 2 - Implement IPDL for mozFMRadio. r=khuey 2013-08-28 10:17:37 -07:00
Kyle Huey
462f24c69f Back out my failed attempt to land bug 870676. 2013-08-28 10:10:39 -07:00
Kyle Huey
5bd8287b7f Bug 870676: Part 2 - Implement IPDL for mozFMRadio. r=khuey 2013-08-28 09:45:50 -07:00
Nicholas Nethercote
d1c56a1dcf Bug 831193 (part 4) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in SharedMemory.cpp. r=cjones.
--HG--
extra : rebase_source : 0781ae1c947ba8312bdc7b71d969c3a56b7a7ae4
2013-01-15 21:29:48 -08:00
David Anderson
130cd7e1ac Don't deadlock on a child process for a CPOW (bug 905896, r=cjones). 2013-08-26 21:56:57 -07:00
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
Sotaro Ikeda
a101d89ac5 Bug 833521 - forward "recording-device-events" event to parent process, r=dougt 2013-01-24 14:51:03 -05:00
Chris Jones
7af4883dee 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
7fd864daea Back out bug 786631 2013-01-17 12:49:56 -08:00
Chris Jones
cbfb70742d 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
Andrea Marchesini
981a227f1d Bug 829561 - AudioChannelService needs some unit test, r=mchen 2013-01-16 14:34:07 +01:00
Andrea Marchesini
60ca8dd167 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
Kyle Huey
6525389cc0 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
acba59dcdf Backout 1391e924e9ee (bug 806503) for mochitest-1 failures on a CLOSED TREE 2013-01-10 15:21:39 +00:00
Chris Jones
98711a3939 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
fb593adfcf 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
Dave Hylands
e9207164c6 Bug 785124 - Pt 1 - Add VolumeMountLock which allows SDCard to be locked. r=dougt
From 8e39b8e5f3ab7e6344b0a8a5eeabdcf672de8fb4 Mon Sep 17 00:00:00 2001
---
 dom/ipc/ContentChild.cpp                  |   18 +++-
 dom/ipc/ContentChild.h                    |    5 +-
 dom/ipc/ContentParent.cpp                 |   22 +++-
 dom/ipc/ContentParent.h                   |    2 +
 dom/ipc/PContent.ipdl                     |    6 +-
 dom/system/gonk/AutoMounter.cpp           |   19 +++-
 dom/system/gonk/Makefile.in               |    4 +-
 dom/system/gonk/Volume.cpp                |   62 ++++++++++-
 dom/system/gonk/Volume.h                  |   11 +-
 dom/system/gonk/VolumeServiceIOThread.cpp |   11 +-
 dom/system/gonk/VolumeServiceIOThread.h   |    7 +-
 dom/system/gonk/nsIVolume.idl             |   21 +++-
 dom/system/gonk/nsIVolumeMountLock.idl    |   12 +++
 dom/system/gonk/nsIVolumeService.idl      |    9 +-
 dom/system/gonk/nsVolume.cpp              |   96 ++++++++++++++++-
 dom/system/gonk/nsVolume.h                |   43 ++++++--
 dom/system/gonk/nsVolumeMountLock.cpp     |  157 +++++++++++++++++++++++++++
 dom/system/gonk/nsVolumeMountLock.h       |   55 ++++++++++
 dom/system/gonk/nsVolumeService.cpp       |  168 +++++++++++++++++++++++------
 dom/system/gonk/nsVolumeService.h         |   20 +++-
 layout/build/nsLayoutModule.cpp           |    5 +-
 layout/build/nsLayoutStatics.cpp          |    9 ++
 22 files changed, 684 insertions(+), 78 deletions(-)
 create mode 100644 dom/system/gonk/nsIVolumeMountLock.idl
 create mode 100644 dom/system/gonk/nsVolumeMountLock.cpp
 create mode 100644 dom/system/gonk/nsVolumeMountLock.h
2012-12-14 16:01:34 -08:00
Ed Morley
e8a6a21738 Backout 250a95a6ff00 (bug 828114) for mochitest timeouts on a CLOSED TREE 2013-01-09 20:01:03 +00:00
Chris Jones
1be98b96c3 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-09 19:04:54 +01:00
Doug Turner
6c17036468 Bug 827311 - Remote file update notifications. r=bent a=blocking-basecamp 2013-01-09 07:03:28 -08:00
Andrea Marchesini
2b223b56af Bug 825674 - Installed apps do not get affected by the hardware volume control, r=sicking 2013-01-09 08:18:16 +01:00
Phil Ringnalda
ed9b0b2817 Back out 6737ce4d3ce6:599c37ed628c (bug 785124) for b2g Arm xpcshell orange in update tests 2013-01-07 22:59:32 -08:00
Tom Schuster
a54b64414e Bug 910436 - Electrolysis: Pass PBrowser to the PExternalHelperAppParent so that we can get a window for the download box. r=jdm 2013-09-12 15:24:10 -04:00
Dave Hylands
782c100040 Bug 785124 - Pt 1 - Add VolumeMountLock which allows SDCard to be locked. r=dougt
From 8e39b8e5f3ab7e6344b0a8a5eeabdcf672de8fb4 Mon Sep 17 00:00:00 2001
---
 dom/ipc/ContentChild.cpp                  |   18 +++-
 dom/ipc/ContentChild.h                    |    5 +-
 dom/ipc/ContentParent.cpp                 |   22 +++-
 dom/ipc/ContentParent.h                   |    2 +
 dom/ipc/PContent.ipdl                     |    6 +-
 dom/system/gonk/AutoMounter.cpp           |   19 +++-
 dom/system/gonk/Makefile.in               |    4 +-
 dom/system/gonk/Volume.cpp                |   62 ++++++++++-
 dom/system/gonk/Volume.h                  |   11 +-
 dom/system/gonk/VolumeServiceIOThread.cpp |   11 +-
 dom/system/gonk/VolumeServiceIOThread.h   |    7 +-
 dom/system/gonk/nsIVolume.idl             |   21 +++-
 dom/system/gonk/nsIVolumeMountLock.idl    |   12 +++
 dom/system/gonk/nsIVolumeService.idl      |    9 +-
 dom/system/gonk/nsVolume.cpp              |   96 ++++++++++++++++-
 dom/system/gonk/nsVolume.h                |   43 ++++++--
 dom/system/gonk/nsVolumeMountLock.cpp     |  157 +++++++++++++++++++++++++++
 dom/system/gonk/nsVolumeMountLock.h       |   55 ++++++++++
 dom/system/gonk/nsVolumeService.cpp       |  168 +++++++++++++++++++++++------
 dom/system/gonk/nsVolumeService.h         |   20 +++-
 layout/build/nsLayoutModule.cpp           |    5 +-
 layout/build/nsLayoutStatics.cpp          |    9 ++
 22 files changed, 684 insertions(+), 78 deletions(-)
 create mode 100644 dom/system/gonk/nsIVolumeMountLock.idl
 create mode 100644 dom/system/gonk/nsVolumeMountLock.cpp
 create mode 100644 dom/system/gonk/nsVolumeMountLock.h
2012-12-14 16:01:34 -08:00
Ehsan Akhgari
4d874a0de0 Merge mozilla-central into mozilla-inbound 2013-01-07 09:12:19 -05:00
Doug Turner
326fdafeb1 Bug 813758 - Need additional security checks for the geolocation permission. r=sicking,jdm a=blocking-basecamp 2013-01-02 13:21:37 -08:00
Doug Turner
5d5553b293 Backing out 8c3bd23a1567 due to X orange. r=me a=me 2013-01-02 15:36:26 -08:00
Doug Turner
4c7a4d7e41 Bug 813758 - Need additional security checks for the geolocation permission. r=sicking a=blocking-basecamp 2013-01-02 13:21:37 -08:00
Gene Lian
6673f04f25 Bug 821671 - Check alarm API parameters in the parent (part 2, provide assertContainApp() for checking manifest URL). r=sicking 2012-12-22 20:00:10 +08:00
Josh Matthews
07604d3adf Bug 823789 - Pass enableHighAccuracy geolocation changes to the chrome process. r=dougt 2012-12-31 11:36:46 -05:00
Andrea Marchesini
165dd0b752 Bug 820704 - AudioChannelService must handle children quitting unexpectedly. r=jlebar 2012-12-28 12:57:35 -05:00
Chris Jones
cafad920f2 Rollup of bug 821192: Ensure that content processes don't see an inconsistent app dir. r=bent,dhylands
Bug 821192, part 1: Fix the watchdog timeout code. r=dhylands
Bug 821192, part 2: Add an interface to join all live content processes. r=bent
Bug 821192, part 3: Join all subprocesses before restarting the main process, when we're e.g. about to apply an update. r=dhylands
2012-12-28 01:45:16 -08:00
Josh Matthews
73fccc90cb Backed out changeset 3114517c141a (bug 823789) 2012-12-28 02:21:41 -05:00
Josh Matthews
2f408047ad Bug 823789 - Pass enableHighAccuracy geolocation changes to the chrome process. r=dougt 2012-12-24 15:14:34 -05:00
Andrea Marchesini
1f563be898 Bug 805333, Patch 5 - mozAudioChannel for MediaElement - IPC. r=cjones a=blocking-basecamp 2012-12-05 19:01:58 -08:00
Chris Jones
a22bfed41d Bug 811315: Use process-per-mozbrowser by default and make scrolling behavior selectable by content. r=jlebar sr=roc
This is a rollup of the following patches

Bug 811315, part 0.9: Fix pre-existing race condition that allows dying ContentParents to accidentally try to load new TabParents. r=jlebar

Bug 811315, part 0.91: Fix another pre-existing race condition where FirstIdle might run after ContentChild::ActorDestroy(). r=jlebar

Bug 811315, part 1: Make "browser" process limit infinite and unload the processes when all tabs are closed.  Firefox with process-per-tab!  r=jlebar

Bug 811315, part 2: Pass scrolling-behavior hint down into TabParent instead of inferring it from app/browser. r=jlebar

Bug 811315, part 3: Add a mozasyncpanzoom attribute for iframes and honor it when constructing a remote frame. r=jlebar sr=roc
2012-11-27 12:43:52 -08:00
Matthew Gregan
ce7dfa7c33 Bug 812937 - Remove unused audio remoting code. r=cjones 2012-11-19 13:54:29 +13:00
Kan-Ru Chen (陳侃如)
5a97ac6956 Bug 806363 - Remove wake locks on content-shutdown. r=jlebar 2012-11-17 23:05:18 +08:00
Justin Lebar
8c64b0474c Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id.  This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process.  I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-10 10:32:37 -08:00
Ryan VanderMeulen
f774dcd8ba Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage.
--HG--
rename : dom/indexedDB/test/webapp_clearBrowserData.js => dom/indexedDB/test/test_webapp_clearBrowserData.html
2012-11-09 20:14:40 -05:00
Justin Lebar
19b287d268 Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id.  This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process.  I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-09 16:37:39 -08:00
Dave Hylands
a15b2468df Bug 783630 - Fix bustage on inbound. 2012-11-09 10:23:18 -08:00
Dave Hylands
5cf12d4e3a Bug 783630 - Make OOP console logs only show up once in logcat. r=bzbarsky 2012-11-09 09:52:09 -08:00
Blake Kaplan
66163dbe64 Bug 806965 - Initialize new child processes with the current offline state. r=jlebar 2012-11-08 13:09:39 -08:00
Justin Lebar
d75eb03310 Backed out changeset a6a847452dbf (bug 802366) 2012-10-30 21:36:29 -04:00
Justin Lebar
7e748f5b3a Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones DONTBUILD
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.

(Re-landing changeset a6a847452dbf, backed out in 5091aa6083c4, because it was originally landed with the incorrect bug number.)
2012-10-30 16:13:21 -04:00
Justin Lebar
6bd563b2ee Backed out changeset a6a847452dbf due to incorrect bug number (should be bug 802366, but was bug 802367). DONTBUILD 2012-10-30 16:13:20 -04:00
Justin Lebar
c936f604ec Bug 802367 - The main event: Let a browser process inherit its app's id. r=bz,cjones
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id.  This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process.  I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.

--HG--
extra : rebase_source : f3ef9475e21204da10bf39c6cca506bc08096949
2012-10-30 15:55:05 -04:00
Robert O'Callahan
e0ece2f796 Bug 805254. Part 5: Remove format parameter from PAudio constructor. r=kinetik 2012-10-25 23:09:39 +13:00
Dave Hylands
0e1516c098 Bug 797239 - Defer scheduling prelaunch app until child goes idle. r=cjones 2012-10-08 22:46:19 -06:00
Philipp von Weitershausen
611ab85c83 Bug 777508 - Notify parent if child processes are terminated through message manager. r=cjones 2012-09-27 22:43:24 -07:00
Philipp von Weitershausen
213e5bb81b Bug 776832 - Add a scriptable API to assert app permissions through messagemanager. r=smaug 2012-09-27 22:43:12 -07:00
Ed Morley
9afe80f95c Backout 52be204da1cf (bug 776663), 965397b043c0 (bug 777508), 182c763efa68 (bug 776832), a2a509184b07 & cba5ba69091f (bug 789973) for failures in test_child_process_shutdown_message.html and friends / conflicting with the backout on a CLOSED TREE 2012-09-28 14:08:04 +01:00
Philipp von Weitershausen
b2b0343f76 Bug 777508 - Notify parent if child processes are terminated through message manager. r=cjones 2012-09-27 22:43:24 -07:00
Philipp von Weitershausen
ce02d379ee Bug 776832 - Add a scriptable API to assert app permissions through messagemanager. r=smaug 2012-09-27 22:43:12 -07:00
Ed Morley
36027dea2c Backout be95f234ff6e (bug 776832) for various mochitest-1 failures 2012-09-26 10:31:19 +01:00
Philipp von Weitershausen
0154a7b0b8 Bug 776832 - Add a scriptable API to assert app permissions of apps through messagemanager. r=smaug 2012-09-26 00:41:51 -07:00
Ms2ger
8976774677 Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones 2012-09-17 10:37:20 +02:00