Bug 1228342 - initialize mTainting by all constructors. r=bkelly

This commit is contained in:
Bogdan Postelnicu 2015-12-02 00:43:00 +01:00
parent 1763cc46a7
commit 7ba715fe82

View File

@ -142,6 +142,7 @@ LoadInfo::LoadInfo(nsIPrincipal* aLoadingPrincipal,
, mInitialSecurityCheckDone(aInitialSecurityCheckDone)
, mIsThirdPartyContext(aIsThirdPartyContext)
, mOriginAttributes(aOriginAttributes)
, mTainting(LoadTainting::Basic)
{
MOZ_ASSERT(mLoadingPrincipal);
MOZ_ASSERT(mTriggeringPrincipal);