diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-30 23:48:06 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-30 23:48:06 +0200 |
commit | b3a9d03344cfc41f3b3fac47e955bb2e82d4af24 (patch) | |
tree | 92500cfe900a31821174e935293fd5673db31225 /docshell/shistory/nsSHEntry.cpp | |
parent | ecea4c51dc68427e4361a5d7204a7ca4ad9f8c4d (diff) | |
download | UXP-b3a9d03344cfc41f3b3fac47e955bb2e82d4af24.tar UXP-b3a9d03344cfc41f3b3fac47e955bb2e82d4af24.tar.gz UXP-b3a9d03344cfc41f3b3fac47e955bb2e82d4af24.tar.lz UXP-b3a9d03344cfc41f3b3fac47e955bb2e82d4af24.tar.xz UXP-b3a9d03344cfc41f3b3fac47e955bb2e82d4af24.zip |
Bug 1334875 - Temporarily remove assertion that history loads pass a valid triggeringprincipal
Diffstat (limited to 'docshell/shistory/nsSHEntry.cpp')
-rw-r--r-- | docshell/shistory/nsSHEntry.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/docshell/shistory/nsSHEntry.cpp b/docshell/shistory/nsSHEntry.cpp index 9d8bf5096..6b0b066d9 100644 --- a/docshell/shistory/nsSHEntry.cpp +++ b/docshell/shistory/nsSHEntry.cpp @@ -518,10 +518,6 @@ nsSHEntry::GetTriggeringPrincipal(nsIPrincipal** aTriggeringPrincipal) NS_IMETHODIMP nsSHEntry::SetTriggeringPrincipal(nsIPrincipal* aTriggeringPrincipal) { - MOZ_ASSERT(aTriggeringPrincipal, "need a valid triggeringPrincipal"); - if (!aTriggeringPrincipal) { - return NS_ERROR_FAILURE; - } mShared->mTriggeringPrincipal = aTriggeringPrincipal; return NS_OK; } |