mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 838394: Remove redundant/unnecessary NS_WARNING in nsMixedContentBlocker::ShouldLoad, and replace MOZ_NOT_REACHED with MOZ_ASSERT(false) to get defined behavior. r=tanvi r=smaug
This commit is contained in:
parent
6a5b2190b0
commit
e71824c407
@ -262,8 +262,7 @@ nsMixedContentBlocker::ShouldLoad(uint32_t aContentType,
|
||||
|
||||
// This content policy works as a whitelist.
|
||||
default:
|
||||
MOZ_NOT_REACHED("Mixed content of unknown type");
|
||||
NS_WARNING("Mixed content of unknown type");
|
||||
MOZ_ASSERT(false, "Mixed content of unknown type");
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user