mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 15:28:39 +09:00
Remove sandbox ductwork conditional code.
This commit is contained in:
parent
aa9ae963f6
commit
c8462db202
44 changed files with 5 additions and 916 deletions
|
|
@ -74,11 +74,6 @@
|
|||
|
||||
#include "mozilla/Telemetry.h"
|
||||
|
||||
#if defined(MOZ_SANDBOX) && defined(XP_WIN)
|
||||
#include "mozilla/sandboxTarget.h"
|
||||
#include "mozilla/sandboxing/loggingCallbacks.h"
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_IPDL_TESTS
|
||||
#include "mozilla/_ipdltest/IPDLUnitTests.h"
|
||||
#include "mozilla/_ipdltest/IPDLUnitTestProcessChild.h"
|
||||
|
|
@ -315,11 +310,6 @@ XRE_InitChildProcess(int aArgc,
|
|||
freopen("CONIN$", "r", stdin);
|
||||
}
|
||||
|
||||
#if defined(MOZ_SANDBOX)
|
||||
if (aChildData->sandboxTargetServices) {
|
||||
SandboxTarget::Instance()->SetTargetServices(aChildData->sandboxTargetServices);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// NB: This must be called before profiler_init
|
||||
|
|
@ -585,12 +575,6 @@ XRE_InitChildProcess(int aArgc,
|
|||
::SetProcessShutdownParameters(0x280 - 1, SHUTDOWN_NORETRY);
|
||||
#endif
|
||||
|
||||
#if defined(MOZ_SANDBOX) && defined(XP_WIN)
|
||||
// We need to do this after the process has been initialised, as
|
||||
// InitLoggingIfRequired may need access to prefs.
|
||||
mozilla::sandboxing::InitLoggingIfRequired(aChildData->ProvideLogFunction);
|
||||
#endif
|
||||
|
||||
OverrideDefaultLocaleIfNeeded();
|
||||
|
||||
// Run the UI event loop on the main thread.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue