зеркало из https://github.com/mozilla/pjs.git
bug 333267 don't warn if the requesting location is null
r+sr=mscott
This commit is contained in:
Родитель
c9a1c5a1b7
Коммит
a87c87f411
|
@ -236,7 +236,11 @@ nsMsgContentPolicy::ShouldLoad(PRUint32 aContentType,
|
|||
*aDecision = nsIContentPolicy::ACCEPT;
|
||||
|
||||
NS_ENSURE_ARG_POINTER(aContentLocation);
|
||||
NS_ENSURE_ARG_POINTER(aRequestingLocation);
|
||||
|
||||
// NOTE: Not using NS_ENSURE_ARG_POINTER because this is a legitimate case
|
||||
// that can happen, and it shouldn't print a warning message.
|
||||
if (!aRequestingLocation)
|
||||
return NS_ERROR_INVALID_POINTER;
|
||||
|
||||
#ifndef MOZ_THUNDERBIRD
|
||||
// Go find out if we are dealing with mailnews. Anything else
|
||||
|
|
Загрузка…
Ссылка в новой задаче