mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 08:18:41 +09:00
Remove content process sandbox code.
This commit is contained in:
parent
d87cc84005
commit
369378d566
41 changed files with 1 additions and 1823 deletions
|
|
@ -3417,22 +3417,10 @@ OOPInit()
|
|||
|
||||
#if (defined(XP_WIN) || defined(XP_MACOSX))
|
||||
nsCOMPtr<nsIFile> tmpDir;
|
||||
# if defined(MOZ_CONTENT_SANDBOX)
|
||||
nsresult rv = NS_GetSpecialDirectory(NS_APP_CONTENT_PROCESS_TEMP_DIR,
|
||||
getter_AddRefs(tmpDir));
|
||||
if (NS_FAILED(rv) && PR_GetEnv("XPCSHELL_TEST_PROFILE_DIR")) {
|
||||
// Temporary hack for xpcshell, will be fixed in bug 1257098
|
||||
rv = NS_GetSpecialDirectory(NS_OS_TEMP_DIR, getter_AddRefs(tmpDir));
|
||||
}
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
childProcessTmpDir = CreatePathFromFile(tmpDir);
|
||||
}
|
||||
# else
|
||||
if (NS_SUCCEEDED(NS_GetSpecialDirectory(NS_OS_TEMP_DIR,
|
||||
getter_AddRefs(tmpDir)))) {
|
||||
childProcessTmpDir = CreatePathFromFile(tmpDir);
|
||||
}
|
||||
# endif // defined(MOZ_CONTENT_SANDBOX)
|
||||
#endif // (defined(XP_WIN) || defined(XP_MACOSX))
|
||||
|
||||
#if defined(XP_WIN)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue