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:
Daniel Holbert 2013-02-06 10:23:09 -08:00
parent 6a5b2190b0
commit e71824c407

View File

@ -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;
}