On behalf of zack-weg@gmx.de. Add pointer check to prevent crash on js links. b=173308 r=adamlock@netscape.com sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@143993 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -5004,7 +5004,8 @@ nsDocShell::InternalLoad(nsIURI * aURI,
|
||||
//
|
||||
if (mDisallowPopupWindows) {
|
||||
PRBool bIsChromeOrResource = PR_FALSE;
|
||||
mCurrentURI->SchemeIs("chrome", &bIsChromeOrResource);
|
||||
if (mCurrentURI)
|
||||
mCurrentURI->SchemeIs("chrome", &bIsChromeOrResource);
|
||||
if (!bIsChromeOrResource) {
|
||||
aURI->SchemeIs("chrome", &bIsChromeOrResource);
|
||||
if (!bIsChromeOrResource) {
|
||||
|
||||
Reference in New Issue
Block a user