Bug 879092 - Have different runtime abort messages for the different error types. r=jlebar

This commit is contained in:
Gary Kwong 2013-06-03 21:15:40 -07:00
parent 15f4e6899b
commit 544e8798b3

View File

@ -950,12 +950,17 @@ ContentChild::ProcessingError(Result what)
QuickExit();
case MsgNotKnown:
NS_RUNTIMEABORT("aborting because of MsgNotKnown");
case MsgNotAllowed:
NS_RUNTIMEABORT("aborting because of MsgNotAllowed");
case MsgPayloadError:
NS_RUNTIMEABORT("aborting because of MsgPayloadError");
case MsgProcessingError:
NS_RUNTIMEABORT("aborting because of MsgProcessingError");
case MsgRouteError:
NS_RUNTIMEABORT("aborting because of MsgRouteError");
case MsgValueError:
NS_RUNTIMEABORT("aborting because of fatal error");
NS_RUNTIMEABORT("aborting because of MsgValueError");
default:
NS_RUNTIMEABORT("not reached");