Honza Bambas
f29df2e52f
Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug
2013-04-15 14:38:48 +02:00
Guilherme Gonçalves
bc55011071
Bug 850442 - Part 3 - Convert callbacks, Geolocation and Position. r=bz
2013-04-12 13:01:29 -07: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
vliu
db18757691
Bug 849330 - Camera recording needs AID_SDCARD_RW capability. r=dhylands
2013-03-13 14:44:43 +08: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
Gene Lian
3fd091d44a
Bug 844429 - B2G SMS & MMS: move SMS codes into dom/mobilemessage to make it generic for MMS. r=vicamo
...
--HG--
rename : dom/sms/interfaces/nsIDOMMozSmsEvent.idl => dom/mobilemessage/interfaces/nsIDOMMozSmsEvent.idl
rename : dom/sms/interfaces/nsIDOMMozSmsMessage.idl => dom/mobilemessage/interfaces/nsIDOMMozSmsMessage.idl
rename : dom/sms/interfaces/nsIDOMNavigatorSms.idl => dom/mobilemessage/interfaces/nsIDOMNavigatorSms.idl
rename : dom/sms/interfaces/nsIDOMSmsCursor.idl => dom/mobilemessage/interfaces/nsIDOMSmsCursor.idl
rename : dom/sms/interfaces/nsIDOMSmsFilter.idl => dom/mobilemessage/interfaces/nsIDOMSmsFilter.idl
rename : dom/sms/interfaces/nsIDOMSmsManager.idl => dom/mobilemessage/interfaces/nsIDOMSmsManager.idl
rename : dom/sms/interfaces/nsIDOMSmsRequest.idl => dom/mobilemessage/interfaces/nsIDOMSmsRequest.idl
rename : dom/sms/interfaces/nsIDOMSmsSegmentInfo.idl => dom/mobilemessage/interfaces/nsIDOMSmsSegmentInfo.idl
rename : dom/sms/interfaces/nsISmsRequest.idl => dom/mobilemessage/interfaces/nsISmsRequest.idl
rename : dom/sms/interfaces/nsISmsService.idl => dom/mobilemessage/interfaces/nsISmsService.idl
rename : dom/sms/src/Constants.cpp => dom/mobilemessage/src/Constants.cpp
rename : dom/sms/src/Constants.h => dom/mobilemessage/src/Constants.h
rename : dom/sms/src/SmsCursor.cpp => dom/mobilemessage/src/SmsCursor.cpp
rename : dom/sms/src/SmsCursor.h => dom/mobilemessage/src/SmsCursor.h
rename : dom/sms/src/SmsFilter.cpp => dom/mobilemessage/src/SmsFilter.cpp
rename : dom/sms/src/SmsFilter.h => dom/mobilemessage/src/SmsFilter.h
rename : dom/sms/src/SmsManager.cpp => dom/mobilemessage/src/SmsManager.cpp
rename : dom/sms/src/SmsManager.h => dom/mobilemessage/src/SmsManager.h
rename : dom/sms/src/SmsMessage.cpp => dom/mobilemessage/src/SmsMessage.cpp
rename : dom/sms/src/SmsMessage.h => dom/mobilemessage/src/SmsMessage.h
rename : dom/sms/src/SmsRequest.cpp => dom/mobilemessage/src/SmsRequest.cpp
rename : dom/sms/src/SmsRequest.h => dom/mobilemessage/src/SmsRequest.h
rename : dom/sms/src/SmsSegmentInfo.cpp => dom/mobilemessage/src/SmsSegmentInfo.cpp
rename : dom/sms/src/SmsSegmentInfo.h => dom/mobilemessage/src/SmsSegmentInfo.h
rename : dom/sms/src/SmsServicesFactory.cpp => dom/mobilemessage/src/SmsServicesFactory.cpp
rename : dom/sms/src/SmsServicesFactory.h => dom/mobilemessage/src/SmsServicesFactory.h
rename : dom/sms/src/Types.h => dom/mobilemessage/src/Types.h
rename : dom/sms/src/android/SmsService.cpp => dom/mobilemessage/src/android/SmsService.cpp
rename : dom/sms/src/android/SmsService.h => dom/mobilemessage/src/android/SmsService.h
rename : dom/sms/src/fallback/SmsService.cpp => dom/mobilemessage/src/fallback/SmsService.cpp
rename : dom/sms/src/fallback/SmsService.h => dom/mobilemessage/src/fallback/SmsService.h
rename : dom/sms/src/ipc/PSms.ipdl => dom/mobilemessage/src/ipc/PSms.ipdl
rename : dom/sms/src/ipc/PSmsRequest.ipdl => dom/mobilemessage/src/ipc/PSmsRequest.ipdl
rename : dom/sms/src/ipc/SmsChild.cpp => dom/mobilemessage/src/ipc/SmsChild.cpp
rename : dom/sms/src/ipc/SmsChild.h => dom/mobilemessage/src/ipc/SmsChild.h
rename : dom/sms/src/ipc/SmsIPCService.cpp => dom/mobilemessage/src/ipc/SmsIPCService.cpp
rename : dom/sms/src/ipc/SmsIPCService.h => dom/mobilemessage/src/ipc/SmsIPCService.h
rename : dom/sms/src/ipc/SmsParent.cpp => dom/mobilemessage/src/ipc/SmsParent.cpp
rename : dom/sms/src/ipc/SmsParent.h => dom/mobilemessage/src/ipc/SmsParent.h
rename : dom/sms/src/ipc/SmsTypes.ipdlh => dom/mobilemessage/src/ipc/SmsTypes.ipdlh
rename : dom/sms/src/ipc/ipdl.mk => dom/mobilemessage/src/ipc/ipdl.mk
rename : dom/sms/src/ril/SmsService.cpp => dom/mobilemessage/src/ril/SmsService.cpp
rename : dom/sms/src/ril/SmsService.h => dom/mobilemessage/src/ril/SmsService.h
rename : dom/sms/tests/Makefile.in => dom/mobilemessage/tests/Makefile.in
rename : dom/sms/tests/marionette/manifest.ini => dom/mobilemessage/tests/marionette/manifest.ini
rename : dom/sms/tests/marionette/test_between_emulators.py => dom/mobilemessage/tests/marionette/test_between_emulators.py
rename : dom/sms/tests/marionette/test_bug814761.js => dom/mobilemessage/tests/marionette/test_bug814761.js
rename : dom/sms/tests/marionette/test_emulator_loopback.js => dom/mobilemessage/tests/marionette/test_emulator_loopback.js
rename : dom/sms/tests/marionette/test_filter_date.js => dom/mobilemessage/tests/marionette/test_filter_date.js
rename : dom/sms/tests/marionette/test_filter_date_notfound.js => dom/mobilemessage/tests/marionette/test_filter_date_notfound.js
rename : dom/sms/tests/marionette/test_filter_mixed.js => dom/mobilemessage/tests/marionette/test_filter_mixed.js
rename : dom/sms/tests/marionette/test_filter_number_multiple.js => dom/mobilemessage/tests/marionette/test_filter_number_multiple.js
rename : dom/sms/tests/marionette/test_filter_number_single.js => dom/mobilemessage/tests/marionette/test_filter_number_single.js
rename : dom/sms/tests/marionette/test_filter_read.js => dom/mobilemessage/tests/marionette/test_filter_read.js
rename : dom/sms/tests/marionette/test_filter_received.js => dom/mobilemessage/tests/marionette/test_filter_received.js
rename : dom/sms/tests/marionette/test_filter_sent.js => dom/mobilemessage/tests/marionette/test_filter_sent.js
rename : dom/sms/tests/marionette/test_filter_unread.js => dom/mobilemessage/tests/marionette/test_filter_unread.js
rename : dom/sms/tests/marionette/test_getmessage.js => dom/mobilemessage/tests/marionette/test_getmessage.js
rename : dom/sms/tests/marionette/test_getmessage_notfound.js => dom/mobilemessage/tests/marionette/test_getmessage_notfound.js
rename : dom/sms/tests/marionette/test_getmessages.js => dom/mobilemessage/tests/marionette/test_getmessages.js
rename : dom/sms/tests/marionette/test_incoming.js => dom/mobilemessage/tests/marionette/test_incoming.js
rename : dom/sms/tests/marionette/test_incoming_delete.js => dom/mobilemessage/tests/marionette/test_incoming_delete.js
rename : dom/sms/tests/marionette/test_incoming_max_segments.js => dom/mobilemessage/tests/marionette/test_incoming_max_segments.js
rename : dom/sms/tests/marionette/test_incoming_multipart.js => dom/mobilemessage/tests/marionette/test_incoming_multipart.js
rename : dom/sms/tests/marionette/test_mark_msg_read.js => dom/mobilemessage/tests/marionette/test_mark_msg_read.js
rename : dom/sms/tests/marionette/test_mark_msg_read_error.js => dom/mobilemessage/tests/marionette/test_mark_msg_read_error.js
rename : dom/sms/tests/marionette/test_message_classes.js => dom/mobilemessage/tests/marionette/test_message_classes.js
rename : dom/sms/tests/marionette/test_outgoing.js => dom/mobilemessage/tests/marionette/test_outgoing.js
rename : dom/sms/tests/marionette/test_outgoing_delete.js => dom/mobilemessage/tests/marionette/test_outgoing_delete.js
rename : dom/sms/tests/marionette/test_outgoing_max_segments.js => dom/mobilemessage/tests/marionette/test_outgoing_max_segments.js
rename : dom/sms/tests/marionette/test_segment_info.js => dom/mobilemessage/tests/marionette/test_segment_info.js
rename : dom/sms/tests/marionette/test_strict_7bit_encoding.js => dom/mobilemessage/tests/marionette/test_strict_7bit_encoding.js
rename : dom/sms/tests/moz.build => dom/mobilemessage/tests/moz.build
rename : dom/sms/tests/test_sms_basics.html => dom/mobilemessage/tests/test_sms_basics.html
rename : dom/sms/tests/test_smsdatabaseservice.xul => dom/mobilemessage/tests/test_smsdatabaseservice.xul
rename : dom/sms/tests/test_smsfilter.html => dom/mobilemessage/tests/test_smsfilter.html
rename : dom/sms/tests/test_smsservice_createsmsmessage.js => dom/mobilemessage/tests/test_smsservice_createsmsmessage.js
rename : dom/sms/tests/xpcshell.ini => dom/mobilemessage/tests/xpcshell.ini
2013-03-01 16:38:47 +08: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
Josh Matthews
e1988fff12
Bug 832232 - Protect against missing geolocation services during shutdown. r=dougt
2013-02-20 02:10:47 -05:00
Justin Lebar
0f92a37666
Bug 841634 - Assign ContentParent::mChildID to a unique value in the constructor, instead of in RecvGetProcessAttributes. r=cjones
2013-02-15 08:40:35 -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
da6965599b
Bug 840277 - Explicitly check that the preallocated process hasn't been killed before we use it. r=cjones
...
We have to do this check /after/ we set the process's priority, since
before then, it has BACKGROUND priority and is a candidate for killing.
2013-02-14 15:41:29 -05:00
Olli Pettay
b9080a0df7
Bug 839528 - Change the namespace of xpidl dictionary helpers, r=khuey
2013-02-11 21:37:50 +02: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
Justin Lebar
7ae1f3cd11
Bug 838616 - Boost preallocated process's priority sooner after we decide to transform it into an app process. r=cjones
...
--HG--
extra : rebase_source : 011d56c6e06bda680d073ae420b84d42e8a37257
2013-02-08 14:32:23 +00:00
Justin Lebar
f35010eabb
Bug 838620 - Eliminate the ChildOSPrivileges typedef in favor of base::ChildPrivileges. r=cjones
...
--HG--
extra : rebase_source : 9b8a8628d0e5ba75989d6d3eeacbf55a2796b27d
2013-02-08 14:32:23 +00:00
Ben Turner
8d8a20e6ac
Bug 832419 - 'Clean up IPC blobs'. r=sicking.
2013-01-17 12:17:33 -08:00
Justin Lebar
0f0d04a754
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
Sotaro Ikeda
9869e6bdbd
Bug 833521 - forward "recording-device-events" event to parent process, r=dougt
2013-01-24 21:45:36 -05:00
Nathan Froyd
32cc776017
Bug 834263 - consolidate ClonedMessageData unpacking code; r=smaug
2013-01-24 11:24:19 -05:00
Ryan VanderMeulen
cc8552d9ab
Backed out changeset 58209cc0ae14 (bug 833521) for build bustage.
2013-01-24 15:23:53 -05:00
Sotaro Ikeda
06930e355e
Bug 833521 - forward "recording-device-events" event to parent process, r=dougt
2013-01-24 14:51:03 -05:00
Nathan Froyd
157648b3fe
Bug 834106 - consolidate ClonedMessageData building code into MessageManagerCallback; r=smaug
2013-01-23 21:39:27 -05:00
Chris Jones
bc9b3368d7
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
d6f21e8891
Back out bug 786631
2013-01-17 12:49:56 -08:00
Chris Jones
e97fb1ad7f
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
Nicholas Nethercote
e92eb3e23a
Bug 829439 (part 2) - Some memory reporter clean-ups. r=jlebar.
...
--HG--
extra : rebase_source : 31ef4aaa1dde5299125ed67d297d70ee5fe5c876
2013-01-14 16:28:36 -08:00
Andrea Marchesini
806c76d9f1
Bug 829030 - Accessing the desktop notification API in the browser and approving permission errors out - API does not work, r=sicking
2013-01-14 11:08:55 +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
Chris Jones
ba4a4c5b0f
Bug 828114: Set a timer to ensure content processes are killed if their tabs take a long time to shut down. r=jlebar a=blocking-basecamp
2013-01-10 14:22:14 +01: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
Ed Morley
8304fb5ac1
Backout 250a95a6ff00 (bug 828114) for mochitest timeouts on a CLOSED TREE
2013-01-09 20:01:03 +00:00
Chris Jones
dc502af4df
Bug 828114: Set a timer to ensure content processes are killed if their tabs take a long time to shut down. r=jlebar a=blocking-basecamp
2013-01-09 19:04:54 +01:00
Doug Turner
c52c731184
Bug 827311 - Remote file update notifications. r=bent a=blocking-basecamp
2013-01-09 07:03:28 -08:00
Chris Jones
c5838870ff
Bug 828285: Run camera with lower privileges. r=dhylands a=overholt
2013-01-09 14:50:25 +01:00
Andrea Marchesini
f78b7dc440
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
69566d191b
Back out 6737ce4d3ce6:599c37ed628c (bug 785124) for b2g Arm xpcshell orange in update tests
2013-01-07 22:59:32 -08:00
Tom Schuster
5de50e9d38
Bug 910436 - Electrolysis: Pass PBrowser to the PExternalHelperAppParent so that we can get a window for the download box. r=jdm
2013-09-12 15:24:10 -04: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
Ed Morley
6cfecba5ff
Merge mozilla-central to mozilla-inbound
2013-01-07 16:05:46 +00:00
Josh Matthews
7d196cc2e6
Backed out changeset 9dc561810a74 (bug 826102)
2013-01-07 16:34:51 +01:00
Josh Matthews
667076946d
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
64ae9817ff
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
72115ef6d7
Fixing bug 821710. Send the tab URL for B2G browser content crashes. r=ted
2013-01-07 06:42:32 -08:00
Ehsan Akhgari
8538320b3c
Merge mozilla-central into mozilla-inbound
2013-01-07 09:12:19 -05:00
Doug Turner
ca4b90d16a
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
47b06e6852
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
ebdfa96824
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
ec8c1158f6
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
d165c2299d
Bug 823789 - Pass enableHighAccuracy geolocation changes to the chrome process. r=dougt
2012-12-31 11:36:46 -05:00
Andrea Marchesini
6b0a7ece90
Bug 820704 - AudioChannelService must handle children quitting unexpectedly. r=jlebar
2012-12-28 12:57:35 -05:00
Chris Jones
fb825fe86d
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
11eba89444
Backed out changeset 3114517c141a (bug 823789)
2012-12-28 02:21:41 -05:00
Josh Matthews
95464c70a9
Bug 823789 - Pass enableHighAccuracy geolocation changes to the chrome process. r=dougt
2012-12-24 15:14:34 -05:00
Hubert Figuière
1301f9f2b6
Bug 806515 - Part 2: use the URL field for content crash. r=kairo
...
--HG--
extra : rebase_source : 1e2ccc8af82adeec4b3cddf8c40af4406b6b1b38
2012-12-27 12:36:28 -05:00
Hubert Figuière
66ea7ad0f0
Bug 806515 - Send app identifier for B2G content. r=bz
...
--HG--
extra : rebase_source : a798a7c117e1d2af34243cd1a1bfa5b3bc701f18
2012-12-25 15:06:27 -08:00
Gregor Wagner
e705855918
Bug 814157 - Need additional security checks for the "desktop-notification" permission. r=fabrice
2012-12-20 11:06:42 -08:00
Chris Jones
8c70858d92
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
120886ca73
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
3114cafbfe
Bug 805333, Patch 5 - mozAudioChannel for MediaElement - IPC. r=cjones a=blocking-basecamp
2012-12-05 19:01:58 -08:00
Ryan VanderMeulen
cd7cf9b308
Backed out changeset ebaa0a4d35a3 (bug 813758) due to bug 817758.
2012-12-03 19:03:16 -05:00
Doug Turner
4704960aa6
Bug 813758 - Ensure permission for geolocation is tested in the parent process. r=bent
2012-12-01 21:21:56 -05:00
Ed Morley
d98a8917bf
Backout 2cf359411d7d (bug 813758) for crashes
2012-11-30 09:39:57 +00:00
Doug Turner
e202f470c5
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
b8cbbff7b0
Bug 813995 - Check device storage permissions in parent process. r=bent a=blocking-basecamp
2012-11-29 21:41:40 -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
Kan-Ru Chen (陳侃如)
024fb57538
Bug 806363 - Remove wake locks on content-shutdown. r=jlebar
2012-11-17 23:05:18 +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
Dave Hylands
517cf42c43
Bug 783630 - Make OOP console logs only show up once in logcat. r=bzbarsky
2012-11-09 09:52:09 -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
Gabriele Svelto
9e3fdc6388
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
e03cbea0f5
Bug 775997 - Message app crashes when run OOP. Part 1/2. r=bent
2012-11-06 13:29:30 -08:00
Ben Turner
a0b654a17f
Bug 805354 - 'Add read/write permission checks to chrome databases from other processes'. r=fabrice+khuey.
...
--HG--
extra : rebase_source : c23136e4d10dacb3c9d1c11598da3a6972281467
2012-10-25 10:12:14 -07: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
Doug Turner
7f3ec9a071
Bug 804789 - Fix commented out code cause by Bug 793955. r=bent
2012-10-29 09:54:35 -07: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
Ben Turner
9c87933aa0
Bug 782766 - [WebActivities] support blobs - Part 2: IPC changes [r=khuey]
...
--HG--
extra : rebase_source : 0b6e2e7745e716994d305f4e29ade68c71826481
2012-10-25 11:45:15 -07:00
Fabrice Desré
0e5313830a
Bug 782766 - [WebActivities] support blobs - Part 1: System Messages changes [r=gene]
...
--HG--
extra : rebase_source : bff9c5c4745493b652a6218a60d5840e09f7235e
2012-10-25 11:45:14 -07: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
Dave Hylands
bfb40ef4b3
Bug 797239 - Defer scheduling prelaunch app until child goes idle. r=cjones
2012-10-08 22:46:19 -06:00
Kyle Huey
51f49bc2cc
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
abae78a22a
Bug 797515 - Fix race condition in assertion in ContentParent::~ContentParent. r=cjones
2012-10-04 00:44:50 -04:00
Ryan VanderMeulen
97e964573e
Backout 99caa1f41fe1 (bug 797515) and a04b83c53297 (bug 789392) for M2 orange.
2012-10-03 21:59:41 -04:00
Justin Lebar
cce7269df6
Bug 797515 - Fix race condition in assertion in ContentParent::~ContentParent. r=cjones
2012-10-03 20:45:40 -04:00
Justin Lebar
1de604c745
Bug 790417 - ContentParent::GetAll should include the pre-allocated process. r=cjones
2012-10-02 21:19:11 -04:00
Dave Hylands
4a5d44fb67
Bug 797174 - dom.ipc.processPrelauch is misspelled
...
Corrected spelling to be dom.ipc.processPrelaunch
2012-10-02 17:13:40 -07: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
65ee6ce53d
Bug 790417 - ContentParent::GetAll should include the pre-allocated process. r=cjones
2012-10-02 00:11:41 -04:00
Philipp von Weitershausen
3056ce6dfe
Bug 777508 - Notify parent if child processes are terminated through message manager. r=cjones
2012-09-27 22:43:24 -07:00
Philipp von Weitershausen
44fd6174fa
Bug 776832 - Add a scriptable API to assert app permissions through messagemanager. r=smaug
2012-09-27 22:43:12 -07:00
Ed Morley
ea1b946dd2
Backout 52be204da1cf (bug 776663), 965397b043c0 (bug 777508), 182c763efa68 (bug 776832), a2a509184b07 & cba5ba69091f (bug 789973) for failures in test_child_process_shutdown_message.html and friends / conflicting with the backout on a CLOSED TREE
2012-09-28 14:08:04 +01:00
Philipp von Weitershausen
db02958cb6
Bug 777508 - Notify parent if child processes are terminated through message manager. r=cjones
2012-09-27 22:43:24 -07:00
Philipp von Weitershausen
aeb0b41fb3
Bug 776832 - Add a scriptable API to assert app permissions through messagemanager. r=smaug
2012-09-27 22:43:12 -07:00
Ed Morley
a4cb255103
Backout be95f234ff6e (bug 776832) for various mochitest-1 failures
2012-09-26 10:31:19 +01:00
Philipp von Weitershausen
4790e5734f
Bug 776832 - Add a scriptable API to assert app permissions of apps through messagemanager. r=smaug
2012-09-26 00:41:51 -07:00
Chris Jones
b7f90c6b8c
Bug 793479: Update C++ permission-checking API to match that of the message-manager one. r=jlebar
2012-09-25 11:52:30 -07:00
Chris Jones
fbdcbf7f82
Bug 791164: Inherit priveleges for apps that have hwdecode permission. r=jlebar
2012-09-20 16:26:41 -07:00
Ms2ger
711f1fd480
Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones
2012-09-17 10:37:20 +02:00
Ben Turner
9e6221f761
Bug 755943 - 'Electrolysize b2g-bluetooth'. r=qDot+cjones.
2012-09-13 09:37:14 -07:00
Daniel Holbert
1dc8cb22b6
Bug 789382: Change nsIScriptError methods init() and initWithWindowID() to take nsAString, rather than wchar / PRUnichar*. r=bz sr=bsmedberg
2012-09-09 16:29:12 -07:00
Chris Jones
c25e82678d
Bug 776850: Kill subprocesses that fail backstop permission checks. r=jlebar
2012-09-05 15:18:48 -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
10b2881af1
Bug 782456, part 2: Inherit privileges in apps that have permissions that require them. Sigh. r=jlebar
2012-08-29 09:24:48 -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
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
Chris Jones
f760acdc5e
Bug 762221: Enable font hinting for "app" processes. r=jfkthame,jlebar
2012-08-23 11:23:43 +01:00
Ed Morley
900bd7cc06
Backout 06f6eede6b77 (bug 762221) for crashes
2012-08-23 10:27:56 +01:00
Chris Jones
9c75d27a17
Bug 762221: Enable font hinting for "app" processes. r=jfkthame,jlebar
2012-08-23 01:22:19 -07:00
Chris Jones
bda301f268
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
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Doug Turner
3ff1f51432
Bug 782352 - Broadcast local io to onchange listeners. r=sicking
2012-08-17 19:43:00 -07:00
Chris Jones
241a9adf47
Bug 776664: Check "sms" capability for PSms. r=mounir
2012-08-16 12:34:53 -07:00
Chris Jones
00822f833d
Bug 781742: Try to keep a process pre-launched for app content, if the pref says to. r=jlebar
2012-08-15 18:46:03 -07:00
Eric Wong
c200656eac
Bug 773760: Save privacy status of transferable during cross-process clipboard transfer. r=ehsan
2012-08-14 20:37:44 -07:00
Ed Morley
5381ebd3cb
Backout 327d9e9efbf7 (bug 773760) for bustage
2012-08-14 16:23:02 +01:00
Eric Wong
6cc858556c
Bug 773760: Save privacy status of transferable during cross-process clipboard transfer. r=ehsan
2012-08-13 22:46:23 -07:00
Doug Turner
260f8bcba2
Bug 773798 - Multi-process support for MediaStorage - Use PBlob. r=bent
2012-08-09 15:41:18 -07:00
Dave Hylands
a1ecee7029
Bug 780693 - IPC VolumeManager on Gonk. r=bent
2012-08-03 16:48:58 -07:00
Chris Jones
08363a8023
Bug 776649, part 2: Refactor content-process/browser creation to use mozIApplication for passing app info. r=jlebar
2012-08-08 19:58:06 -07:00
Chris Jones
de98620468
Back out bug 776649. r=bustage
2012-08-08 20:13:12 -07:00
Chris Jones
d870f5de82
Bug 776649, part 2: Refactor content-process/browser creation to use mozIApplication for passing app info. r=jlebar
2012-08-08 19:58:06 -07:00
Chris Jones
75f3c6e5e7
Bug 671196: Kill content processes that cause processing errors in the chrome process. r=bsmedberg
2011-07-12 23:52:31 -07:00
Chris Jones
a7acbe1bfe
Bug 774131, part 2: Add GeckoChildProcessHost::LaunchAndWaitForProcessHandle() to do that, use it in ContentParent, and share more process-launching code. r=bent
2012-08-07 16:29:32 -07:00
Ben Turner
05386e72be
Bug 778968 - 'Avoid stat-ing remote blobs on the main thread'. r=janv.
...
--HG--
extra : transplant_source : %90%87%047%07BA%97%E0%F1n%1DY%08D%7C%E39%20%0F
2012-08-02 23:25:30 -07:00