diff --git a/netwerk/ipc/DocumentChannel.cpp b/netwerk/ipc/DocumentChannel.cpp index 45608639a22d..6587669a08ab 100644 --- a/netwerk/ipc/DocumentChannel.cpp +++ b/netwerk/ipc/DocumentChannel.cpp @@ -292,7 +292,9 @@ DocumentChannel::SetTRRMode(nsIRequest::TRRMode aTRRMode) { } NS_IMETHODIMP DocumentChannel::SetLoadFlags(nsLoadFlags aLoadFlags) { - MOZ_CRASH("Don't set flags after creation"); + NS_ERROR( + "DocumentChannel::SetLoadFlags: " + "Don't set flags after creation"); return NS_OK; }