Commit Graph

162 Commits

Author SHA1 Message Date
Honza Bambas
e7a737bf35 Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-15 14:38:48 +02:00
Ryan VanderMeulen
e9c65dfa10 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
52e949bcbc Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-11 18:26:06 +02:00
Patrick Wang
c9153dd2e1 Bug 847744: Part 3 - IPDL change. r=vicamo,jdm 2013-04-10 20:18:38 +08:00
Nicholas Nethercote
1d0fa80c9d Bug 848560 (part 3) - Add support to about:memory for writing memory report dumps and reading gzipped memory report dumps. code=nnethercote,maierman. r=jlebar.
--HG--
extra : rebase_source : b93b45d1f4c22a388eedff890c19dc1952c576de
2013-03-27 20:31:26 -07:00
Eitan Isaacson
7a556a1b24 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
Dave Hylands
a4ccf0382c Bug 838038 - Pt 2 - Add support for multiple device storage objects. r=dougt 2013-04-02 12:52:21 -07:00
William Chen
e19d879ce7 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
bcf0fa1e8e 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
95660a9d32 Bug 673432 - Implement window.crypto.getRandomValues for FirefoxOS r=khuey 2013-02-27 14:31:19 -06:00
Josh Matthews
16a9bb20ba 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
657b1efd79 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
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