Bug 1868254: Remore unneeded MOZ_ASSERT_UNREACHABLE r=necko-reviewers,valentin

Differential Revision: https://phabricator.services.mozilla.com/D202584
This commit is contained in:
Randell Jesup 2024-02-26 22:48:59 +00:00
parent 4255184fd2
commit 28bd5b6f18

View File

@ -131,7 +131,7 @@ bool SerializeIPCStream(already_AddRefed<nsIInputStream> aInputStream,
InputStreamHelper::SerializeInputStreamAsPipe(stream, aValue.stream());
if (aValue.stream().type() == InputStreamParams::T__None) {
MOZ_ASSERT_UNREACHABLE("Serializing as a pipe failed");
// This can fail from OOM, etc. We will likely MOZ_CRASH now
return false;
}
return true;