Commit Graph

413 Commits

Author SHA1 Message Date
Kyle Huey
19e5d2d26c Back out bug 874353, which is suspected of causing bug 1046956. r=me a=backout 2014-08-01 11:02:55 -07:00
Sean Lin
5101141c0a Bug 1000829 - getDataStores() should be able to retrieve data stores by owner. r=baku sr=jst 2014-07-17 11:53:23 +08:00
Sean Lin
8062fdbcec Bug 874353 - Remove CPU wake lock control from ContentParent. r=gene, khuey 2014-06-24 10:51:48 +08:00
Wes Kocher
364928bcf4 Backed out changeset 51ff7710ccbc (bug 966395) for assertion errors during the build 2014-07-24 14:07:53 -07:00
Alexandru Tifrea
3389fe5c01 Bug 966395 - Use a puppet bidi keyboard in child processes. r=mrbkap/masayuki
--HG--
extra : rebase_source : c6a1c731d8a2c8c3964e59582dfd8e8e59e1b79f
2014-07-11 12:10:52 -07:00
Jim Mathies
e5f4ec183a Bug 948574 - Provide limited access to nsISiteSecurityService apis in the child, and prevent the direct creation of nsISiteSecurityService. r=bz, sr=ptheriault, original author: David Keeler <dkeeler@mozilla.com> 2014-07-22 07:17:45 -05:00
Tim Abraldes
1aaa7148c1 bug 985252. Build sandbox code regardless of whether --enable-content-sandbox/MOZ_CONTENT_SANDBOX is provided. Enable sandboxing of GMP plugins. Enable SandboxBroker to set different security policies for different process types. r=bbondy, r=cpearce, r=bent 2014-07-16 16:01:34 -07:00
Carsten "Tomcat" Book
9e0a923f6f merge fx-team to mozilla-central a=merge 2014-07-15 16:08:30 +02:00
Allison Naaktgeboren
cd7511f5cf Bug 693555 - Update inline spellchecker underlining for multiprocess(e10s).r=ehsan, mrbkap 2014-07-01 15:24:27 -07:00
Mike Conley
5f892c8286 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
64b781e2f3 Backed out bdf72cebcd85 to fix a CLOSED TREE.
--HG--
extra : histedit_source : 0a3977407abecc55d5564a69531d5d6ca804cd86
2014-07-14 12:20:16 -04:00
Mike Conley
78e56ed33a 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
1e4a828cc8 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
03cdc19fec 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
adc6a05bd1 Bug 956961 - Open content processes' DMD log files in the parent process. r=njn 2014-07-02 11:27:48 -07:00
Jed Davis
12f969befb Bug 965724 - Use IPC for NS_OpenAnonymousTemporaryFile if in content process. r=roc 2014-06-24 10:11:36 -07:00
Benoit Jacob
ec742680c8 Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan 2014-06-23 15:56:07 -04:00
Mike Conley
04d328098e 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
aaf6fb2124 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
ea5bd3dd98 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 (陳侃如)"
cb1a5a5562 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 (陳侃如)"
9ed870c153 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 (陳侃如)"
5f49dee2c3 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
8413246b5f Bug 1003046 - ContentChild::RecvPBrowserConstructor should not call SendGetProcessAttributes(), r=fabrice,khuey 2014-06-04 00:15:27 +03:00
Andrea Marchesini
ce2ea0ca27 Bug 957086 - patch 3 - DataStoreService in C++ OOP, r=janv 2014-06-03 15:36:46 +01:00
Ehsan Akhgari
4b8e9c1f5c 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
b63801bf5e Merge m-c to b-i 2014-05-31 20:46:07 -07:00
Ben Kelly
04c162ea47 Bug 1016746: Consistently send 'child-process-shutdown' from ContentParent destruction. r=khuey 2014-05-30 17:03:05 -04:00
Andrea Marchesini
b15607ce18 Bug 957086 - patch 3 - DataStoreService in C++ for OOP, r=janv 2014-05-30 07:59:51 +01:00
Ryan VanderMeulen
f97a6f77b4 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
cc10beffc2 Bug 957086 - patch 3 - DataStoreService in C++ OOP, r=janv 2014-05-29 16:35:03 +01:00
Gabriele Svelto
b6f9ebb914 Bug 1011493 - Assign the correct priority to the keyboard app. r=khuey 2014-05-30 15:29:43 +02:00
Alphan Chen
3682d6b662 Bug 996996 - Move fopen into non-sanboxed process. r=mrbkap 2014-05-21 13:49:36 +08:00
Jed Davis
e4ced412bb 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
098a829ab1 Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-30 21:52:00 -04:00
Ed Morley
1ce229a50b Backed out changeset d58403b60c77 (bug 959089) 2014-04-25 17:51:11 +01:00
chiajung hung
59edff0d8f Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-25 02:29:00 -04:00
Andrea Marchesini
4266c27429 Bug 987064 - Remove AudioChannelType. r=roc, r=mchen, r=bent 2014-04-10 18:39:20 +01:00
Carsten "Tomcat" Book
ae409227bd 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
190cf6a2a2 Bug 987064 - Remove AudioChannelType, r=roc, r=mchen, r=bent 2014-04-10 11:49:23 +01:00
Cervantes Yu
da57d4296a 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
fdcbca4082 Bug 910010 - Implementation of PFileDescriptorSet - part 1, r=khuey 2014-03-25 18:37:13 +00:00
Kyle Huey
839c762332 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
604d9a5302 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
c879b47079 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
3e8915c4b8 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
9d543fd864 Bug 910412 - Implement |getRoot|, |createDirectory| and |get| for Directory. r=dhylands, r=smaug 2014-03-05 11:25:40 +08:00
Jed Davis
154d9c5e2a 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
a154cec3e0 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
d0efc292f4 Bug 910412 - Implement |getRoot|, |createDirectory| and |get| for Directory. r=dhylands, r=smaug 2014-03-05 11:25:40 +08:00
Jed Davis
76ab6d796b 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
a80f9315df 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
fcfec864b1 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
1fa90496e3 Bug 945323 - [Download API] Downloaded path isn't honoring download attribute. r=bz 2014-02-13 14:43:58 -08:00
Bill McCloskey
c637f05bd4 Bug 966467 - Proxy clipboard service in content process (r=vlad) 2014-02-09 16:13:10 -08:00
Ben Turner
3bcfec25c8 Backout bug 956218 for build error 2014-02-06 15:19:08 +01:00
Ben Turner
d251cb806b 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
10cf13f470 Backout bug 956218 for link error. 2014-02-06 11:50:43 +01:00
Ben Turner
4944532d70 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
a81cf35609 Bug 947045 - dup() child's X file descriptor in parent process (r=karl) 2014-02-05 08:37:26 -08:00
Josh Aas
8b4bc46708 Bug 960648: Consistently mark IPDL methods as MOZ_OVERRIDE. Part 1. r=bent 2014-01-17 11:46:41 -06:00
Kyle Huey
31eacbdfa1 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
181f9062fa Bug 950833 - Enable WebGL on Linux without forcing it (r=bjacob) 2014-01-10 17:09:20 -08:00
Phil Ringnalda
1dddb1a066 Back out 2e7e2de7b13e (bug 948574) for b2g mochitest crashes
CLOSED TREE
2014-01-07 21:10:23 -08:00
David Keeler
12478c7858 bug 948574 - remote nsISiteSecurityService::IsSecureURI r=bz 2014-01-07 11:31:30 -08:00
Luke Wagner
e99d6d95da 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
c26ba7e72d 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
6556a5fbd3 Bug 938889 - Remote IdleService and disable idle-daily notifications in content processes. r=roc 2013-12-13 14:28:46 -02:00
Patrick Wang
7f5769b885 Bug 944665: Part 1: Move common initialization routine into a function. r=khuey 2013-11-29 17:28:54 +08:00
Phil Ringnalda
f72fddae43 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
3f23480783 Bug 944665: Part 1: Move common initialization routine into a function. r=khuey 2013-12-07 10:31:47 +08:00
Shih-Chiang Chien
b4b733c8da Bug 940045 - Part 1: Provide pageURL in RecordingDeviceEvent from content process. r=khuey 2013-11-24 17:06:27 +08:00
Luke Wagner
5ed834b091 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
2392de7e85 Bug 854753 - [B2G][Audio] Implement SpeakerManager API. r=amarchesini, sr=jonas 2013-11-25 12:50:03 +13:00
Patrick Wang
a1cf55cec3 Bug 928995: Move Nuwa to PreallocatedProcessManager. r=bent 2013-11-22 11:25:34 +08:00
Reuben Morais
ccec845618 Bug 904298 - Use CheckPermission to check for the desktop-notification permission. r=sicking 2013-11-11 21:56:21 -02:00
Andrea Marchesini
b331fe6f43 Bug 916091 - patch 1 - nsIMessageSender should send the nsIPrincipal with the messages, r=smaug 2013-11-06 17:21:15 +00:00
Nicholas Nethercote
8aa18001f7 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
152817226f 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
11cc7925bf 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
0c515ae00c Add RPC message support to messagemanager (bug 910493 part 2, r=smaug). 2013-10-01 09:15:06 -07:00
Cervantes Yu
0a6a25b7c4 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)
f1e0772455 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)
32bdb371af 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
9eca84e4d8 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
8c43a4f37f Bug 919505 - Minimize the #includes in dom/ipc; r=jst 2013-09-23 17:30:40 -04:00
JW Wang
3524a3c64f 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
77d0581129 Merge m-c to b2g-inbound. 2013-09-14 23:07:59 -04:00
Marco Chen
97bcdc43ea 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
8c960434be Bug 855655 - [AudioChannelManager] Add New Attribute for Setting Default Control Volume Channel. r=baku 2013-09-12 20:26:03 +08:00
Nicholas Nethercote
7983bb2a7f 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
da62cf5ddc Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-07 14:19:53 +08:00
Ryan VanderMeulen
3b1087b464 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
3d3267810b Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-06 16:11:34 +08:00
Phil Ringnalda
1fdd0f4c23 Back out ed63ede44a82:db85ebf7b0dc (bug 864485) for debug build bustage 2013-09-03 22:33:35 -07:00
Vicamo Yang
c0dad73b20 Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-04 12:46:01 +08:00
Pin Zhang
3b83b78c25 Bug 870676: Part 2 - Implement IPDL for mozFMRadio. r=khuey 2013-09-03 15:28:06 -07:00
Ed Morley
702267fc97 Backed out changeset 5a71d3bf48ce (bug 870676) 2013-08-29 10:42:42 +01:00
Pin Zhang
44042ba908 Bug 870676: Part 2 - Implement IPDL for mozFMRadio. r=khuey CLOSED TREE 2013-08-28 10:25:09 -07:00
Kyle Huey
2aa7b2971e Back out my failed attempt to land bug 870676. 2013-08-28 10:23:32 -07:00
Kyle Huey
6b509a77ff Bug 870676: Part 2 - Implement IPDL for mozFMRadio. r=khuey 2013-08-28 10:17:37 -07:00
Kyle Huey
9f28dfc5b2 Back out my failed attempt to land bug 870676. 2013-08-28 10:10:39 -07:00
Kyle Huey
7de080c3b6 Bug 870676: Part 2 - Implement IPDL for mozFMRadio. r=khuey 2013-08-28 09:45:50 -07:00
Nicholas Nethercote
1b9e228bfb 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
16668a7bf4 Don't deadlock on a child process for a CPOW (bug 905896, r=cjones). 2013-08-26 21:56:57 -07:00
David Zbarsky
9841925526 Bug 903819 - Don't include Layers.h everywhere, part 4 r=nrc 2013-08-20 15:45:30 -04:00
Mark Hammond
d6d156b7b1 Bug 890840 - calling KillHard() multiple times may crash parent process. r=jlebar 2013-08-17 10:44:17 +10:00
Tom Schuster
14d0dced66 Bug 905761 - Proxy nsDefaultURIFixup::KeywordToURI to the parent. r=smaug 2013-08-16 13:59:31 -04:00
Reuben Morais
7baac7071e 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
05eea65d43 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
1b987f8eb2 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
32e25ae5f6 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
f6f620d05f Bug 894646 - Various dom deCOM cleanups r=Ms2ger 2013-07-23 16:39:17 -07:00
Joshua Cranmer
36673bcae2 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
545d682d16 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
21412f80a2 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
c56bcbc911 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
c232406d9e 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
d38f55bba0 Merge inbound to m-c. 2013-07-15 17:03:59 -04:00
Justin Lebar
c829941c0b Bug 893172 - Call ShutDownProcess in ContentParent::ActorDestroy. r=bent 2013-07-15 08:55:13 -04:00
David Anderson
9358336f75 Implement CPOW support in MessageManager (bug 870180, r=smaug,billm). 2013-07-10 15:05:39 -07:00
JW Wang
485b8bde11 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
12785ceb9b 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
6024fcafc0 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
dc4eb54b87 Bug 885804: Renaming in content/dom r=jlebar 2013-07-08 11:48:39 -04:00
David Anderson
71e7bc4fc9 Rewrite CPOWs to use one actor per process (bug 853209, r=billm,bholley,smaug). 2013-07-03 00:24:32 -07:00
David Anderson
2d21f2b922 Remove unused run-to-completion feature in IPDL (bug 876989, r=cjones). 2013-07-02 11:22:18 -07:00
Reuben Morais
18eca0471a Bug 882911 - Add nsIProcessChecker.checkAppHasStatus. r=smaug 2013-06-29 03:52:16 -07:00
Arnaud Sourioux
8ebb1ca3e6 Bug 877746 - Annotate ~230 methods with MOZ_OVERRIDE in /dom. r=Ms2ger 2013-06-05 12:15:48 -04:00
Dave Hylands
c53a4e7f72 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
bc36900668 Backed out changeset dbf0c9f4a4b9 (bug 858416) for B2G mochitest-3 failures. 2013-05-11 09:47:37 -04:00
Dave Hylands
a1b72bb10c Bug 858416 - Create a composite device storage interface. r=dougt 2013-05-11 02:10:18 -07:00
Justin Lebar
b9b9b91ceb 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
c73b99561e 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
d5a4a10ea7 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
f29df2e52f Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-15 14:38:48 +02:00
Ryan VanderMeulen
60dbee1a3e 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
26d97547b7 Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-11 18:26:06 +02:00
Eitan Isaacson
4e35440ec8 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
0e350fec1b Bug 847656: Change ContentParent::GetNewOrUsed to return an already_AddRefed value. r=khuey 2013-04-02 16:52:51 -07:00
Ryan VanderMeulen
3e6b0826a4 Backed out changeset 42d5d3080bc4 (bug 847656) for mochitest crashes on a CLOSED TREE. 2013-03-20 14:17:22 -04:00
Jim Blandy
db04a012af Bug 847656: Change ContentParent::GetNewOrUsed to return an already_AddRefed value. r=khuey 2013-03-20 10:30:09 -07:00
William Chen
5125ca9fad 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
b382e82e06 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
bf359eeabb Bug 673432 - Implement window.crypto.getRandomValues for FirefoxOS r=khuey 2013-02-27 14:31:19 -06:00
Josh Matthews
8b80e60c38 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
a2a06aa787 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
1ed9b7bade 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
e714d6c4cf 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
a103c2522a 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