зеркало из https://github.com/mozilla/pjs.git
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
This commit is contained in:
Родитель
f52e78b28f
Коммит
fae339dc41
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче