don't allow TestLatency to run when MOZ_IPC_MESSAGE_LOG is set

This commit is contained in:
Chris Jones 2009-10-30 16:04:06 -05:00
parent b0a9529f7f
commit 9d64f5f777

View File

@ -36,6 +36,9 @@ TestLatencyParent::~TestLatencyParent()
void
TestLatencyParent::Main()
{
if (mozilla::ipc::LoggingEnabled())
NS_RUNTIMEABORT("you really don't want to log all IPC messages during this test, trust me");
PingPongTrial();
}