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 e39d5bd323
commit 6415e6908c

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();
}