Граф коммитов

845 Коммитов

Автор SHA1 Сообщение Дата
Andrea Marchesini 9345155089 Bug 1258221 - patch 2 - Port FileSystem API and DeviceStorage API to PBackground, r=smaug 2016-04-09 19:17:02 +01:00
Andrew McCreight 8fc2a0583c Bug 1263235, part 2 - Make PContent::AsyncMessage and PContentBridge::AsyncMessage's data argument last. r=smaug 2016-04-09 06:50:59 -07:00
Ryan VanderMeulen 3f36076406 Bug 1262050 - Remove unneeded assertion and update test annotations accordingly. r=jimm
--HG--
extra : rebase_source : d2471bd4cce2a65b1247d23225c7ccab4bab5f01
2016-04-08 12:11:44 -04:00
Peter Chang 24a20f7546 Bug 1254829 - Calling TerminateProcess for WindowsXP to bypass DLL detach handler, r=bsmedberg
MozReview-Commit-ID: 41fuZobVVyv

--HG--
extra : rebase_source : 837c4931411272dfcdbca8ebba83c841b48e1f4f
2016-04-06 10:05:58 +08:00
Mike Conley b73d131e88 Bug 1251032 - Send RenderFrame info down to child in BrowserFrameOpenWindow. r=kanru
MozReview-Commit-ID: LsFr95rujEJ

--HG--
extra : rebase_source : 3589facedf84f6d46890de002a48207907e50476
2016-03-31 00:58:05 -04:00
Mike Conley 3b67a7e41b Bug 1251032 - Send RenderFrame info down to child in CreateWindow message. r=kanru
MozReview-Commit-ID: DcsLYEHY6pL

--HG--
extra : rebase_source : 38642586bd587d2603ae8f6d7f8a39c66a02f2c5
2016-03-29 14:32:41 -04:00
Dave Huseby a4067fb951 Bug 1238723 - Tab child needs to use default user context id when handling permissions. r=sicking 2016-04-01 16:49:00 -04:00
Carsten "Tomcat" Book 4dd680b1dd Backed out changeset f74a43d0b9eb (bug 1234492) for test failures in presentation tests on a CLOSED TREE 2016-03-30 12:32:04 +02:00
Tommy Kuo 5c907d2614 Bug 1234492 - Part 1 - Add direction in PresentationService. r=smaug 2016-03-21 01:52:00 +01:00
Kit Cambridge f57e60c641 Bug 1247089 - Log Web Push decryption errors. r=bkelly
MozReview-Commit-ID: HEEq8IPlwBx

--HG--
extra : rebase_source : 8501836fa322b3a09ffec21e83fdb32e4aa3abf5
2016-03-28 13:33:20 -07:00
Kit Cambridge d55b21e98b Bug 1246341 - Report push event errors and rejections to the Push service. r=baku
MozReview-Commit-ID: D6fRPqojOEh

--HG--
extra : rebase_source : 41c55862cb7393681fdea28e35b689a970a376c3
2016-03-28 11:50:39 -07:00
Ehsan Akhgari 100dda0d7d Bug 1258056 - Propagate the window opener full page zoom across the IPC layer; r=smaug 2016-03-22 17:49:09 -04:00
David Anderson f3dc22db8d Rename PCompositor to PCompositorBridge. (bug 1258479 part 2, r=mattwoodrow)
--HG--
rename : gfx/layers/ipc/CompositorChild.cpp => gfx/layers/ipc/CompositorBridgeChild.cpp
rename : gfx/layers/ipc/CompositorChild.h => gfx/layers/ipc/CompositorBridgeChild.h
rename : gfx/layers/ipc/CompositorParent.cpp => gfx/layers/ipc/CompositorBridgeParent.cpp
rename : gfx/layers/ipc/CompositorParent.h => gfx/layers/ipc/CompositorBridgeParent.h
2016-03-22 14:08:38 -04:00
David Anderson d6945e4086 Rename PCompositor to PCompositorBridge. (bug 1258479 part 1, r=mattwoodrow)
--HG--
rename : gfx/layers/ipc/PCompositor.ipdl => gfx/layers/ipc/PCompositorBridge.ipdl
2016-03-22 14:07:08 -04:00
Makoto Kato 4ac9f7c615 Bug 1255707 - Part 2. Remove ScreenSizeChanged. r=snorp
SceenSizeChanged IPC was for bug 600880.  No one uses it.

MozReview-Commit-ID: KsQXtP1aMAP

--HG--
extra : rebase_source : 577b480cc6fc8e3f40c541874b1f93ea5b79d7cf
2016-03-14 17:53:21 +09:00
Jim Mathies ee3a95d698 Bug 1041599 - Maintain a single volume control session between browser, content, and plugins on Windows. r=aklotz
MozReview-Commit-ID: 2LuYciKfsWn
2016-03-13 08:25:23 -05:00
J. Ryan Stinnett 764b9f1ffa Bug 1238160 - Set frame type on TabContext. r=billm,mayhemer
This change renames TabContext::IsBrowserElement to IsIsolatedMozBrowserElement.
Other methods that pass these values around also have name changes.

Adds TabContext::IsMozBrowserElement which is set by the frame loader for all
browser frames.  This is in contrast to its previous implementation, which has
since been renamed IsIsolatedMozBrowserElement, since it checks isolated state
in OriginAttributes.

TabContext methods related to browser elements (and their callers) are updated
to use IsIsolatedMozBrowserElement when check isolation / origins and
IsMozBrowserElement when checking frame types.

MozReview-Commit-ID: DDMZTkSn5yd
2016-03-02 10:35:56 -06:00
David Anderson 08aa5f40fd Don't propagate simulated device resets to child processes. (bug 1245765 part 3, r=mattwoodrow) 2016-02-29 01:53:13 -05:00
Haik Aftandilian 3cdbeb2bd6 Bug 1237847 - [e10s] Null deref crash when running test_pluginstream_newstream.html; r=bobowen
Modify the Mac sandbox to allow temporary files to be created in a
parent-specified subdirectory of NS_OS_TEMP_DIR. This is similar to the
Windows approach. The parent provides a UUID in a preference which is
used by the content process to form the subdirectory name.

MozReview-Commit-ID: 6BONpfZz8ZI

--HG--
extra : rebase_source : ad18e091918356a1a40c13f1453972b4512ad476
2016-02-25 15:26:13 -08:00
Cameron McCormack 0ecd5593cc Bug 1244074 - Part 4: Use StyleSheetHandle instead of concrete style sheet class in most places. r=dholbert 2016-02-24 18:01:12 +11:00
Andrea Marchesini 01c41693ba Bug 1245124 - window.open() should open a new tab in the same container, r=gijs, r=smaug 2016-02-18 08:33:07 +00:00
Peter Van der Beken 1900a0608e Bug 1020199 - Make sure APZ works with nested oop iframe. r=kats, r=dvander.
--HG--
extra : rebase_source : be158c15f328b19be4e4189c1b755841caabcb10
2016-01-08 20:17:39 +01:00
Bill McCloskey c091f01a39 Bug 1191145 - Stop blocking scripts when handling IPC messages (r=dvander) 2016-02-01 20:43:29 -08:00
Kyle Huey 91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Kit Cambridge 9e4ed15128 Bug 1239584, Part 1 - Add `nsIPushNotifier` and `nsIPushMessage` interfaces. r=dragana
--HG--
extra : commitid : HD2fDINypFu
extra : rebase_source : 477ab56822deb5e6423c8f9b36f1a5c119d07951
2016-01-13 22:19:51 -07:00
Sylvestre Ledru ab4e3a0d42 Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan
--HG--
extra : rebase_source : 7d2cc56b6553cd7a8d848d3c660f30735bd82eec
2016-01-22 16:58:49 +01:00
Kit Cambridge f398300afc Back out out 3 changesets (bug 1239584) for B2G build failures on a CLOSED TREE.
--HG--
extra : commitid : 74RywJW7UVo
extra : amend_source : 2088096e01cb7b6fda50c87f05d427cd79147554
2016-01-22 11:06:14 -08:00
Kit Cambridge ecc52d87d2 Bug 1239584, Part 1 - Add `nsIPushNotifier` and `nsIPushMessage` interfaces. r=dragana
--HG--
extra : commitid : F7MFsrMAXQy
extra : rebase_source : 3333eed45b538bccbdf2761a91fb5fada8fcf922
2016-01-13 22:19:51 -07:00
Honza Bambas d36e6cf36c Bug 1165256 - Make appcache fully work with OriginAttribues. r=jduell 2016-01-18 20:20:08 +01:00
Mike Hommey f56dcc705e Bug 1234026 - Pass a --display option to gtk_init in content processes. r=karlt 2016-01-09 07:30:32 +09:00
Andrew McCreight 0712efcb03 Bug 1238082 - Fix mode lines in dom/ipc. r=baku
This patch was generated using commit 139bd6c948f70fd0322ab71a585db7fd73439316 of
https://github.com/amccreight/moz-source-tools/blob/master/modeline.py
2016-01-08 12:40:26 -08:00
Andrew McCreight 3eaa15e936 Bug 1230385, part 1 - Use MOZ_CRASH in ContentChild::AllocP*() methods. r=billm
These methods should never be called, so just crash.
2016-01-08 12:40:26 -08:00
Andrea Marchesini 9b34c64d31 Bug 1235576 - Fix the indentation in dom/ipc, r=smaug 2016-01-05 09:59:30 +00:00
Kearwood (Kip) Gilbert 0c83ce5c05 Bug 1182048 - Part 2: Implement e10s support for WebVR,r=vlad 2015-09-17 14:23:13 -07:00
Randell Jesup f955d91200 Bug 1226200: Don't assume a TCPSocket has only one managee (and rename LoneManagedOrNull) r=jdm 2015-12-22 10:14:23 -05:00
Carsten "Tomcat" Book 956117e0df Backed out changeset 0f2a62a45b00 (bug 1232506) for causing a talos perma failure 2015-12-21 13:00:59 +01:00
Dave Hylands 1eabadf7aa Bug 1232506: Make dom/devicestorage really work with e10s. r=alchen 2015-12-18 17:17:46 -08:00
Mike Conley 51d7f5de3d Bug 1193838 - Allow ProfileGatherer to gather profiles from exiting processes. r=BenWa
--HG--
extra : commitid : IhyN838vNVU
extra : rebase_source : a91c87e3f9a087cd789bdb678651ab351357092a
2015-08-18 14:57:35 -04:00
Mike Conley 26dff43ec9 Bug 1103094 - Start profiling subprocesses if the parent process is already profiling. r=BenWa
--HG--
extra : commitid : 5WuS9Ur4Lmn
extra : rebase_source : ec3fd280607c5b13090d3c4e902b47ffd5617ec3
2015-08-11 14:26:27 -04:00
Yoshi Huang 4b500464f5 Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking. 2015-11-03 09:50:54 +08:00
Chris Peterson 155af957a6 Bug 1223265 - Fix -Wunreachable-code and -Wimplicit-fallthrough warnings in dom/bindings and dom/ipc. r=khuey 2015-11-08 21:41:40 -08:00
Brad Lassey 06bf996cd3 bug 1190018 - External protocol handlers don't work in e10s r=mrbkap 2015-08-25 19:42:21 -04:00
Ehsan Akhgari 78ee50aca4 Bug 1215723 - Part 3: Propagate updates to DataStorage from the parent process to the content processes; r=keeler 2015-10-30 15:30:00 -04:00
Sotaro Ikeda 944f1c5ca2 Bug 1189195 - Fix PContentPermissionRequest shutdown () r=fabrice 2015-11-08 16:55:08 -08:00
Wes Kocher 4c7afc9339 Backed out 5 changesets (bug 1215723) for android S4 bustage
Backed out changeset 2a945ce1cd40 (bug 1215723)
Backed out changeset dd7f58b60ddc (bug 1215723)
Backed out changeset 62dbb95bd79a (bug 1215723)
Backed out changeset b31ac98bb3c8 (bug 1215723)
Backed out changeset 228cdfaa82c1 (bug 1215723)

--HG--
extra : commitid : 70ygtTBi2V5
2015-11-06 15:19:35 -08:00
Ehsan Akhgari 06479e6793 Bug 1215723 - Part 3: Propagate updates to DataStorage from the parent process to the content processes; r=keeler 2015-10-30 15:30:00 -04:00
Carsten "Tomcat" Book db5d8a6747 Backed out changeset f6ec673b3b76 (bug 1190018) for W-e10s(2) test failures on a CLOSED TREE 2015-11-05 11:29:12 +01:00
Brad Lassey 509e484b18 bug 1190018 - External protocol handlers don't work in e10s r=mrbkap
--HG--
extra : rebase_source : 0e76664086f9a243c67a330d9f0a780e5543da10
2015-08-25 19:42:21 -04:00
dlee f3324e8193 Bug 1214593 - Remove service worker periodic updater. r=ehsan 2015-11-02 16:08:44 +08:00
Birunthan Mohanathas 9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Mike Conley 579e388d6e Bug 1218594 - r=smaug
--HG--
extra : commitid : 4eqpv5kRmP1
extra : rebase_source : b24ee1c13b9de8f37d3467686c653c6ed3e929c2
2015-10-30 14:54:52 -04:00
Catalin Badea 6e75ef33f5 Bug 1172870 - Part 3 - Fix openWindow mochitest to work on e10s. r=smaug
This patch also fixes a nullptr access in ContentChild::ProvideWindowCommon.
2015-10-30 20:51:40 +02:00
Olli Pettay ff6d079981 Bug 1191724, ensure private browser flag is set on docshell early enough, r=fabrice
--HG--
extra : rebase_source : aa80029dd77e212c04ff7537dfc488c800384fce
2015-10-30 15:24:57 +02:00
Catalin Badea 8255b13467 Bug 1172870 - Part 2 - Enable ServiceWorkerClients::OpenWindow on e10s desktop. r=smaug 2015-10-30 01:30:57 +02:00
Catalin Badea bad419762d Bug 1172870 - Part 1 - Move PBrowser::CreateWindow to PContent. r=smaug 2015-10-30 01:30:57 +02:00
Chris Pearce 7d1f46000c Bug 1214967 - Proxy observer service notification across to content process when GMPs are added/removed. r=billm,jwwang 2015-10-29 21:56:12 +13:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Phil Ringnalda 915c3cb404 Back out 2 changesets (bug 1214967) for b2g debug mochitest-14 hangs, or perhaps fatal assertions failing to be fatal until a hang, or summat
CLOSED TREE

Backed out changeset 120b53ea0f41 (bug 1214967)
Backed out changeset af6b752acbd0 (bug 1214967)
2015-10-16 20:26:20 -07:00
Chris Pearce 419cfce138 Bug 1214967 - Proxy observer service notification across to content process when GMPs are added/removed. r=billm,jwwang 2015-10-17 10:39:45 +13:00
Nathan Froyd fe57e31ffe Bug 1212027 - part 7 - modify IPDL codegen to store sub-protocols in a hashtable rather than an array; r=jld,nical,cpearce,billm 2015-10-07 14:30:33 -04:00
Nathan Froyd 835e1550cb Bug 1212027 - part 5 - add LoneManagedOrNull for simplifying a lot of upcoming code; r=jld
A lot of existing code has variations on:

  if (ManagedPFooChild().Length()) {
    ...(ManagedPFooChild()[0])...
  }
  // Do something with nullptr, or some other action.

It's pretty reasonable to repeat this code when the managed protocols
are stored in an array; the code gets much less nice when managed
protocols are stored in a hashtable.  Let's write a small utility
function to handle those details for us.  Then when we change the
underlying storage, we only need to update this function, rather than a
bunch of callsites.

ProtocolUtils.h is included by all the generated IPDL headers, so
LoneManagedOrNull should be available everywhere the above pattern would
be encountered.
2015-10-07 20:15:56 -04:00
Eric Rahm 80fca20565 Bug 1194555 - Part 6: Run reporters asynchronously. r=njn,jld,ted 2015-10-14 16:52:59 -07:00
Andrew McCreight ae5fe6a2ad Bug 1210591, part 1 - Use nsVariantCC in various places. r=smaug
Most of these will end up in DataTransfer:mItems, so this is needed
for it to do anything useful.
2015-10-09 10:24:23 -07:00
Jed Davis 75ebfb6f22 Bug 930258 - Part 4: the PContent changes that connect the broker to its sandboxed client. r=kang r=billm 2015-10-07 22:13:09 -07:00
Jed Davis 562c4e7b57 Bug 930258 - Part 2: seccomp-bpf integration. r=kang 2015-10-07 22:13:08 -07:00
Bill McCloskey 47202f14e8 Back out bug 1191145 - Stop blocking scripts in CPOW IPCs 2015-10-07 11:15:11 -07:00
Andrew McCreight 0ff7248107 Bug 1210517 - Create nsVariant directly rather than via do_CreateInstance(). r=froydnj
The goal here is to leave creation stuff mostly for JS, so we can
convert it entirely over to a non-threadsafe cycle-collected version
without breaking any existing C++ users.

I didn't do this for a remaining use in nsGlobalWindow.h to avoid
including nsVariant.h all over the place.
2015-10-07 08:17:42 -07:00
Wes Kocher a69f1f52e7 Backed out 7 changesets (bug 1194555) for xpcshell failures
Backed out changeset e77be333f4fb (bug 1194555)
Backed out changeset 11951462a37c (bug 1194555)
Backed out changeset 99b27aa952c5 (bug 1194555)
Backed out changeset 70a8ed3b6a45 (bug 1194555)
Backed out changeset 748bfebe81e7 (bug 1194555)
Backed out changeset cbaac05a2934 (bug 1194555)
Backed out changeset fcbfd1379fcd (bug 1194555)
2015-10-06 14:40:51 -07:00
Eric Rahm f2e4cb7dfe Bug 1194555 - Part 6: Run reporters asynchronously. r=njn,jld 2015-10-06 11:23:36 -07:00
Christoph Kerschbaumer 9db34a3597 Bug 1199295 - Pass right loadingPrincipal to uriloader/prefetch - dom changes (r=smaug) 2015-10-02 09:10:02 -07:00
Carsten "Tomcat" Book 9dcf234c97 Merge mozilla-central to fx-team 2015-09-30 13:54:35 +02:00
Bill McCloskey 6efa744de9 Bug 1191145 - Stop blocking scripts in CPOW IPCs (r=dvander) 2015-09-29 16:11:49 -07:00
David Major f25d2e5ee4 Bug 1101264: Truncate long sourceName messages since they can be massive data: URLs. r=bent 2015-09-25 15:55:34 -04:00
Nicholas Nethercote 842dd1cf5a Bug 1207741 - Remove gfxIntSize. r=nical.
gfxIntSize is just a typedef of gfx::IntSize, so this is very mechanical. The
only tricky part is deciding for each occurrence whether to replace it with
IntSize, gfx::IntSize or mozilla::gfx::IntSize; in all cases I went with the
shortest one that worked given the existing "using namespace" declarations.

--HG--
extra : rebase_source : 67fd15f87222b16defa70ef795c6d77dfacf1c36
2015-09-23 11:49:05 -07:00
Jed Davis f6824d8a0c Bug 1204626 - Reparent PWebBrowserPersistDocument to PContent. r=billm
A reference to a document (and the act of saving it) can outlive the
browser tab it was originally loaded in, and this needs to be reflected
in IPC in order to avoid MsgRouteError crashes; see bug for more info.

Note that we still need to pass the PBrowser when starting persistence,
because that's the only handle the parent has on the top-level document;
see comments in this patch for more info.

Also makes TabChildBase::GetDocument public, because it's just a wrapper
around WebNavigation() which is already public, to avoid code duplication.
2015-09-21 14:54:00 +02:00
Nick Fitzgerald 16ce95af26 Bug 1201597 - Part 2: Add an IPDL subprotocol for opening core dump files to
save heap snapsots into; r=mrbkap
2015-09-22 12:09:42 -07:00
Andrea Marchesini cd4473d62f Bug 1203426 - Rename StructuredCloneIPCHelper to StructuredCloneData, r=smaug
--HG--
rename : dom/ipc/StructuredCloneIPCHelper.cpp => dom/ipc/StructuredCloneData.cpp
rename : dom/ipc/StructuredCloneIPCHelper.h => dom/ipc/StructuredCloneData.h
2015-09-10 21:50:58 +01:00
Andrea Marchesini 896e177461 Bug 1201806 - part 1 - Remove OwningSerializedStructuredCloneBuffer and use StructuredCloneIPCHelper everywhere in IPC code, r=smaug 2015-09-09 08:10:32 +01:00
Carsten "Tomcat" Book 5e147bcff7 Merge mozilla-central to b2g-inbound 2015-09-03 14:19:00 +02:00
Andrea Marchesini efd3b25c78 Bug 1198795 - ipc/StructuredCloneUtils should be merged with StructuredCloneHelper, r=smaug
--HG--
rename : dom/ipc/StructuredCloneUtils.cpp => dom/ipc/StructuredCloneIPCHelper.cpp
rename : dom/ipc/StructuredCloneUtils.h => dom/ipc/StructuredCloneIPCHelper.h
2015-09-02 17:20:30 +01:00
Masayuki Nakano a9a7f7c99f Bug 895274 part.78 Rename NS_DRAGDROP_START to eDragStart r=smaug 2015-09-02 15:08:01 +09:00
Cervantes Yu 2c8c57b9d7 Bug 1192255: Clean up ContentParent's observer topics for the Nuwa process. r=khuey
--HG--
extra : rebase_source : 8350c348f79459ad04453be6a02b7c66a4e04b0a
2015-08-14 15:41:54 +08:00
Sean Lin 16cb2d0274 Bug 1192727 - Improve the way that Presentation receiver gets the ID of the incoming session. r=smaug
--HG--
extra : histedit_source : 9ca69ab5fb5b440050bf6cd9e9e95242d31c2b27
2015-08-31 13:24:35 +08:00
Jan Varga 2c0217f2ab Bug 1173756 - Part 1: Update asmjscache to use PBackground; r=luke 2015-08-29 07:45:04 +02:00
Cervantes Yu 3c09a9761d Bug 1166207 - Load preload.js in the Nuwa process. r=khuey
--HG--
extra : rebase_source : 292c5e5dbee5fa49a78fd1997d97094ef2190143
2015-08-28 17:57:44 +08:00
Andrew Osmond 12d520af6a Bug 1186273 - Part 1. Move preferences and observers into dedicated threadsafe module. r=dhylands 2015-08-18 07:42:12 -04:00
Bill McCloskey ac32aef2fb Bug 1189125 - Allow xpcshell to use GTK (r=karlt) 2015-08-14 15:51:19 -07:00
Sean Lin 4eb814cda5 Bug 1069230 - Presentation API implementation. Part 5 - Establish session (receiver). r=smaug 2015-03-30 15:46:11 +08:00
Sean Lin 638b68e1d3 Bug 1069230 - Presentation API implementation. Part 3 - IPC. r=smaug 2015-03-26 11:16:21 +08:00
David Anderson ac8c6304a9 Use the same graphics device parameters across processes. (bug 1183910 part 7, r=mattwoodrow) 2015-08-02 13:59:33 -07:00
Jesse Ruderman 7ed9e0fe1b Bug 1024259: Use NS_FREE_PERMANENT_DATA more consistently. r=mccr8 2015-07-31 12:11:48 -07:00
Cervantes Yu aa6f91dd67 Bug 1155547, Part 2: Create PNuwa protocol (managed by PBackground) for forking content processes. r=khuey
This allows us to send a sync fork request to the Nuwa process when we need one but there is no
spare process available. After an app is launched, the request to fork a spare process is still
handled asynchronously.

--HG--
extra : rebase_source : 9b692a647f4fc861285d95f0372d6a9913eadf64
2015-07-31 15:25:27 +08:00
David Anderson 4be0f86cb1 Add a pref to force TDRs for graphics testing. (bug 1183910 part 2, r=mattwoodrow) 2015-07-30 00:23:53 -07:00
Andrew McCreight cdb6b84dc1 Bug 1089816 - use && not and. CLOSED TREE 2015-07-27 14:01:05 -07:00
Andrew McCreight ef6d1e9493 Bug 1089816 - Let ASan content processes run to completion. r=billm
There are a variety of ways that the parent and child process ensure that
the child process exits quickly in opt builds, but for AddressSanitizer
builds we want to let the child process to run to completion, so that we
can get a LeakSanitizer report.

This requires adding some addition LSan suppressions, because running
LSan in child processes detects some new leaks.
2015-07-27 12:49:48 -07:00
Bobby Holley 12ea1bf6fe Bug 1161831 - Factor the sharable bits out of nsIResProtocolHandler. r=billm 2015-07-21 12:57:21 -07:00
Mike Conley 4c8a4acb5f Bug 1185737 - Propagate pause and resume commands to child processes. r=BenWa
When we pause the sampler in the parent, we should pause it in the child as well.
Similarly, when the parent resumes, the child should also resume.

--HG--
extra : commitid : CI7X3B04eB5
extra : rebase_source : 8fdaae4004015fa54747599cff54acd187683a71
extra : amend_source : d5960310c462c208485802d70b1535f09ceaeccf
2015-07-15 12:39:39 -04:00
Michael Layzell 9d564ec2dd Bug 1173523 - Part 1: Expose an nsIPrincipal from nsIPermission rather than a host string, appId, and isInBrowserElement, r=ehsan 2015-07-16 14:49:22 -04:00
Wes Kocher ff2f0d32cf Backed out 24 changesets (bug 1173523, bug 1172080, bug 817007, bug 1165263) for android reftest bustage CLOSED TREE
Backed out changeset 84fe04b2e7d1 (bug 1172080)
Backed out changeset 0ff004760a1f (bug 1172080)
Backed out changeset af147585ad55 (bug 1165263)
Backed out changeset c3af8ebb6db0 (bug 1165263)
Backed out changeset cd3f33a888fe (bug 1165263)
Backed out changeset e5db39044a1e (bug 1165263)
Backed out changeset c01c9ed77061 (bug 1165263)
Backed out changeset fb723aaa4267 (bug 1165263)
Backed out changeset f754e52e74dc (bug 1165263)
Backed out changeset c6bda3a0afd6 (bug 817007)
Backed out changeset bfa100253349 (bug 817007)
Backed out changeset b787b3f9aadc (bug 1173523)
Backed out changeset 4a0676b73f77 (bug 1173523)
Backed out changeset 82034a4560c5 (bug 1173523)
Backed out changeset 4bdb91114c7a (bug 1173523)
Backed out changeset 72406261eccc (bug 1173523)
Backed out changeset 541b6faf7196 (bug 1173523)
Backed out changeset 1caac4569616 (bug 1173523)
Backed out changeset 0d4f9f9e1b4e (bug 1173523)
Backed out changeset 2d5661eb966c (bug 1173523)
Backed out changeset 89833c0bb0cd (bug 1173523)
Backed out changeset ea64d70eacfe (bug 1173523)
Backed out changeset a8e4f1c0c445 (bug 1173523)
Backed out changeset cf498d466b85 (bug 1173523)
2015-07-14 14:00:32 -07:00
Michael Layzell 56a5f8273e Bug 1173523 - Part 1: Expose an nsIPrincipal from nsIPermission rather than a host string, appId, and isInBrowserElement, r=ehsan 2015-07-14 15:06:15 -04:00
Andrea Marchesini db14826639 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
--HG--
rename : dom/audiochannel/AudioChannelAgent.h => dom/browser-element/BrowserElementAudioChannel.h
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
rename : dom/audiochannel/AudioChannelCommon.h => dom/webidl/BrowserElementAudioChannel.webidl
2015-07-10 17:38:44 +01:00
Carsten "Tomcat" Book c07e36b612 Backed out changeset bcfbdb934c37 (bug 1113086) for breaking cpp tests with timeouts in TestAudioChannelService.exe
--HG--
rename : dom/webidl/BrowserElementAudioChannel.webidl => dom/audiochannel/AudioChannelCommon.h
rename : dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html => dom/audiochannel/tests/file_telephonyPolicy.html
2015-07-11 14:14:58 +02:00
Andrea Marchesini 3050bc370c Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
--HG--
rename : dom/audiochannel/AudioChannelAgent.h => dom/browser-element/BrowserElementAudioChannel.h
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
rename : dom/audiochannel/AudioChannelCommon.h => dom/webidl/BrowserElementAudioChannel.webidl
2015-07-10 21:08:43 -04:00
Xidorn Quan f23d866f51 Backed out 8 changesets (bug 1113086) for build bustage
Backed out changeset a20839dfd439 (bug 1113086)
Backed out changeset 675ea719b91c (bug 1113086)
Backed out changeset cfb34138bb9f (bug 1113086)
Backed out changeset b9525c60a737 (bug 1113086)
Backed out changeset 380859ae955b (bug 1113086)
Backed out changeset 5ec088f0892f (bug 1113086)
Backed out changeset caf57ae8cbce (bug 1113086)
Backed out changeset 0fc4dec6cd81 (bug 1113086)

--HG--
extra : histedit_source : d8dfd75d9dae36b7309ce78e3b4488faf57003da%2C48081711b7067191d8e4749fd3b572db59bc03f9
2015-07-11 10:55:59 +10:00
Andrea Marchesini bbb0a11f31 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
--HG--
rename : dom/browser-element/mochitest/test_browserElement_inproc_GetContentDimensions.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/browser-element/mochitest/test_browserElement_oop_GetContentDimensions.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
2015-07-10 17:38:44 +01:00
Juan Gomez 258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Andrew McCreight f4abeb8aba Bug 886459, part 1 - Remove unused includes of nsIJSRuntimeService.h. r=bholley 2015-06-26 18:44:13 -07:00
Ryan VanderMeulen 5f5c327690 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez 702a59d135 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Andrea Marchesini 4546e525be Bug 1167296 - patch 2 - ServiceWorkerManager::Remove should use PBackground, r=nsm 2015-06-21 12:19:07 +01:00
Andrea Marchesini 0bc6c733fd Bug 1167296 - patch 1 - ServiceWorkerManager::RemoveAll should use PBackground, r=nsm 2015-06-21 12:17:58 +01:00
Jan-Ivar Bruaroey d4bc9fa237 Bug 1173255 - Cleanup MediaManager e10s code in prep for deviceId constraint. r=jesup
--HG--
extra : amend_source : 057f17d55cd44a700abab5595c9f4fc95cfd2419
extra : transplant_source : %B7%5C%7D%FA%E9%3F%29%F9%EBM%9E%B5%1A%A6G%29%25%01%0E-
extra : histedit_source : a10d0d5106f5fffb3881604728c1933c90772622%2Cdf022706033cb19f87a8dd58376ab7800d9d2526
2015-06-18 11:46:36 -04:00
Benoit Girard 40e622a937 Backout b8601df335c1 (Bug 1174857) for bustage on a CLOSED TREE
--HG--
extra : rebase_source : 58bd3abea6a6d1439bb40fc98cae0ddd0f3dc505
2015-06-17 11:44:48 -04:00
Benoit Girard 495a19e156 Bug 1174857 - Propagate safemode to the child process. r=billm
--HG--
extra : rebase_source : 21e31bec462fa2966f5450ca2a69358219249186
2015-06-16 17:16:51 -04:00
Mike Conley 883b7ff2db Bug 1116188 - Add async ProfileGatherer as the mechanism for gathering profiles from subprocesses. r=bgirard,bz
--HG--
extra : commitid : 3ssrVzrWpIy
extra : rebase_source : 5d389ada8f7e4c453c0b7e6a965ee46a7526e06f
2015-06-10 17:58:30 -04:00
Trevor Saunders 7b3ae0b25b bug 1167295 - manage PDocAccessible with PBrowser instead of PContent r=smaug 2015-05-29 10:15:26 -04:00
Wes Kocher 9659326427 Merge fx-team to central, a=merge 2015-05-27 17:18:48 -07:00
Shu-yu Guo eca2c2d5bb Bug 1166492 - Return UniquePtr<char[]> from profiler_get_profile to avoid double copying. (r=mstange) 2015-05-26 22:58:40 -07:00
Dave Townsend 98addd92dd Bug 1168346: Backout the patch from bug 1160279 after a broken merge. 2015-05-26 16:07:54 -07:00
Cervantes Yu 55152ad9d9 Backout change 39e167bbd14c, a80140872ea5, adae9be2294d and b71ccef9c674 (bug 970307). 2015-05-19 14:31:25 +08:00
Carsten "Tomcat" Book 005c5ce415 Backed out changeset 4d2839eea957 (bug 970307) 2015-05-19 11:44:27 +02:00
Cervantes Yu a12ce249b1 Backout change 39e167bbd14c, a80140872ea5, adae9be2294d and b71ccef9c674 (bug 970307).
--HG--
extra : rebase_source : 829e80228e07440285383316d2c4fea017828529
2015-05-19 14:31:25 +08:00
Milan Sreckovic e20f8e396f Bug 1162700 - Split the AppInfo into initial setting of the values and the further initialization. r=smaug 2015-05-14 10:49:38 -04:00
Andrea Marchesini 0ff6ef9063 no bug - fix merge bustage, CLOSED TREE 2015-05-12 16:51:08 +01:00
Carsten "Tomcat" Book 90096e4744 merge mozilla-central to mozilla-inbound
--HG--
rename : dom/base/MultipartFileImpl.cpp => dom/base/MultipartBlobImpl.cpp
rename : dom/base/MultipartFileImpl.h => dom/base/MultipartBlobImpl.h
2015-05-12 17:07:10 +02:00
Carsten "Tomcat" Book dd3f1a22f8 merge mozilla-inbound to mozilla-central a=merge 2015-05-12 16:10:32 +02:00
Andrea Marchesini f4538bb921 Bug 1163387 - Rename FileImpl to BlobImpl, r=ehsan
--HG--
rename : dom/base/MultipartFileImpl.cpp => dom/base/MultipartBlobImpl.cpp
rename : dom/base/MultipartFileImpl.h => dom/base/MultipartBlobImpl.h
2015-05-12 13:11:03 +01:00
Bill McCloskey e6fc5ae904 Bug 1162838 - Allow sending initial process data to content processes (r=smaug) 2015-05-11 17:19:16 -07:00
Dave Townsend 15408ebb1e Backed out bug 1160279 for causing bug 1163375. 2015-05-11 09:42:35 -07:00
Wes Kocher e43a05d6d2 Merge fx-team to m-c a=merge 2015-05-08 10:29:41 -07:00
Dave Townsend 8ee20de440 Bug 1160279: Recreate nsIFiles in the content process for dragged files. r=smaug
--HG--
extra : rebase_source : f90e7cb31486ef8fd29769c86f25f8341b7b97e6
extra : amend_source : ec7283835b92bc45715549420163059e8f45f187
2015-05-07 09:13:35 -07:00
Paul Kerr [:pkerr] 4aa9352d7d Bug 1159320: disable-webrtc builds fail after bug 1100502 applied. r=rjesup
--HG--
rename : media/webrtc/signaling/src/peerconnection/PWebrtcGlobal.ipdl => dom/media/webrtc/PWebrtcGlobal.ipdl
rename : media/webrtc/signaling/src/peerconnection/WebrtcGlobal.h => dom/media/webrtc/WebrtcGlobal.h
2015-05-06 09:29:33 -07:00
Nikhil Marathe 4c2d6784e1 Bug 1080109 - Clear ServiceWorkers when clearing history or forgetting about site. r=baku,ehsan
--HG--
extra : rebase_source : 41417b60ed6603d613b65cd7e96a5ba8121b05e5
2015-03-05 17:37:49 -08:00
Kershaw Chang 5ac15a53f1 Bug 1126694 - Impl of DeviceStorageAreaListener. r=bz, dhylands 2015-05-04 08:11:00 +02:00
Valentin Gosu f8c914c69e Bug 1134596 - Separate nsIOService's network detection from offlineMode r=honzab 2015-05-02 00:14:39 +03:00
Jed Davis 1b9d15f48d Bug 1151597 - Step 1: Change memory reporting IPC to send one report per message. r=erahm
Also fixes bug 1005154 -- since there's now a method for "end of report",
we might as well call it from ActorDestroy instead of Recv__delete__.

--HG--
extra : rebase_source : 89f467fbc553a1a3a4d9b144fff747fa3447f21b
2015-04-27 15:45:00 -04:00
Jed Davis 796a0902b3 Bug 1151597 - Step 0: Move IPC memory report generation number to parent-side actor. r=erahm
Preliminary cleanup before the main patch.  There's no reason for the
child to send the generation number back to the parent when the parent
already had it; the IPDL actor abstraction will ensure that the binding
between parent-side state and child-side state is maintained.

--HG--
extra : rebase_source : 42163bca488e4f63c14e4aee54f91a72a796f081
2015-04-27 15:44:00 -04:00
Paul Kerr [:pkerr] 26a44a8d8d Bug 1100502: about:webrtc e10s fix. Content and chrome connections are reported. r=rjesup 2015-04-21 15:29:18 -07:00
Bill McCloskey d6da985b93 Bug 1155789 - Fail if sending a CPOW in parent when no CPOW manager exists (r=dvander) 2015-04-27 19:45:18 -07:00
Kyle Machulis 358e55b5b7 Bug 852944 - Gamepad API IPC; r=ted, r=baku
--HG--
extra : rebase_source : 34ca0c1e1b7fcc312b5d7c97d5bd2086af2bc7ce
2015-04-23 15:05:29 -07:00
Mike Conley 409016f0e7 Bug 1096093 - Add infrastructure for LookAndFeel metric caching, and allowing the parent process to send down cache to content process. r=jimm.
--HG--
extra : rebase_source : 884abfaaa9882c7ae69c0f54a3951dfac16036d6
extra : source : 5f9c7cd773a5826d2621601e4f4ee3581d656764
2015-04-22 10:58:15 -04:00
Carsten "Tomcat" Book 9ef77a396d Backed out changeset 5f9c7cd773a5 (bug 1096093) for bustage on a CLOSED TREE 2015-04-23 17:18:52 +02:00
Mike Conley b81c35afce Bug 1096093 - Add infrastructure for LookAndFeel metric caching, and allowing the parent process to send down cache to content process. r=jimm.
--HG--
extra : rebase_source : 0b7f90741063b98d941febc12f6c882ff2414e86
2015-04-22 10:58:15 -04:00
Blake Kaplan 24f35dfe49 Bug 1124076 - Properly detect certs when loaded and prompt to import them. r=sworkman/dkeeler
--HG--
extra : rebase_source : 11fb8b1c1a3044b82668136f4cfec4c758d9270c
2015-04-22 12:55:23 -07:00
Carsten "Tomcat" Book ed2915b75f Backed out changeset 7f3cf84c11a9 (bug 1124076) for bustage on a CLOSED TREE 2015-04-22 13:44:23 +02:00
Blake Kaplan 3a94be560c Bug 1124076 - Properly detect certs when loaded and prompt to import them. r=sworkman/dkeeler
--HG--
extra : rebase_source : 00240091ae66180390a76a9613a4215cf591401d
2015-04-21 14:56:00 +02:00
Bill McCloskey 9233d0ea6f Bug 1155224 - Add targetFrameLoader property to messages (r=smaug) 2015-04-20 23:32:59 -07:00
Ryan VanderMeulen dd1120e715 Merge m-c to inbound. a=merge
CLOSED TREE
2015-04-17 16:11:58 -04:00
Ryan VanderMeulen 86aee22968 Merge inbound to m-c. a=merge
--HG--
rename : toolkit/modules/tests/browser/browser_AddonWatcher.js => toolkit/components/perfmonitoring/tests/browser/browser_AddonWatcher.js
2015-04-17 15:44:37 -04:00
Ehsan Akhgari 44e6522def Bug 1112469 - Part 2: Update the service workers in the parent and all child processes every day; r=nsm 2015-04-17 14:01:21 -04:00
Neil Deakin 0c80b5206b Bug 1071562, check type now that CString is supported, r=smaug 2015-04-16 15:38:12 -04:00
Dave Hylands 762a3b3c86 Bug 1140597 - Don't try and process device storage notifications if the process isn't using device storage. r=alchen 2015-03-27 14:22:20 -07:00
Kershaw Chang e81771306d Bug 1020179 - Let PContent manage PContentPermissionRequest. r=fabrice, r=khuey
--HG--
extra : rebase_source : dba5c4709942f8ad92fc6aa0ee76942247b08992
2015-04-13 21:08:00 -04:00
Jed Davis 32cb9ee32d Bug 1151607 - Step 1: Add Linux sandboxing hook for when child processes are still single-threaded. r=kang r=bent
This means that B2G plugin-container must (dynamically) link against
libmozsandbox in order to call into it before initializing Binder.
(Desktop Linux plugin-container already contains the sandbox code.)
2015-04-10 18:05:19 -07:00
Alexandru Tifrea 750f1d8d1c Bug 966395 - Correctly propagate the input language's direction on OSX. r=masayuki/mrbkap
Gtk patch written by mrbkap@mozilla.com, with r=roc
2015-04-10 15:18:05 -07:00
Ryan VanderMeulen 7d4b8df8a5 Merge inbound to m-c. a=merge 2015-04-09 11:34:05 -04:00
Cervantes Yu cb1bd7ee11 Bug 1142229, part 2 - Shut down the Nuwa process when its PContentParent::Close() is called. r=tlee 2015-04-09 15:26:50 +08:00
Carsten "Tomcat" Book 2d13b44c69 Backed out changeset 35e6bbc2136b (bug 1134596) for Android Crashtest failures 2015-04-09 12:33:41 +02:00
Valentin Gosu 375387ec80 Bug 1134596 - Separate nsIOService's network detection from offlineMode r=honzab 2015-04-09 06:32:53 +03:00
Olli Pettay aad5b35ad2 Bug 936092, initial DnD support for e10s, r=enndeakin,karlt
--HG--
extra : rebase_source : 070a9902f23d8b47e48ac0f972213815f8e4302c
2015-04-08 21:48:11 +03:00
Ryan VanderMeulen 1b034b250f Backed out changesets 33d37539c4ab and 55524bdeb708 (bug 936092) for suspicion of causing e10s test_bug417418.html asserts on Linux.
CLOSED TREE
2015-04-08 13:52:21 -04:00
Olli Pettay efdecf747e Bug 936092, initial DnD support for e10s, r=enndeakin,karlt
--HG--
extra : rebase_source : f0b1b0fa95dfa5fe16c09ebbc38618cf7c96654f
2015-04-08 18:30:03 +03:00
Jim Mathies 46a2e007da Bug 1132874 - Simplify PPluginWidget protocol handling, and avoid sending async messages from the parent. Addresses a problem with sub protocols that are torn down randomly from either side of the connection. r=aklotz 2015-04-07 08:17:27 -05:00
Bob Owen 077c2e64f4 Bug 1149483: Change content sandbox level 1 to a working low integrity sandbox. r=tabraldes, r=billm 2015-04-05 14:01:38 +01:00
Steven Michaud 33228918ed Bug 1110911 - Move Mac sandboxing code into plugin-container. r=cpearce,areinald,jld 2015-04-03 11:51:41 -05:00
Peter Van der Beken 166fcb5464 Bug 1057908 - GeckoMediaPluginService needs to be proxied from Content processes to parent process. Part 5 - use bridging for GMP in e10s. r=billm.
--HG--
extra : rebase_source : a20ed3386758ceabccb50b68a9b9081c17a95c49
2015-02-10 11:49:03 +01:00
Bob Owen e4f543bb58 Bug 1119878 Part 2: Change IPC code to hold ProcessID instead of ProcessHandle. r=billm, r=dvander, r=aklotz, r=cpearce 2015-04-01 09:40:35 +01:00
Bevis Tseng 1cba772979 Bug 1114935 - Part 4.2: Add IPC Implementation of nsIIccService. r=echen 2015-01-07 16:58:35 +08:00
Gabor Krizsanits 9ae27c5155 Bug 1126014 - DomainPolicy support for e10s. r=mrbkap 2015-03-24 15:29:16 +01:00
Ehsan Akhgari 883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Bill McCloskey e26a687773 Bug 1121676 - Use a lock to protect the list of top-level actors (r=bent) 2015-03-20 12:02:41 -07:00
Wes Kocher 1b3a79760d Merge m-c to inbound a=merge CLOSED TREE 2015-03-18 16:00:39 -07:00
Gregor Wagner fa698fe8a9 Backout Bug 1114935 for causing bug 1144567. 2015-03-18 11:48:52 -07:00
Andrew McCreight 3a695ddab1 Bug 1069643 - Remove always failing call to GetCPOWManager from ContentChild::Init. r=billm a=ryanvm 2015-03-18 11:36:04 -07:00
Bevis Tseng 2fb4034541 Bug 1114935 - Part 4.2: Add IPC Implementation of nsIIccService. r=echen
--HG--
extra : rebase_source : bb3dc8efaba376c75e36e397ce8c248064ba5e5d
2015-01-07 16:58:35 +08:00
Cervantes Yu 45006fc32b Bug 1142935 - reset transports with NuwaAddConstructor(). r=tlee 2015-03-16 22:25:59 -07:00
Chih-Kai (Patrick) Wang 22287fd2c7 Bug 1129315 - require app processes update permissions after forked from nuwa. r=jdm 2015-03-12 16:53:22 +08:00
Bob Owen b08af57c17 Bug 1137166: Change the Content moreStrict sandbox pref to an integer to indicate the level of sandboxing. r=tabraldes 2015-03-10 08:03:12 +00:00
Mike Conley 3b00b2594e Bug 1088070 - Rename nsPrintingPromptServiceProxy to nsPrintingProxy. r=smaug.
--HG--
rename : embedding/components/printingui/ipc/nsPrintingPromptServiceProxy.cpp => embedding/components/printingui/ipc/nsPrintingProxy.cpp
rename : embedding/components/printingui/ipc/nsPrintingPromptServiceProxy.h => embedding/components/printingui/ipc/nsPrintingProxy.h
extra : rebase_source : f9322eb935167ac31610e2345ced11d8cdc8295a
2015-03-05 13:12:41 -05:00
Carsten "Tomcat" Book 3239d15532 Backed out changeset a1c1f919b5b8 (bug 1088070)
--HG--
rename : embedding/components/printingui/ipc/nsPrintingProxy.cpp => embedding/components/printingui/ipc/nsPrintingPromptServiceProxy.cpp
rename : embedding/components/printingui/ipc/nsPrintingProxy.h => embedding/components/printingui/ipc/nsPrintingPromptServiceProxy.h
2015-03-05 08:54:02 +01:00
Mike Conley a7e58aee92 Bug 1088070 - Rename nsPrintingPromptServiceProxy to nsPrintingProxy. r=smaug.
--HG--
rename : embedding/components/printingui/ipc/nsPrintingPromptServiceProxy.cpp => embedding/components/printingui/ipc/nsPrintingProxy.cpp
rename : embedding/components/printingui/ipc/nsPrintingPromptServiceProxy.h => embedding/components/printingui/ipc/nsPrintingProxy.h
extra : rebase_source : 73d55966d1b1644f24ef3bfc841fc9fa22b42b48
2015-03-02 14:34:05 -05:00
Mike Conley ce76729963 Bug 1066812 - Set AbortOnError in the ContentProcess on initialization. r=billm.
This will cause the content process to take itself down in the event that it
loses communication with the parent process. This case is particularly
important for the case where the parent process crashes while the content
process is blocked or busy on the main thread, as the content process will
no longer continue to exist as a zombie process, but will shut down after
a short delay.

--HG--
extra : rebase_source : c34e11451f58252ad44b1e6e46b01a0b4253fec4
2015-02-13 14:10:56 -05:00
André Reinald 70a296a23b Bug 1083344 - Tighten rules for Mac OS content process sandbox - "core part". r=smichaud
--HG--
extra : histedit_source : 3c904474c57dbf086365cc6b26a55c34b2b449ae
2015-02-18 14:10:27 +01:00
Bill McCloskey 989fdd3474 Bug 1133594 - Add support for message manager process scripts (r=smaug) 2015-02-19 17:13:02 -08:00
Bill McCloskey e310fd9b2a Bug 1133594 - Hide nsFrameMessageManager::sChildProcessManager (r=smaug) 2015-02-19 17:12:38 -08:00
Botond Ballo 847508c681 Bug 1132153 - Replace 'using namespace base' with specific using-declarations. r=dholbert 2015-02-11 15:01:26 -05:00
Kan-Ru Chen (陳侃如) 50b5ccd2c2 Bug 1126119 - Create SystemMessageCache and cache hasPendingMessage in content process. r=fabrice 2015-02-11 11:18:32 +01:00
Nicholas Nethercote 242708cf72 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Jim Mathies 0befc5e9a8 Bug 1130842 - Prior to aborting the child process due to an ipc processing error, annotate the child's crash report with the ipc failure reason text. r=billm 2015-02-08 12:37:21 -06:00
Andrew McCreight d3826daa16 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote d34f0301b8 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Bill McCloskey c04f106018 Bug 1124933 - Include crash reason when intentionally crashing content process (r=bent) 2015-02-03 09:09:27 -08:00
Ryan VanderMeulen 53a1d4ed8d Merge m-c to inbound. a=merge 2015-01-30 12:32:49 -05:00
Jim Mathies 65a742643b Bug 1127374 - Make ContentParent::RecvLoadPlugin less failure prone. r=billm 2015-01-30 10:37:03 -06:00
Kan-Ru Chen (陳侃如) a845477766 Bug 1112989 - Part 2. Forward device-storage volumes info to ContentChild before app startup. r=dhylands 2015-01-30 11:43:31 +08:00
Bill McCloskey f0c84ea9eb Bug 1126042 - Use different window IDs for different processes (r=smaug) 2015-01-28 11:53:46 -08:00
Bill McCloskey 66061807e0 Bug 1123461 - Rename CpowIdHolder to CrossProcessCpowHolder (r=dvander) 2015-01-26 13:32:31 -08:00
Bill McCloskey 2f3d90830b Bug 1123461 - Make a real interface for js/ipc (r=dvander) 2015-01-26 13:32:18 -08:00
Bill McCloskey f6534c08fb Bug 1118618 - [e10s] Slow script/plugin hang UI (r=mrbkap,mconley,bent) 2015-01-16 18:34:47 -08:00
Bill McCloskey cb8c3ea750 Backout bug 1118618 on a CLOSED TREE 2015-01-16 14:46:05 -08:00
Aaron Klotz ef6504b6e6 Bug 1117244: Prevent e10s plugin module bridging from preempting async init messages; r=jimm
--HG--
extra : rebase_source : 205864aff2e571b27e11f4d4ec2ec1fa17e7841e
2015-01-16 14:03:27 -07:00
Kyle Huey 7c82e6dd0a Bug 1121673: Use move references in IPDL. r=bent 2015-01-16 11:58:52 -08:00
Bill McCloskey 50963a26d1 Bug 1118618 - [e10s] Slow script/plugin hang UI (r=mrbkap,mconley) 2015-01-16 10:11:18 -08:00
Andrew McCreight dc802a4bdc Bug 1091766 - Don't exit(0) when a message is dropped in the child process. r=bent 2015-01-13 12:32:34 -08:00
Carsten "Tomcat" Book fe2f83538c Backed out changeset 8ab6c26d26f5 (bug 1118618) 2015-01-13 08:43:32 +01:00
Bill McCloskey 86da48e77b Bug 1118618 - [e10s] Slow script/plugin hang UI (r=mrbkap,mconley) 2015-01-12 23:06:54 -08:00
Bill McCloskey e447f7ea13 Bug 1103036 - Follow-up to initial patch; r=jchen 2015-01-10 13:39:33 -05:00
Jim Chen bd1fc5f714 Bug 1103036 - Allow ContentChild to perform tasks during shutdown; r=billm 2015-01-10 13:18:59 -05:00
Phil Ringnalda d5bc2e8a7c Back out 3 changesets (bug 1103036) for b2g xpcshell bustage
CLOSED TREE

Backed out changeset e6ab63938473 (bug 1103036)
Backed out changeset 900bb5fcdd36 (bug 1103036)
Backed out changeset bc53d85bc1b2 (bug 1103036)
2015-01-06 23:33:50 -08:00
Jim Chen 832550d4bf Bug 1103036 - Allow ContentChild to perform tasks during shutdown (r=billm) 2015-01-06 21:40:56 -08:00
Ehsan Akhgari 86300ddc20 Bug 1118425 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/ipc; r=baku 2015-01-06 23:33:49 -05:00
Aaron Klotz 66e006ee8b Bug 998863: Asynchronous Plugin Initialization, Part 9: PluginModuleParent changes; r=jimm 2014-12-29 16:13:54 -07:00
CHUANG CHENYU 0aa1eafc0c Bug 1033952 - Implement "Removable" and "HotSwappable" APIs for device storage. r=dhylands, r=bzbarsky 2014-12-22 10:33:33 +08:00
Phil Ringnalda 0c888c27eb Backed out 15 changesets (bug 1070755, bug 998863) for e10s bustage
CLOSED TREE

Backed out changeset 076d1d47d601 (bug 1070755)
Backed out changeset 43819af59ca5 (bug 998863)
Backed out changeset 5f587697ae63 (bug 998863)
Backed out changeset e2cf239e8572 (bug 998863)
Backed out changeset fe21b6b789ce (bug 998863)
Backed out changeset 404f59f86edc (bug 998863)
Backed out changeset 5dd57abaf2b0 (bug 998863)
Backed out changeset 6c1f006a03bc (bug 998863)
Backed out changeset 9e69875e3667 (bug 998863)
Backed out changeset c6b68f8f72ba (bug 998863)
Backed out changeset 713799a7afe4 (bug 998863)
Backed out changeset 4244d662787c (bug 998863)
Backed out changeset ba058cc7a1b2 (bug 998863)
Backed out changeset dabc69b0b09a (bug 998863)
Backed out changeset 18dad6d2e7cc (bug 998863)
2014-12-24 18:28:45 -08:00
Aaron Klotz 2a239530b3 Bug 998863: Asynchronous Plugin Initialization, Part 9: PluginModuleParent changes; r=jimm 2014-12-24 17:57:03 -07:00
Bill McCloskey 1c06e285f6 Bug 1105039 - Use high prio messages rather than intr for profiling (r=mconley) 2014-12-18 17:36:17 -08:00
Chih-Kai (Patrick) Wang 1b982fc3d7 Bug 970307: Part 3: Reinitialize modules after fork. r=fabrice 2014-12-18 17:01:33 +08:00
Chih-Kai (Patrick) Wang 6a357533b1 Bug 970307: Part 2: Let Nuwa wait for all tasks of preload slow things to finish. r=cyu 2014-12-18 17:01:04 +08:00
Botond Ballo 79d427447d Bug 1073081 - Fix -Waddress warnings about Nuwa functions. r=khuey
--HG--
extra : source : 8cd5108862aaf2c579a76ac6e9c08eb69fa5f3ff
2014-11-26 19:20:03 -05:00
Bob Owen b539721eb8 Bug 928044 Part 2: Enable the content sandbox by default on Windows with an open policy. r=tabraldes,glandium,jimm
--HG--
rename : security/sandbox/win/src/warnonlysandbox/wosCallbacks.h => security/sandbox/win/src/logging/loggingCallbacks.h
rename : security/sandbox/win/src/warnonlysandbox/wosTypes.h => security/sandbox/win/src/logging/loggingTypes.h
rename : security/sandbox/win/src/warnonlysandbox/warnOnlySandbox.cpp => security/sandbox/win/src/logging/sandboxLogging.cpp
rename : security/sandbox/win/src/warnonlysandbox/warnOnlySandbox.h => security/sandbox/win/src/logging/sandboxLogging.h
2014-11-29 17:12:18 +00:00
Jed Davis 2fdd7150c1 Bug 1101170 - Move sandbox status info into a separate module. r=kang r=glandium
This changes the interface so that the code which determines the flags
can live in one place, but checking the flags doesn't need to call into
another library.

Also removes the no-op wrappers for Set*Sandbox when disabled at build
time; nothing used them, one of them was unusable due to having the wrong
type, and all they really accomplish is allowing sloppiness with ifdefs
(which could hide actual mistakes).
2014-11-24 15:22:13 -08:00
Mike Conley ccd8edc947 Bug 1008435 - Let the Gecko Profiler work with child processes. r=BenWa,smaug.
We now allow profiling the content process for e10s, and plugin processes.

--HG--
extra : rebase_source : 1f2e35d4d55b33b56160132893dbf7d4787925fa
extra : amend_source : d03465d4318f8e50c7624ad0eeb681b30c068b11
2014-11-18 12:50:25 -05:00
Kershaw Chang b581824528 Bug 1020186 - Patch 2: Make POfflineCacheUpdate be managed by PContent - v4. r=honzab 2014-11-13 01:31:00 +01:00
André Reinald b99018f7d4 Bug 1076385 - Start the Mac sandbox on reception of a specific message from the main process (same as Windows and Linux). r=smichaud 2014-11-10 17:59:43 +01:00
Jed Davis 59573e5f85 Bug 1077057 - Expose Linux sandboxing information to JS via nsSystemInfo. r=kang r=froydnj
This adds "hasSeccompBPF" for seccomp-bpf support; other "has" keys
will be added in the future (e.g., user namespaces).

This also adds "canSandboxContent" and "canSandboxMedia", which are
absent if the corresponding type of sandboxing isn't enabled at build
type (or is disabled with environment variables), and otherwise present
as a boolean indicating whether that type of sandboxing is supported.
Currently this is always the same as hasSeccompBPF, but that could change
in the future.

Some changes have been made to the "mozilla/Sandbox.h" interface to
support this; the idea is that the MOZ_DISABLE_*_SANDBOX environment
variables should be equivalent to disabling MOZ_*_SANDBOX at build time.
2014-11-06 13:11:00 +01:00
Kershaw Chang e2040010e8 Bug 1041419 - Patch 1: Add GetBrowserOrId in ContentChild. r=smaug 2014-11-04 02:58:00 +01:00
Vinay G Shetty 0f56cc3110 Bug 811470 - Send geolocation error codes to the content process. r=jdm 2014-10-23 11:31:00 -07:00
André Reinald 436338cb49 Bug 1076385 - Sandbox the content process on Mac. r=smichaud 2014-10-30 13:33:17 -05:00
Kershaw Chang 4009e7ff79 Bug 1020172 - Patch 2: Manage TabParent in chrome process - v14. r=khuey 2014-10-29 19:11:00 +01:00
Kershaw Chang e94eff7080 Bug 1020172 - Patch 1: Replace process id with ContentParentId type - v3. r=khuey 2014-10-24 02:28:00 +02:00
Bill McCloskey 69446aded5 Bug 641685 - Start plugins from the chrome process in e10s (r=bsmedberg)
This patch has a few side effects:
1. Plugins in the chrome process are "mirrored" to all content processes,
although this mirroring is currently imperfect (bug 1090576)
2. Plugins are no longer sorted by modification date in nsPluginHost.
3. Plugin exceptions are no longer propagated to JS code. They are ignored.
2014-10-29 08:05:36 -07:00
Mike Conley 5368b2ecee Bug 1082579 - Introduce PPrinting.ipdl and proxies for opening printing UI. r=blassey.
--HG--
extra : rebase_source : 69ac7840ef72055911daa0ff482236b57f563aba
2014-10-28 11:59:08 -04:00
Wes Kocher f24485360f Backed out 4 changesets (bug 1020172) for causing bug 1089542 a=backout
Backed out changeset 176ca4363517 (bug 1020172)
Backed out changeset 90714be8e689 (bug 1020172)
Backed out changeset 9d8c09e711f5 (bug 1020172)
Backed out changeset f895938013ff (bug 1020172)
2014-10-27 16:56:45 -07:00
Kershaw Chang b57883c25f Bug 1020172 - Part 2: Manage TabParent in chrome process. r=khuey 2014-10-24 02:29:00 -04:00
Kershaw Chang 040b0d19e2 Bug 1020172 - Part 1: Replace process id with ContentParentId type. r=khuey 2014-10-24 02:28:00 -04:00
Blake Kaplan 32d34b8eb5 Bug 1068811 - Make middle-mouse-click paste work in X11. r=billm/jimm 2014-10-22 11:50:00 +02:00
Trevor Saunders 97a4468c62 bug 982842 - initial a11y ipc impl r=davidb, bent 2014-03-07 16:35:19 -05:00
David Major 93d0d9b7f2 Backed out changeset 6c4291086b00 for B2G desktop linux bustage on a CLOSED TREE 2014-10-21 17:56:07 +13:00
Blake Kaplan c35784ec13 Bug 1068811 - Make middle-mouse-click paste work in X11. r=billm 2014-10-20 18:42:40 -07:00
Felipe César bfa3ebfcfc Bug 1080017 - Don't send Geolocation messages during shutdown. r=jdm 2014-10-13 17:28:00 -04:00
Shelly Lin ext:(%2CCervantes%20Yu%20%3Ccyu%40mozilla.com%3E) 89b484cd7a Bug 992454 - Part 1: Log TaskTracer data into string buffers and bug fixes. r=khuey. 2014-10-14 10:47:59 +08:00
Andrea Marchesini 8f8ec51372 Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-08 17:15:23 +01:00
Dave Townsend c0153fffad Bug 1068412: Forward dynamically registered resource URI mappings to content processes. r=billm 2014-10-07 10:29:40 -07:00
Andrew McCreight 9d6136ff7b Bug 1073597, part 3 - Lazify creation of the CPOW manager in CpowIdHolder. r=billm 2014-10-06 15:45:42 -07:00
Andrew McCreight 6ca7943f17 Bug 1073597, part 2 - Factor out common base class for GetCPOWManager. r=smaug 2014-10-06 15:45:42 -07:00
Blake Kaplan f809f5b13f Bug 1026099 - Rework the spellchecker context menu to not use CPOWs. r=ehsan/billm/felipe
This patch fixes a few nits and typos in the C++ spellchecking code as well as
fixing the Finnish dictionary and multiple installed dictionaries in general (r=ehsan).

It reworks the spellchecking context menu to use async message passing (in JS)
and reduces, by a little, the CPOW use in the context menu code (r=felipe).

Finally, the spellcheck IPDL no longer needs to be 'rpc' since we no longer
nest spellchecking calls, so it can go back to being 'sync' (r=billm).
2014-10-03 10:52:37 -04:00
Carsten "Tomcat" Book a521762182 Backed out changeset a11adf1705ec (bug 982842) for causing bug 1075387 2014-10-01 14:41:56 +02:00
Ryan VanderMeulen 58b9e4c88e Merge m-c to inbound. a=merge 2014-09-29 16:00:57 -04:00
Ryan VanderMeulen ade52f2a46 Merge m-c to b2g-inbound. a=merge
CLOSED TREE
2014-09-29 10:46:00 -04:00
Ben Turner d081140cb0 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey. 2014-09-26 16:21:57 -07:00