Chris Jones
92e8707043
Bug 816614: Restore the previous behavior of ContentChild::IsForApp/Browser(). r=jlebar
2013-01-11 12:19:02 +01:00
Ben Turner
3bc314ce36
Bug 828870 - All shared blobs must be immutable. r=khuey.
2013-01-10 19:16:40 +01:00
Jared Wein
517d7e33f7
Backed out changeset 94333351aab3 (bug 828870)
2013-01-10 14:14:49 -05:00
Ben Turner
0172042c92
Bug 828870 - All shared blobs must be immutable. r=khuey.
2013-01-10 19:16:40 +01:00
Kyle Huey
1ef0ad5b3a
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
2e694dc42e
Backout 1391e924e9ee (bug 806503) for mochitest-1 failures on a CLOSED TREE
2013-01-10 15:21:39 +00:00
Kyle Huey
eab7308800
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
62aeb83227
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
c52c731184
Bug 827311 - Remote file update notifications. r=bent a=blocking-basecamp
2013-01-09 07:03:28 -08:00
Phil Ringnalda
69566d191b
Back out 6737ce4d3ce6:599c37ed628c (bug 785124) for b2g Arm xpcshell orange in update tests
2013-01-07 22:59:32 -08:00
Dave Hylands
e458463bf7
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
Kan-Ru Chen (陳侃如)
efe964d8a2
Bug 821044 - Add MOZ_DEBUG_APP_PROCESS support r=cjones
...
--HG--
extra : rebase_source : 537453138a119e509118b2ebc625b8065bbe5bf0
2012-12-13 12:30:44 +13:00
Andrea Marchesini
3114cafbfe
Bug 805333, Patch 5 - mozAudioChannel for MediaElement - IPC. r=cjones a=blocking-basecamp
2012-12-05 19:01:58 -08:00
Chris Jones
c6b42920b1
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
57a17a2534
Bug 812937 - Remove unused audio remoting code. r=cjones
2012-11-19 13:54:29 +13:00
Chris Pearce
ddedecabd0
Bug 811381 - Remove ns prefix from media code. r=roc
...
--HG--
rename : content/media/nsAudioAvailableEventManager.cpp => content/media/AudioAvailableEventManager.cpp
rename : content/media/nsAudioAvailableEventManager.h => content/media/AudioAvailableEventManager.h
rename : content/media/nsAudioStream.cpp => content/media/AudioStream.cpp
rename : content/media/nsAudioStream.h => content/media/AudioStream.h
rename : content/media/nsMediaCache.cpp => content/media/MediaCache.cpp
rename : content/media/nsMediaCache.h => content/media/MediaCache.h
rename : content/media/nsBuiltinDecoder.cpp => content/media/MediaDecoder.cpp
rename : content/media/nsBuiltinDecoder.h => content/media/MediaDecoder.h
rename : content/media/nsBuiltinDecoderReader.cpp => content/media/MediaDecoderReader.cpp
rename : content/media/nsBuiltinDecoderReader.h => content/media/MediaDecoderReader.h
rename : content/media/nsBuiltinDecoderStateMachine.cpp => content/media/MediaDecoderStateMachine.cpp
rename : content/media/nsBuiltinDecoderStateMachine.h => content/media/MediaDecoderStateMachine.h
rename : content/media/dash/nsDASHDecoder.cpp => content/media/dash/DASHDecoder.cpp
rename : content/media/dash/nsDASHDecoder.h => content/media/dash/DASHDecoder.h
rename : content/media/dash/nsDASHReader.cpp => content/media/dash/DASHReader.cpp
rename : content/media/dash/nsDASHReader.h => content/media/dash/DASHReader.h
rename : content/media/dash/nsDASHRepDecoder.cpp => content/media/dash/DASHRepDecoder.cpp
rename : content/media/dash/nsDASHRepDecoder.h => content/media/dash/DASHRepDecoder.h
rename : content/media/gstreamer/nsGStreamerDecoder.cpp => content/media/gstreamer/GStreamerDecoder.cpp
rename : content/media/gstreamer/nsGStreamerDecoder.h => content/media/gstreamer/GStreamerDecoder.h
rename : content/media/gstreamer/nsGStreamerReader.cpp => content/media/gstreamer/GStreamerReader.cpp
rename : content/media/gstreamer/nsGStreamerReader.h => content/media/gstreamer/GStreamerReader.h
rename : content/media/ogg/nsOggCodecState.cpp => content/media/ogg/OggCodecState.cpp
rename : content/media/ogg/nsOggCodecState.h => content/media/ogg/OggCodecState.h
rename : content/media/ogg/nsOggDecoder.cpp => content/media/ogg/OggDecoder.cpp
rename : content/media/ogg/nsOggDecoder.h => content/media/ogg/OggDecoder.h
rename : content/media/ogg/nsOggReader.cpp => content/media/ogg/OggReader.cpp
rename : content/media/ogg/nsOggReader.h => content/media/ogg/OggReader.h
rename : content/media/omx/nsMediaOmxDecoder.cpp => content/media/omx/MediaOmxDecoder.cpp
rename : content/media/omx/nsMediaOmxDecoder.h => content/media/omx/MediaOmxDecoder.h
rename : content/media/omx/nsMediaOmxReader.cpp => content/media/omx/MediaOmxReader.cpp
rename : content/media/omx/nsMediaOmxReader.h => content/media/omx/MediaOmxReader.h
rename : content/media/plugins/nsMediaPluginDecoder.cpp => content/media/plugins/MediaPluginDecoder.cpp
rename : content/media/plugins/nsMediaPluginDecoder.h => content/media/plugins/MediaPluginDecoder.h
rename : content/media/plugins/nsMediaPluginHost.cpp => content/media/plugins/MediaPluginHost.cpp
rename : content/media/plugins/nsMediaPluginHost.h => content/media/plugins/MediaPluginHost.h
rename : content/media/plugins/nsMediaPluginReader.cpp => content/media/plugins/MediaPluginReader.cpp
rename : content/media/plugins/nsMediaPluginReader.h => content/media/plugins/MediaPluginReader.h
rename : content/media/raw/nsRawDecoder.cpp => content/media/raw/RawDecoder.cpp
rename : content/media/raw/nsRawDecoder.h => content/media/raw/RawDecoder.h
rename : content/media/raw/nsRawReader.cpp => content/media/raw/RawReader.cpp
rename : content/media/raw/nsRawReader.h => content/media/raw/RawReader.h
rename : content/media/raw/nsRawStructs.h => content/media/raw/RawStructs.h
rename : content/media/wave/nsWaveDecoder.cpp => content/media/wave/WaveDecoder.cpp
rename : content/media/wave/nsWaveDecoder.h => content/media/wave/WaveDecoder.h
rename : content/media/wave/nsWaveReader.cpp => content/media/wave/WaveReader.cpp
rename : content/media/wave/nsWaveReader.h => content/media/wave/WaveReader.h
rename : content/media/webm/nsWebMBufferedParser.cpp => content/media/webm/WebMBufferedParser.cpp
rename : content/media/webm/nsWebMBufferedParser.h => content/media/webm/WebMBufferedParser.h
rename : content/media/webm/nsWebMDecoder.cpp => content/media/webm/WebMDecoder.cpp
rename : content/media/webm/nsWebMDecoder.h => content/media/webm/WebMDecoder.h
rename : content/media/webm/nsWebMReader.cpp => content/media/webm/WebMReader.cpp
rename : content/media/webm/nsWebMReader.h => content/media/webm/WebMReader.h
2012-11-14 11:46:40 -08:00
Justin Lebar
a9e6d9a0c8
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
3eff16d324
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
785d3c9b2f
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
Marco Bonardo
afedd3bf3c
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
a40fa24694
Bug 806965 - Initialize new child processes with the current offline state. r=jlebar
2012-11-08 13:09:39 -08:00
Justin Lebar
22489f7920
Backed out changeset a6a847452dbf (bug 802366)
2012-10-30 21:36:29 -04:00
Justin Lebar
7b38d49f83
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
818638f210
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
af7297481d
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
Kartikaya Gupta
3f8b30e6af
Bug 806473 - Expose MemoryInfoDumper methods via a nsIMemoryInfoDumper service. r=jlebar
...
--HG--
rename : xpcom/base/MemoryInfoDumper.h => xpcom/base/nsIMemoryInfoDumper.idl
rename : xpcom/base/MemoryInfoDumper.cpp => xpcom/base/nsMemoryInfoDumper.cpp
2012-10-29 20:41:14 -04:00
Robert O'Callahan
0e15bb86af
Bug 805254. Part 5: Remove format parameter from PAudio constructor. r=kinetik
2012-10-25 23:09:39 +13:00
Doug Turner
4fd0f3eb19
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
Justin Lebar
4a590b2df4
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
70048a2062
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
bfb40ef4b3
Bug 797239 - Defer scheduling prelaunch app until child goes idle. r=cjones
2012-10-08 22:46:19 -06:00
Justin Lebar
b28095bf78
Bug 797904 - Include app name in about:memory dump. r=njn,cjones
2012-10-05 17:54:54 -04:00
Doug Turner
b90d266480
Bug 794619 - Remote the blobs returned from enumerate. r=bent
2012-10-04 13:40:45 -07:00
Justin Lebar
b252cbe108
Bug 788021 - Part 2: Add and implement nsIMemoryReporter::DumpMemoryReportsToFile. r=njn,cjones
2012-10-02 21:19:11 -04:00
Phil Ringnalda
9823cbba0f
Back out 17b5b5dcd308, 04af81445c05, 15cc0aabab67 (bug 788021) and 2575a2f89d22 (bug 790417) for Linux crashes
2012-10-01 23:00:51 -07:00
Justin Lebar
0de944c855
Bug 788021 - Part 2: Add and implement nsIMemoryReporter::DumpMemoryReportsToFile. r=njn,cjones
2012-10-02 00:11:42 -04:00
Ben Turner
9e6221f761
Bug 755943 - 'Electrolysize b2g-bluetooth'. r=qDot+cjones.
2012-09-13 09:37:14 -07:00
Dave Hylands
faf42254b1
Bug 784805 - Set the process name (comm) to the app name. r=cjones
2012-09-10 21:30:33 -07:00
Chris Jones
9509102724
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
63c4d474d4
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
2fb1827749
Bug 781725: Refactor TabChild to allow pre-created instances, and then use a pre-created instance to pre-load and compile BrowserElementChild.js. r=smaug
...
--HG--
extra : rebase_source : f063c672d55da46541fdd1b6f6ff0cf510a6853f
2012-08-29 12:26:18 -03:00
Chris Jones
039ea59262
Bug 782456, part 0: Add the cross-process ImageBridge glue. r=roc
2012-08-29 09:24:48 -03:00
Mounir Lamouri
0eb75e0f22
Bug 777072 - 5/7 - Update IPC::Permission to use appId/isInBrowserElement. r=sicking
2012-08-23 11:38:01 -07:00
Mounir Lamouri
25c6e98012
Bug 777072 - 2/7 - AddInternal() and CommonTestPermission() should use nsIPrincipal. r=sicking
2012-08-25 09:53:48 -07:00
Chris Jones
bb75bebb82
No bug: Merge backout on a CLOSED TREE r=bustage
2012-08-23 22:33:04 -07:00
Chris Jones
da27f385d7
Back out bug 777072, bug 619236, and bug 784878
2012-08-23 22:00:14 -07:00
Ryan VanderMeulen
9ad8ca8a9d
Merge the last PGO-green inbound changeset to m-c.
2012-08-23 22:06:49 -04:00
Ben Turner
7370f46298
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
Mounir Lamouri
f12bc57d40
Bug 777072 - 5/7 - Update IPC::Permission to use appId/isInBrowserElement. r=sicking
2012-08-23 11:38:01 -07:00
Mounir Lamouri
713d808e20
Bug 777072 - 2/7 - AddInternal() and CommonTestPermission() should use nsIPrincipal. r=sicking
2012-08-23 11:36:28 -07:00