Better error checking in QaUtils and webProgLstnr methods. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@132552 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -253,17 +253,10 @@ NS_IMETHODIMP CBrowserImpl::OnLocationChange(nsIWebProgress* aWebProgress,
|
||||
|
||||
QAOutput("Entering nsIWebProgLstnr::OnLocationChange().");
|
||||
|
||||
nsresult rv;
|
||||
nsCAutoString uriString;
|
||||
rv = location->GetSpec(uriString);
|
||||
if (NS_FAILED(rv))
|
||||
QAOutput("Bad result for GetSpec().");
|
||||
else
|
||||
QAOutput("Good result for GetSpec().");
|
||||
|
||||
FormatAndPrintOutput("OnLocationChange(): The location url = ", uriString, 1);
|
||||
// test nsIURI parameter
|
||||
GetTheUri(location, 1);
|
||||
|
||||
// RequestName(aRequest, stringMsg); // because of crash bug bugzilla 86521
|
||||
RequestName(aRequest, stringMsg);
|
||||
|
||||
PRBool isSubFrameLoad = PR_FALSE; // Is this a subframe load
|
||||
if (aWebProgress) {
|
||||
|
||||
Reference in New Issue
Block a user