From 75573b020f20862c2cb628e60df754052f2a1301 Mon Sep 17 00:00:00 2001 From: Jed Davis Date: Tue, 14 Jul 2020 20:23:49 +0000 Subject: [PATCH] Bug 1325918 - Ignore MsgDropped errors in BackgroundChildImpl. r=nika Differential Revision: https://phabricator.services.mozilla.com/D83558 --- ipc/glue/BackgroundChildImpl.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ipc/glue/BackgroundChildImpl.cpp b/ipc/glue/BackgroundChildImpl.cpp index 3e2d51dcc0ca..b0817c268243 100644 --- a/ipc/glue/BackgroundChildImpl.cpp +++ b/ipc/glue/BackgroundChildImpl.cpp @@ -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);