Bug 495078 - Crash [@ NS_GetInnermostURI] with manifest attribute in file as child frame of chrome document, r+sr=biesi

This commit is contained in:
timeless@mozdev.org 2010-04-15 06:48:41 -07:00
parent f61e2208ef
commit 5d8a795fd9

View File

@ -2638,6 +2638,8 @@ nsOfflineCacheUpdateService::OfflineAppAllowedForURI(nsIURI *aURI,
PRBool *aAllowed)
{
*aAllowed = PR_FALSE;
if (!aURI)
return NS_OK;
nsCOMPtr<nsIURI> innerURI = NS_GetInnermostURI(aURI);
if (!innerURI)