Fix for protocol handling dialog throwing exception when a web handler is selected (bug 392957), r=biesi, sr=mconnor, a=bz
git-svn-id: svn://10.0.0.236/trunk@233779 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -818,7 +818,7 @@ nsWebShell::OnLinkClickSync(nsIContent *aContent,
|
||||
PRBool isExposed;
|
||||
nsresult rv = extProtService->IsExposedProtocol(scheme.get(), &isExposed);
|
||||
if (NS_SUCCEEDED(rv) && !isExposed) {
|
||||
return extProtService->LoadUrl(aURI);
|
||||
return extProtService->LoadURI(aURI, this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user