mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 529877 - Remove stray printfs in e10s dom/ipc code; r=cjones
This commit is contained in:
parent
e5208fea4a
commit
c9863d7f9a
@ -115,7 +115,11 @@ AssertAppProcess(PContentParent* aActor,
|
||||
}
|
||||
}
|
||||
|
||||
printf_stderr("Security problem: Content process does not have `%s'. It will be killed.\n", aCapability);
|
||||
NS_ERROR(
|
||||
nsPrintfCString(
|
||||
"Security problem: Content process does not have `%s'. It will be killed.\n",
|
||||
aCapability).get());
|
||||
|
||||
static_cast<ContentParent*>(aActor)->KillHard();
|
||||
|
||||
return false;
|
||||
@ -133,7 +137,11 @@ AssertAppStatus(PContentParent* aActor,
|
||||
}
|
||||
}
|
||||
|
||||
printf_stderr("Security problem: Content process does not have `%d' status. It will be killed.\n", aStatus);
|
||||
NS_ERROR(
|
||||
nsPrintfCString(
|
||||
"Security problem: Content process does not have `%d' status. It will be killed.",
|
||||
aStatus).get());
|
||||
|
||||
static_cast<ContentParent*>(aActor)->KillHard();
|
||||
|
||||
return false;
|
||||
|
@ -1984,8 +1984,11 @@ ContentParent::RecvNuwaReady()
|
||||
{
|
||||
#ifdef MOZ_NUWA_PROCESS
|
||||
if (!IsNuwaProcess()) {
|
||||
printf_stderr("Terminating child process %d for unauthorized IPC message: "
|
||||
"NuwaReady", Pid());
|
||||
NS_ERROR(
|
||||
nsPrintfCString(
|
||||
"Terminating child process %d for unauthorized IPC message: NuwaReady",
|
||||
Pid()).get());
|
||||
|
||||
KillHard();
|
||||
return false;
|
||||
}
|
||||
@ -2003,8 +2006,11 @@ ContentParent::RecvAddNewProcess(const uint32_t& aPid,
|
||||
{
|
||||
#ifdef MOZ_NUWA_PROCESS
|
||||
if (!IsNuwaProcess()) {
|
||||
printf_stderr("Terminating child process %d for unauthorized IPC message: "
|
||||
"AddNewProcess(%d)", Pid(), aPid);
|
||||
NS_ERROR(
|
||||
nsPrintfCString(
|
||||
"Terminating child process %d for unauthorized IPC message: "
|
||||
"AddNewProcess(%d)", Pid(), aPid).get());
|
||||
|
||||
KillHard();
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user