Commit Graph

859 Commits

Author SHA1 Message Date
Josh Matthews
12b0f7756c Bug 826102 - Make IPC geolocation listener never use cached values and never skip a value. r=dougt 2013-01-07 06:57:00 +01:00
Josh Matthews
cf09346c97 Bug 826102 - Make IPC geolocation listener never use cached values and never skip a value. r=dougt 2013-01-07 06:57:00 +01:00
Chris Jones
5e824f13f9 Fixing bug 821710. Send the tab URL for B2G browser content crashes. r=ted 2013-01-07 06:42:32 -08:00
Ehsan Akhgari
c4b90de7bb Merge mozilla-central into mozilla-inbound 2013-01-07 09:12:19 -05:00
Doug Turner
5cc69dbef4 Bug 813758 - Need additional security checks for the geolocation permission. r=sicking,jdm a=blocking-basecamp 2013-01-02 13:21:37 -08:00
Gene Lian
b06ebf6888 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
Gene Lian
68b4cad202 Bug 821671 - Check alarm API parameters in the parent (part 1, provide .AssertAppProcess() with different types). r=sicking 2012-12-22 19:53:38 +08:00
Chris Jones
a93ac15310 Bug 825976: Only use the crash reporter actor if it was successfully created. r=ted 2013-01-03 15:39:25 -08:00
Josh Matthews
d64e7e63ed Bug 823789 - Pass enableHighAccuracy geolocation changes to the chrome process. r=dougt 2012-12-31 11:36:46 -05:00
Andrea Marchesini
d717152215 Bug 820704 - AudioChannelService must handle children quitting unexpectedly. r=jlebar 2012-12-28 12:57:35 -05:00
Chris Jones
107c71b7e1 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
37291317df Backed out changeset 3114517c141a (bug 823789) 2012-12-28 02:21:41 -05:00
Josh Matthews
3fae6a2506 Bug 823789 - Pass enableHighAccuracy geolocation changes to the chrome process. r=dougt 2012-12-24 15:14:34 -05:00
Hubert Figuière
d0a3d3a5cd Bug 806515 - Part 2: use the URL field for content crash. r=kairo 2012-12-27 12:36:28 -05:00
Hubert Figuière
f259197e6d Bug 806515 - Send app identifier for B2G content. r=bz 2012-12-25 15:06:27 -08:00
Gregor Wagner
36d917100d Bug 814157 - Need additional security checks for the "desktop-notification" permission. r=fabrice 2012-12-20 11:06:42 -08:00
Chris Jones
3534404396 Bug 822510: Add specific privilege levels for camera and video, and enable that for video. r=jlebar,kang 2012-12-19 23:41:08 -08:00
Jeff Walden
8a6657de57 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Andrea Marchesini
6e2fdb8dca Bug 805333, Patch 5 - mozAudioChannel for MediaElement - IPC. r=cjones a=blocking-basecamp 2012-12-05 19:01:58 -08:00
Ryan VanderMeulen
d40e40c443 Backed out changeset ebaa0a4d35a3 (bug 813758) due to bug 817758. 2012-12-03 19:03:16 -05:00
Doug Turner
dcc24d68ed Bug 813758 - Ensure permission for geolocation is tested in the parent process. r=bent 2012-12-01 21:21:56 -05:00
Ed Morley
7bca2b1941 Backout 2cf359411d7d (bug 813758) for crashes 2012-11-30 09:39:57 +00:00
Doug Turner
69b389e5d4 Bug 813758 - Ensure permission for geolocation is tested in the parent process. r=bent a=blocking-basecamp 2012-11-29 21:41:40 -08:00
Doug Turner
9ff944f0b8 Bug 813995 - Check device storage permissions in parent process. r=bent a=blocking-basecamp 2012-11-29 21:41:40 -08:00
Chris Jones
f052410071 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
7c093c15d4 Bug 812937 - Remove unused audio remoting code. r=cjones 2012-11-19 13:54:29 +13:00
Kan-Ru Chen (陳侃如)
fa810c3692 Bug 806363 - Remove wake locks on content-shutdown. r=jlebar 2012-11-17 23:05:18 +08:00
Justin Lebar
f4dad2e81e 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
65c1f3f21c Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage. 2012-11-09 20:14:40 -05:00
Justin Lebar
3f9133d4e7 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
f67772f7d2 Bug 783630 - Make OOP console logs only show up once in logcat. r=bzbarsky 2012-11-09 09:52:09 -08:00
Marco Bonardo
374fed0d12 Bug 799609 - Disable Places in B2G - Part 2 - Allow docshell and content to build without Places
Expose NotifyVisited API and fix code so it can be built with alternative history implementations.
r=jlebar
2012-11-09 10:55:54 +01:00
Blake Kaplan
5781655616 Bug 806965 - Initialize new child processes with the current offline state. r=jlebar 2012-11-08 13:09:39 -08:00
Gabriele Svelto
036ef0798f Bug 808756 - Introduce a memory-pressure event that is not forwarded by the main process to its children. r=jlebar 2012-11-08 02:07:57 +01:00
Gregor Wagner
7942d44cab Bug 775997 - Message app crashes when run OOP. Part 1/2. r=bent 2012-11-06 13:29:30 -08:00
Ben Turner
254a2e3ac2 Bug 805354 - 'Add read/write permission checks to chrome databases from other processes'. r=fabrice+khuey. 2012-10-25 10:12:14 -07:00
Justin Lebar
9eb4ae743b Backed out changeset a6a847452dbf (bug 802366) 2012-10-30 21:36:29 -04:00
Justin Lebar
bce2156cf2 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
33c36a5757 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
5c341964c7 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.
2012-10-30 15:55:05 -04:00
Doug Turner
a9ff16a121 Bug 804789 - Fix commented out code cause by Bug 793955. r=bent 2012-10-29 09:54:35 -07:00
Robert O'Callahan
ad35cc2b6f Bug 805254. Part 5: Remove format parameter from PAudio constructor. r=kinetik 2012-10-25 23:09:39 +13:00
Ben Turner
8c108f8fb3 Bug 782766 - [WebActivities] support blobs - Part 2: IPC changes [r=khuey] 2012-10-25 11:45:15 -07:00
Fabrice Desré
9112df6c9c Bug 782766 - [WebActivities] support blobs - Part 1: System Messages changes [r=gene] 2012-10-25 11:45:14 -07:00
Doug Turner
033a6852d2 Bug 793955, 802867 - DeviceStorage files returned by DeviceStorage.get() don't always have lastModifiedDate. r=bent. a=blocking-basecamp 2012-10-18 11:29:32 -07:00
Dave Hylands
153e848dc7 Bug 797239 - Defer scheduling prelaunch app until child goes idle. r=cjones 2012-10-08 22:46:19 -06:00
Kyle Huey
31cc622661 Bug 797889: Make sure IndexedDB does not send messages to thechild after it has begun shutting down. r=bent 2012-10-05 12:09:33 -07:00
Justin Lebar
2a481bdef6 Bug 797515 - Fix race condition in assertion in ContentParent::~ContentParent. r=cjones 2012-10-04 00:44:50 -04:00
Ryan VanderMeulen
4356425763 Backout 99caa1f41fe1 (bug 797515) and a04b83c53297 (bug 789392) for M2 orange. 2012-10-03 21:59:41 -04:00
Justin Lebar
4386461ea7 Bug 797515 - Fix race condition in assertion in ContentParent::~ContentParent. r=cjones 2012-10-03 20:45:40 -04:00