Bug 1325918 - Ignore MsgDropped errors in BackgroundChildImpl. r=nika

Differential Revision: https://phabricator.services.mozilla.com/D83558
This commit is contained in:
Jed Davis 2020-07-14 20:23:49 +00:00
Родитель aa690536d8
Коммит 75573b020f
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -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);