mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 13:57:32 +00:00
Bug 626741 - Downgrade assertion to warning, for failed modifications to immutable urls. r=bz a=NPOTB (debug-only)
This commit is contained in:
parent
ac569e89cd
commit
73ae517d85
@ -88,7 +88,7 @@ static PRLogModuleInfo *gStandardURLLog;
|
||||
#define ENSURE_MUTABLE() \
|
||||
PR_BEGIN_MACRO \
|
||||
if (!mMutable) { \
|
||||
NS_ERROR("attempt to modify an immutable nsStandardURL"); \
|
||||
NS_WARNING("attempt to modify an immutable nsStandardURL"); \
|
||||
return NS_ERROR_ABORT; \
|
||||
} \
|
||||
PR_END_MACRO
|
||||
|
Loading…
x
Reference in New Issue
Block a user