зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1325918 - Ignore MsgDropped errors in BackgroundChildImpl. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D83558
This commit is contained in:
Родитель
aa690536d8
Коммит
75573b020f
|
@ -131,12 +131,14 @@ void BackgroundChildImpl::ProcessingError(Result aCode, const char* aReason) {
|
|||
nsAutoCString abortMessage;
|
||||
|
||||
switch (aCode) {
|
||||
case MsgDropped:
|
||||
return;
|
||||
|
||||
#define HANDLE_CASE(_result) \
|
||||
case _result: \
|
||||
abortMessage.AssignLiteral(#_result); \
|
||||
break
|
||||
|
||||
HANDLE_CASE(MsgDropped);
|
||||
HANDLE_CASE(MsgNotKnown);
|
||||
HANDLE_CASE(MsgNotAllowed);
|
||||
HANDLE_CASE(MsgPayloadError);
|
||||
|
|
Загрузка…
Ссылка в новой задаче