Commit 3d663dec authored by Dan Glastonbury's avatar Dan Glastonbury
Browse files

Bug 1637783 - Relax SetLoadFlags hard assert to soft assert. r=mattwoodrow, a=pascalc

Differential Revision: https://phabricator.services.mozilla.com/D75215
parent dc187c37
...@@ -292,7 +292,9 @@ DocumentChannel::SetTRRMode(nsIRequest::TRRMode aTRRMode) { ...@@ -292,7 +292,9 @@ DocumentChannel::SetTRRMode(nsIRequest::TRRMode aTRRMode) {
} }
NS_IMETHODIMP DocumentChannel::SetLoadFlags(nsLoadFlags aLoadFlags) { 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; return NS_OK;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment