Commit Graph

150 Commits

Author SHA1 Message Date
Ben Turner
72bdb2945a Bug 832419 - 'Clean up IPC blobs'. r=sicking. 2013-01-17 12:17:33 -08:00
Justin Lebar
ceb8f7b008 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
Doug Turner
73eb8b13ef Bug 834595 - Factor stat() such that there are 3 independent methods. r=sicking
--HG--
rename : dom/devicestorage/test/test_stat.html => dom/devicestorage/test/test_freeSpace.html
rename : dom/devicestorage/test/test_stat.html => dom/devicestorage/test/test_usedSpace.html
2013-01-25 11:05:24 -08:00
Sotaro Ikeda
c511765584 Bug 833521 - forward "recording-device-events" event to parent process, r=dougt 2013-01-24 21:45:36 -05:00
Ryan VanderMeulen
2c5c88c10b Backed out changeset 58209cc0ae14 (bug 833521) for build bustage. 2013-01-24 15:23:53 -05:00
Sotaro Ikeda
1eb0328d2c Bug 833521 - forward "recording-device-events" event to parent process, r=dougt 2013-01-24 14:51:03 -05:00
Chris Jones
8c7bb72c30 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
86389a1b2d Back out bug 786631 2013-01-17 12:49:56 -08:00
Chris Jones
7714922ecc 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
Kyle Huey
094d5d52f1 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
9fce0eda54 Backout 1391e924e9ee (bug 806503) for mochitest-1 failures on a CLOSED TREE 2013-01-10 15:21:39 +00:00
Kyle Huey
98ecfda689 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
0b3918ce04 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
Doug Turner
fd87c9795b Bug 827311 - Remote file update notifications. r=bent a=blocking-basecamp 2013-01-09 07:03:28 -08:00
Andrea Marchesini
0da6592811 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
a3a5c77746 Back out 6737ce4d3ce6:599c37ed628c (bug 785124) for b2g Arm xpcshell orange in update tests 2013-01-07 22:59:32 -08:00
Dave Hylands
78d09607c8 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
Doug Turner
d7e3380e29 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
b9d312b02f Backing out 8c3bd23a1567 due to X orange. r=me a=me 2013-01-02 15:36:26 -08:00
Doug Turner
392fe9f832 Bug 813758 - Need additional security checks for the geolocation permission. r=sicking a=blocking-basecamp 2013-01-02 13:21:37 -08:00
Josh Matthews
72b2dfd106 Bug 823789 - Pass enableHighAccuracy geolocation changes to the chrome process. r=dougt 2012-12-31 11:36:46 -05:00
Josh Matthews
091db0d136 Backed out changeset 3114517c141a (bug 823789) 2012-12-28 02:21:41 -05:00
Josh Matthews
84288cc183 Bug 823789 - Pass enableHighAccuracy geolocation changes to the chrome process. r=dougt 2012-12-24 15:14:34 -05:00
Andrea Marchesini
1f0b461ed1 Bug 805333, Patch 5 - mozAudioChannel for MediaElement - IPC. r=cjones a=blocking-basecamp 2012-12-05 19:01:58 -08:00
Chris Jones
2114064656 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
68027d9249 Bug 812937 - Remove unused audio remoting code. r=cjones 2012-11-19 13:54:29 +13:00
Justin Lebar
e80ccc6058 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
a9dc8e795f 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
37f4a955e5 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
Blake Kaplan
b8fa44f95c Bug 806965 - Initialize new child processes with the current offline state. r=jlebar 2012-11-08 13:09:39 -08:00
Justin Lebar
c001680f59 Backed out changeset a6a847452dbf (bug 802366) 2012-10-30 21:36:29 -04:00
Justin Lebar
df1f088009 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
b6d3d98908 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
5dde530864 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
996ea428df Bug 805254. Part 5: Remove format parameter from PAudio constructor. r=kinetik 2012-10-25 23:09:39 +13:00
Justin Lebar
2f597a1b5d Bug 800486 - Part 2: Move signal-watching and memory-report-dumping code out of nsMemoryReporterManager and into a new file, MemoryInfoDumper. r=njn 2012-10-15 22:12:14 -04:00
Justin Lebar
b1de9b46c6 Bug 800486 - Part 1: Dump a GC and CC log upon receiving SIGRTMIN + 2. r=mccr8,njn,cjones 2012-10-15 22:12:14 -04:00
Dave Hylands
9fa54f423e Bug 797239 - Defer scheduling prelaunch app until child goes idle. r=cjones 2012-10-08 22:46:19 -06:00
Justin Lebar
74b29b501b Bug 788021 - Part 2: Add and implement nsIMemoryReporter::DumpMemoryReportsToFile. r=njn,cjones 2012-10-02 21:19:11 -04:00
Phil Ringnalda
fb7f683c92 Back out 17b5b5dcd308, 04af81445c05, 15cc0aabab67 (bug 788021) and 2575a2f89d22 (bug 790417) for Linux crashes 2012-10-01 23:00:51 -07:00
Justin Lebar
b12f4cec24 Bug 788021 - Part 2: Add and implement nsIMemoryReporter::DumpMemoryReportsToFile. r=njn,cjones 2012-10-02 00:11:42 -04:00
Ben Turner
4fa4606698 Bug 755943 - 'Electrolysize b2g-bluetooth'. r=qDot+cjones. 2012-09-13 09:37:14 -07:00
Chris Jones
4957ad3fea Bug 785237: Give prelaunch processes background priority, and move the background oom_adj up (down?) a class. r=jlebar 2012-09-04 17:36:16 -07:00
Doug Turner
a8fe1ff101 Bug 783668 - Device Storage - use storage type to filter out change notifications - not the root. r=sicking 2012-08-30 15:17:37 -07:00
Chris Jones
2ea4017e3d Bug 782456, part 0: Add the cross-process ImageBridge glue. r=roc 2012-08-29 09:24:48 -03:00
Ben Turner
2e0265c8ef Bug 784726 - 'Remove old IPC::URI'. r=cjones+khuey.
--HG--
rename : ipc/glue/IPCSerializableParams.ipdlh => ipc/glue/InputStreamParams.ipdlh
extra : transplant_source : %A6%BC%8B%8D%3A_%7Df%2B%FE%AA%94%81%AB%CAW%15K%A7%03
2012-08-23 12:33:46 -07:00
Chris Jones
93b1805471 Bug 762221: Enable font hinting for "app" processes. r=jfkthame,jlebar 2012-08-23 11:23:43 +01:00
Ed Morley
87eb600689 Backout 06f6eede6b77 (bug 762221) for crashes 2012-08-23 10:27:56 +01:00
Chris Jones
c9e6d0cefc Bug 762221: Enable font hinting for "app" processes. r=jfkthame,jlebar 2012-08-23 01:22:19 -07:00
Chris Jones
af428e822e Bug 783184: Ensure that child-process pref state always is the same as its parent's. r=bsmedberg 2012-08-22 13:00:21 -07:00