mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Bug 777292 - exit(-1) instead of exit(NS_ERROR_FAILURE); r=ehsan
This commit is contained in:
parent
bebfcd08da
commit
f3f465386f
@ -447,7 +447,7 @@ public:
|
||||
if (sDestructorOrderArr && mVal != sDestructorOrderArr[sDestructorCount]) {
|
||||
fail("~SimpleTransaction expected %d got %d.\n",
|
||||
mVal, sDestructorOrderArr[sDestructorCount]);
|
||||
exit(NS_ERROR_FAILURE);
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
++sDestructorCount;
|
||||
@ -470,7 +470,7 @@ public:
|
||||
if (sDoOrderArr && mVal != sDoOrderArr[sDoCount]) {
|
||||
fail("DoTransaction expected %d got %d.\n",
|
||||
mVal, sDoOrderArr[sDoCount]);
|
||||
exit(NS_ERROR_FAILURE);
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
++sDoCount;
|
||||
@ -493,7 +493,7 @@ public:
|
||||
if (sUndoOrderArr && mVal != sUndoOrderArr[sUndoCount]) {
|
||||
fail("UndoTransaction expected %d got %d.\n",
|
||||
mVal, sUndoOrderArr[sUndoCount]);
|
||||
exit(NS_ERROR_FAILURE);
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
++sUndoCount;
|
||||
@ -516,7 +516,7 @@ public:
|
||||
if (sRedoOrderArr && mVal != sRedoOrderArr[sRedoCount]) {
|
||||
fail("RedoTransaction expected %d got %d.\n",
|
||||
mVal, sRedoOrderArr[sRedoCount]);
|
||||
exit(NS_ERROR_FAILURE);
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
++sRedoCount;
|
||||
|
Loading…
Reference in New Issue
Block a user