mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 22:04:36 +00:00
need this error check... part of patch for bug 86486, r=adamlock, sr=darin
This commit is contained in:
parent
2cae038dd3
commit
ae40bce0d7
@ -5174,8 +5174,8 @@ nsDocShell::DoURILoad(nsIURI * aURI,
|
|||||||
// handling the load, though, so we fire a notification
|
// handling the load, though, so we fire a notification
|
||||||
// before throwing the load away.
|
// before throwing the load away.
|
||||||
PRBool abort = PR_FALSE;
|
PRBool abort = PR_FALSE;
|
||||||
mContentListener->OnStartURIOpen(aURI, &abort);
|
nsresult rv2 = mContentListener->OnStartURIOpen(aURI, &abort);
|
||||||
if (abort) {
|
if (NS_SUCCEEDED(rv2) && abort) {
|
||||||
// Hey, they're handling the load for us! How convenient!
|
// Hey, they're handling the load for us! How convenient!
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user