a=asa for QA checkins that are not part of the default builds.

Removed getAdders for GetSpec() and GetPath(). use nsAutoString.


git-svn-id: svn://10.0.0.236/trunk@116681 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
depstein%netscape.com
2002-03-16 02:31:53 +00:00
parent f396b39b90
commit db136cbcaf
9 changed files with 58 additions and 30 deletions

View File

@@ -253,14 +253,14 @@ NS_IMETHODIMP CBrowserImpl::OnLocationChange(nsIWebProgress* aWebProgress,
QAOutput("Entering nsIWebProgLstnr::OnLocationChange().");
nsresult rv;
char *uriSpec;
rv = location->GetSpec(&uriSpec);
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 = ", uriSpec, 1);
FormatAndPrintOutput("OnLocationChange(): The location url = ", uriString, 1);
// RequestName(aRequest, stringMsg); // because of crash bug bugzilla 86521